488 lines
12 KiB
CSS
488 lines
12 KiB
CSS
@font-face {
|
|
font-family: "Sherwood";
|
|
src: url("../assets/fonts/Sherwood.otf") format("opentype"), url("../assets/fonts/SHERWOOD.TTF") format("truetype"), url("../assets/fonts/Sherwood.woff") format("woff");
|
|
}
|
|
@font-face {
|
|
font-family: "BlueDragon";
|
|
src: url("../assets/fonts/Blue Dragon.ttf") format("truetype");
|
|
}
|
|
:root {
|
|
--oh-font-primary: "Sherwood", "Palatino Linotype", serif;
|
|
--oh-font-secondary: "BlueDragon", "Palatino Linotype", serif;
|
|
--oh-font-body: "Calibri", "Segoe UI", sans-serif;
|
|
--oh-font-size: 0.82rem;
|
|
--oh-color-blue: #084a74;
|
|
--oh-color-olive: #535128;
|
|
--oh-color-gold: #c8a84b;
|
|
--oh-color-dark: #2a1a0a;
|
|
--oh-color-paper: #f5ead0;
|
|
--oh-background-image: url("../assets/ui/oath_hammer_paper.webp");
|
|
--oh-logo: url("../assets/logos/official_logo_01.webp");
|
|
}
|
|
.application.dialog.oathhammer {
|
|
font-family: "Calibri", "Segoe UI", sans-serif;
|
|
font-size: 0.82rem;
|
|
background-image: var(--oh-background-image);
|
|
background-repeat: no-repeat;
|
|
background-size: 100% 100%;
|
|
}
|
|
.oathhammer .character-content,
|
|
.oathhammer .npc-content {
|
|
font-family: "Calibri", "Segoe UI", sans-serif;
|
|
font-size: 0.82rem;
|
|
color: var(--color-dark-1);
|
|
background-image: var(--oh-background-image);
|
|
background-repeat: no-repeat;
|
|
background-size: 100% 100%;
|
|
overflow: auto;
|
|
padding: 10px 20px;
|
|
}
|
|
.oathhammer .character-content nav.tabs [data-tab],
|
|
.oathhammer .npc-content nav.tabs [data-tab] {
|
|
color: #535128;
|
|
}
|
|
.oathhammer .character-content nav.tabs [data-tab].active,
|
|
.oathhammer .npc-content nav.tabs [data-tab].active {
|
|
color: #084a74;
|
|
}
|
|
.oathhammer .character-content input:disabled,
|
|
.oathhammer .npc-content input:disabled,
|
|
.oathhammer .character-content select:disabled,
|
|
.oathhammer .npc-content select:disabled {
|
|
background-color: rgba(0, 0, 0, 0.08);
|
|
border-color: transparent;
|
|
color: var(--color-dark-3);
|
|
}
|
|
.oathhammer .character-content input,
|
|
.oathhammer .npc-content input,
|
|
.oathhammer .character-content select,
|
|
.oathhammer .npc-content select {
|
|
height: 1.5rem;
|
|
background-color: rgba(255, 255, 255, 0.3);
|
|
border-color: #084a74;
|
|
color: #2a1a0a;
|
|
}
|
|
.oathhammer .character-content input[name="name"],
|
|
.oathhammer .npc-content input[name="name"] {
|
|
height: 2.5rem;
|
|
font-family: "Sherwood", "Palatino Linotype", serif;
|
|
font-size: calc(0.82rem * 1.2);
|
|
font-weight: bold;
|
|
border: none;
|
|
border-bottom: 2px solid #084a74;
|
|
background: transparent;
|
|
}
|
|
.oathhammer .character-content fieldset,
|
|
.oathhammer .npc-content fieldset {
|
|
margin-bottom: 4px;
|
|
border-radius: 4px;
|
|
border-color: #535128;
|
|
}
|
|
.oathhammer .character-content legend,
|
|
.oathhammer .npc-content legend {
|
|
font-family: "BlueDragon", "Palatino Linotype", serif;
|
|
font-size: calc(0.82rem * 1.1);
|
|
font-weight: bold;
|
|
letter-spacing: 1px;
|
|
color: #084a74;
|
|
}
|
|
.oathhammer .character-content label,
|
|
.oathhammer .npc-content label {
|
|
font-family: "BlueDragon", "Palatino Linotype", serif;
|
|
font-size: 0.82rem;
|
|
color: #2a1a0a;
|
|
}
|
|
.oathhammer .tab {
|
|
padding: 4px;
|
|
}
|
|
.oathhammer .skills-container {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 8px;
|
|
}
|
|
.oathhammer .skills-container .skills-group {
|
|
margin: 0;
|
|
}
|
|
.oathhammer .skills-container .skills-group legend .attr-rank {
|
|
font-family: "Calibri", "Segoe UI", sans-serif;
|
|
font-size: calc(0.82rem * 0.85);
|
|
color: #535128;
|
|
}
|
|
.oathhammer .skills-container .skills-header,
|
|
.oathhammer .skills-container .skill-row {
|
|
display: grid;
|
|
grid-template-columns: 1fr 3rem 3rem;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
.oathhammer .skills-container .skills-header {
|
|
font-family: "BlueDragon", "Palatino Linotype", serif;
|
|
font-size: calc(0.82rem * 0.85);
|
|
font-weight: bold;
|
|
color: #084a74;
|
|
border-bottom: 1px solid #535128;
|
|
margin-bottom: 2px;
|
|
padding-bottom: 2px;
|
|
}
|
|
.oathhammer .skills-container .skill-row {
|
|
margin-bottom: 2px;
|
|
}
|
|
.oathhammer .skills-container .skill-row label.skill-name-col {
|
|
font-size: calc(0.82rem * 0.85);
|
|
}
|
|
.oathhammer .skills-container .skill-row .skill-rank-col input {
|
|
text-align: center;
|
|
}
|
|
.oathhammer .skills-container .skill-row .skill-total {
|
|
text-align: center;
|
|
font-weight: bold;
|
|
color: #084a74;
|
|
}
|
|
.oathhammer .actor-img {
|
|
height: 150px;
|
|
width: auto;
|
|
border: 2px solid #084a74;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
-o-object-fit: cover;
|
|
object-fit: cover;
|
|
}
|
|
.oathhammer .character-main {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
.oathhammer .character-main .character-pc {
|
|
display: flex;
|
|
gap: 10px;
|
|
flex: 1;
|
|
}
|
|
.oathhammer .character-main .character-left {
|
|
min-width: 180px;
|
|
max-width: 180px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
.oathhammer .character-main .character-portrait {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
.oathhammer .character-main .character-resource {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: nowrap;
|
|
gap: 4px;
|
|
margin-bottom: 2px;
|
|
}
|
|
.oathhammer .character-main .character-resource div.form-group {
|
|
display: contents;
|
|
}
|
|
.oathhammer .character-main .character-resource input {
|
|
min-width: 2.5rem;
|
|
max-width: 2.5rem;
|
|
text-align: center;
|
|
}
|
|
.oathhammer .character-main .resource-label {
|
|
min-width: 3.5rem;
|
|
font-family: "BlueDragon", "Palatino Linotype", serif;
|
|
font-size: calc(0.82rem * 0.9);
|
|
}
|
|
.oathhammer .character-main .character-right {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
.oathhammer .character-main .character-name {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
.oathhammer .character-main .character-name input {
|
|
flex: 1;
|
|
}
|
|
.oathhammer .attributes-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(6, 1fr);
|
|
gap: 4px;
|
|
}
|
|
.oathhammer .attribute-box {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 2px;
|
|
}
|
|
.oathhammer .attribute-box label {
|
|
font-family: "BlueDragon", "Palatino Linotype", serif;
|
|
font-size: calc(0.82rem * 0.85);
|
|
text-align: center;
|
|
}
|
|
.oathhammer .attribute-box input {
|
|
width: 2.5rem;
|
|
text-align: center;
|
|
font-size: calc(0.82rem * 1.1);
|
|
}
|
|
.oathhammer .currency-bar {
|
|
margin-top: 4px;
|
|
}
|
|
.oathhammer .currency-bar .currency-item {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 2px;
|
|
flex: 1;
|
|
}
|
|
.oathhammer .currency-bar .currency-item input {
|
|
width: 4rem;
|
|
text-align: center;
|
|
}
|
|
.oathhammer .identity-lineage-class {
|
|
gap: 8px;
|
|
margin-bottom: 8px;
|
|
}
|
|
.oathhammer .identity-lineage-class .item-slot {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 6px 8px;
|
|
border: 2px solid #c8a84b;
|
|
border-radius: 4px;
|
|
background: rgba(212, 160, 23, 0.08);
|
|
min-height: 40px;
|
|
}
|
|
.oathhammer .identity-lineage-class .item-slot.empty {
|
|
border-style: dashed;
|
|
opacity: 0.7;
|
|
cursor: default;
|
|
}
|
|
.oathhammer .identity-lineage-class .item-slot.empty .slot-icon {
|
|
font-size: 1.2rem;
|
|
color: #c8a84b;
|
|
}
|
|
.oathhammer .identity-lineage-class .item-slot.empty .slot-placeholder {
|
|
font-family: "Calibri", "Segoe UI", sans-serif;
|
|
font-style: italic;
|
|
color: #c8a84b;
|
|
font-size: 0.9rem;
|
|
}
|
|
.oathhammer .identity-lineage-class .item-slot .item-img {
|
|
width: 32px;
|
|
height: 32px;
|
|
-o-object-fit: contain;
|
|
object-fit: contain;
|
|
border: none;
|
|
flex-shrink: 0;
|
|
}
|
|
.oathhammer .identity-lineage-class .item-slot .item-name {
|
|
flex: 1;
|
|
font-family: "Sherwood", "Palatino Linotype", serif;
|
|
font-size: 1rem;
|
|
color: #2a1a0a;
|
|
}
|
|
.oathhammer .identity-lineage-class .item-slot a[data-action] {
|
|
color: #c8a84b;
|
|
}
|
|
.oathhammer .identity-lineage-class .item-slot a[data-action]:hover {
|
|
color: #084a74;
|
|
}
|
|
.oathhammer .biodata-col {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
.oathhammer .character-arcane-stress .flexrow {
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
.oathhammer .character-arcane-stress input {
|
|
min-width: 3rem;
|
|
max-width: 3rem;
|
|
text-align: center;
|
|
}
|
|
.oathhammer .defense-display {
|
|
min-width: 3rem;
|
|
max-width: 3rem;
|
|
text-align: center;
|
|
font-weight: bold;
|
|
}
|
|
.oathhammer .npc-main .npc-left {
|
|
min-width: 160px;
|
|
max-width: 160px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
.oathhammer .npc-main .npc-right {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
.oathhammer .item-list {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
.oathhammer .item-entry {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 3px 4px;
|
|
border-bottom: 1px solid rgba(83, 81, 40, 0.2);
|
|
}
|
|
.oathhammer .item-entry:hover {
|
|
background-color: rgba(8, 74, 116, 0.08);
|
|
}
|
|
.oathhammer .item-entry .item-img {
|
|
height: 24px;
|
|
width: 24px;
|
|
border: 1px solid #535128;
|
|
border-radius: 2px;
|
|
-o-object-fit: cover;
|
|
object-fit: cover;
|
|
}
|
|
.oathhammer .item-entry .item-name {
|
|
flex: 1;
|
|
font-family: "Calibri", "Segoe UI", sans-serif;
|
|
font-size: 0.82rem;
|
|
}
|
|
.oathhammer .item-entry .item-detail {
|
|
font-size: calc(0.82rem * 0.9);
|
|
color: #535128;
|
|
min-width: 4rem;
|
|
text-align: center;
|
|
}
|
|
.oathhammer .item-entry .item-type {
|
|
font-size: calc(0.82rem * 0.85);
|
|
color: #084a74;
|
|
min-width: 6rem;
|
|
}
|
|
.oathhammer .item-entry a {
|
|
opacity: 0.6;
|
|
transition: opacity 0.2s;
|
|
}
|
|
.oathhammer .item-entry a:hover {
|
|
opacity: 1;
|
|
}
|
|
.oathhammer .item-entry a:hover {
|
|
color: #084a74;
|
|
}
|
|
.oathhammer .no-items {
|
|
color: var(--color-dark-5);
|
|
font-style: italic;
|
|
font-size: calc(0.82rem * 0.9);
|
|
padding: 4px;
|
|
}
|
|
.oathhammer .create-btn {
|
|
margin-left: 6px;
|
|
color: #084a74;
|
|
opacity: 0.6;
|
|
transition: opacity 0.2s;
|
|
}
|
|
.oathhammer .create-btn:hover {
|
|
opacity: 1;
|
|
}
|
|
.oathhammer .item-sheet-common {
|
|
overflow: auto;
|
|
padding: 10px 20px;
|
|
font-family: "Calibri", "Segoe UI", sans-serif;
|
|
font-size: 0.82rem;
|
|
background-image: var(--oh-background-image);
|
|
background-repeat: no-repeat;
|
|
background-size: 100% 100%;
|
|
}
|
|
.oathhammer .item-sheet-common .header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-bottom: 8px;
|
|
padding-bottom: 4px;
|
|
border-bottom: 2px solid #084a74;
|
|
}
|
|
.oathhammer .item-sheet-common .header input[name="name"] {
|
|
font-family: "Sherwood", "Palatino Linotype", serif;
|
|
}
|
|
.oathhammer .item-sheet-common .item-img {
|
|
height: 52px;
|
|
width: 52px;
|
|
border: 2px solid #535128;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
-o-object-fit: cover;
|
|
object-fit: cover;
|
|
}
|
|
.oathhammer .item-sheet-common input:not([type="checkbox"]),
|
|
.oathhammer .item-sheet-common select {
|
|
height: 1.5rem;
|
|
background-color: rgba(255, 255, 255, 0.3);
|
|
border-color: #084a74;
|
|
color: #2a1a0a;
|
|
}
|
|
.oathhammer .item-sheet-common input[type="checkbox"] {
|
|
width: auto;
|
|
height: auto;
|
|
background-color: transparent;
|
|
border-color: #084a74;
|
|
}
|
|
.oathhammer .item-sheet-common input[name="name"] {
|
|
height: 2.5rem;
|
|
font-family: "Sherwood", "Palatino Linotype", serif;
|
|
font-size: calc(0.82rem * 1.2);
|
|
font-weight: bold;
|
|
border: none;
|
|
border-bottom: 2px solid #084a74;
|
|
background: transparent;
|
|
}
|
|
.oathhammer .item-sheet-common label {
|
|
font-family: "BlueDragon", "Palatino Linotype", serif;
|
|
font-size: 0.82rem;
|
|
color: #2a1a0a;
|
|
}
|
|
.oathhammer .item-sheet-common .form-group {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
gap: 6px;
|
|
margin-bottom: 4px;
|
|
}
|
|
.oathhammer .item-sheet-common .form-group > label {
|
|
flex: 0 0 8rem;
|
|
font-family: "BlueDragon", "Palatino Linotype", serif;
|
|
font-size: 0.82rem;
|
|
color: #2a1a0a;
|
|
}
|
|
.oathhammer .item-sheet-common .form-group .form-fields {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
.oathhammer .item-sheet-common .form-group .form-fields input:not([type="checkbox"]),
|
|
.oathhammer .item-sheet-common .form-group .form-fields select {
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
.oathhammer .item-sheet-common .align-top {
|
|
flex: 1;
|
|
min-width: 0;
|
|
align-self: flex-start;
|
|
padding: 0 0.3rem;
|
|
}
|
|
.oathhammer .item-sheet-common .shift-right {
|
|
margin-left: 2rem;
|
|
}
|
|
.oathhammer .item-sheet-common fieldset {
|
|
margin-top: 6px;
|
|
border-color: #535128;
|
|
border-radius: 4px;
|
|
}
|
|
.oathhammer .item-sheet-common legend {
|
|
font-family: "BlueDragon", "Palatino Linotype", serif;
|
|
font-size: calc(0.82rem * 1.1);
|
|
font-weight: bold;
|
|
color: #084a74;
|
|
}
|