Files
fvtt-oath-hammer/css/fvtt-oath-hammer.css

961 lines
26 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.86rem;
--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.86rem;
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.86rem;
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.86rem * 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.86rem * 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.86rem;
color: #2a1a0a;
}
.oathhammer .tab {
padding: 4px;
}
.oathhammer prose-mirror {
color: #2a1a0a !important;
background: transparent;
}
.oathhammer prose-mirror.inactive,
.oathhammer prose-mirror[toggled] {
color: #2a1a0a !important;
}
.oathhammer .editor-content,
.oathhammer .prosemirror .editor-content,
.oathhammer prose-mirror .editor-content {
color: #2a1a0a !important;
background: transparent;
}
.oathhammer .editor-content p,
.oathhammer .prosemirror .editor-content p,
.oathhammer prose-mirror .editor-content p,
.oathhammer .editor-content li,
.oathhammer .prosemirror .editor-content li,
.oathhammer prose-mirror .editor-content li,
.oathhammer .editor-content span,
.oathhammer .prosemirror .editor-content span,
.oathhammer prose-mirror .editor-content span,
.oathhammer .editor-content div,
.oathhammer .prosemirror .editor-content div,
.oathhammer prose-mirror .editor-content div,
.oathhammer .editor-content blockquote,
.oathhammer .prosemirror .editor-content blockquote,
.oathhammer prose-mirror .editor-content blockquote,
.oathhammer .editor-content h1,
.oathhammer .prosemirror .editor-content h1,
.oathhammer prose-mirror .editor-content h1,
.oathhammer .editor-content h2,
.oathhammer .prosemirror .editor-content h2,
.oathhammer prose-mirror .editor-content h2,
.oathhammer .editor-content h3,
.oathhammer .prosemirror .editor-content h3,
.oathhammer prose-mirror .editor-content h3,
.oathhammer .editor-content h4,
.oathhammer .prosemirror .editor-content h4,
.oathhammer prose-mirror .editor-content h4,
.oathhammer .editor-content h5,
.oathhammer .prosemirror .editor-content h5,
.oathhammer prose-mirror .editor-content h5,
.oathhammer .editor-content h6,
.oathhammer .prosemirror .editor-content h6,
.oathhammer prose-mirror .editor-content h6 {
color: #2a1a0a !important;
}
.oathhammer .editor-content a,
.oathhammer .prosemirror .editor-content a,
.oathhammer prose-mirror .editor-content a {
color: #084a74;
}
.oathhammer .ProseMirror,
.oathhammer .prosemirror .editor-container .ProseMirror {
color: #2a1a0a !important;
background-color: rgba(245, 234, 208, 0.6);
border: 1px solid #084a74;
border-radius: 3px;
padding: 4px 6px;
min-height: 4rem;
}
.oathhammer .ProseMirror p,
.oathhammer .prosemirror .editor-container .ProseMirror p,
.oathhammer .ProseMirror li,
.oathhammer .prosemirror .editor-container .ProseMirror li,
.oathhammer .ProseMirror span,
.oathhammer .prosemirror .editor-container .ProseMirror span {
color: #2a1a0a !important;
}
.oathhammer .ProseMirror a,
.oathhammer .prosemirror .editor-container .ProseMirror a {
color: #084a74;
}
.oathhammer .ProseMirror.ProseMirror-empty::before,
.oathhammer .prosemirror .editor-container .ProseMirror.ProseMirror-empty::before {
color: rgba(42, 26, 10, 0.45);
}
.oathhammer .editor-toolbar {
background: rgba(8, 74, 116, 0.1);
border-bottom: 1px solid #535128;
}
.oathhammer .editor-toolbar .control-icon,
.oathhammer .editor-toolbar button {
color: #084a74;
}
.oathhammer .editor-toolbar .control-icon:hover,
.oathhammer .editor-toolbar button:hover {
color: #2a1a0a;
background: rgba(200, 168, 75, 0.2);
}
.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.86rem * 0.85);
color: #535128;
}
.oathhammer .skills-container .skills-header,
.oathhammer .skills-container .skill-row {
display: grid;
grid-template-columns: 1fr 2.5rem 2.5rem 2.5rem 5.5rem;
align-items: center;
gap: 4px;
}
.oathhammer .skills-container .skills-header {
font-family: "BlueDragon", "Palatino Linotype", serif;
font-size: calc(0.86rem * 0.85);
font-weight: bold;
color: #084a74;
border-bottom: 1px solid #535128;
margin-bottom: 2px;
padding-bottom: 2px;
}
.oathhammer .skills-container .skills-header span {
text-align: center;
}
.oathhammer .skills-container .skills-header .skill-name-col {
text-align: left;
}
.oathhammer .skills-container .skill-row {
margin-bottom: 2px;
}
.oathhammer .skills-container .skill-row label.skill-name-col {
font-size: calc(0.86rem * 0.85);
}
.oathhammer .skills-container .skill-row .skill-rank-col select,
.oathhammer .skills-container .skill-row .skill-modifier-col input {
width: 100%;
text-align: center;
font-size: calc(0.86rem * 0.85);
padding: 1px 2px;
}
.oathhammer .skills-container .skill-row .skill-color-col {
display: flex;
align-items: center;
gap: 2px;
}
.oathhammer .skills-container .skill-row .skill-color-col .color-dice-dot {
display: inline-block;
width: 8px;
height: 8px;
border-radius: 50%;
flex-shrink: 0;
border: 1px solid rgba(0, 0, 0, 0.3);
}
.oathhammer .skills-container .skill-row .skill-color-col .color-dice-dot.color-dice-white {
background: #f0f0f0;
}
.oathhammer .skills-container .skill-row .skill-color-col .color-dice-dot.color-dice-red {
background: #d9534f;
}
.oathhammer .skills-container .skill-row .skill-color-col .color-dice-dot.color-dice-black {
background: #222;
}
.oathhammer .skills-container .skill-row .skill-color-col .color-dice-select {
flex: 1;
font-size: calc(0.86rem * 0.85);
padding: 1px 1px;
min-width: 0;
}
.oathhammer .skills-container .skill-row .skill-color-col input[type="number"] {
width: 2.2rem;
text-align: center;
font-size: calc(0.86rem * 0.85);
padding: 1px 2px;
flex-shrink: 0;
}
.oathhammer .skills-container .skill-row .skill-total {
text-align: center;
font-weight: bold;
color: #084a74;
}
.application.oathhammer {
border: 2px solid #c8a84b;
border-radius: 6px;
box-shadow: 0 0 0 1px #2a1a0a, 0 4px 24px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(200, 168, 75, 0.3);
outline: none;
}
.application.oathhammer > header.window-header {
background: linear-gradient(to bottom, #0b629a 0%, #084a74 40%, #052c44 100%);
border-bottom: 2px solid #c8a84b;
border-radius: 4px 4px 0 0;
padding: 4px 8px;
min-height: 32px;
display: flex;
align-items: center;
gap: 6px;
}
.application.oathhammer > header.window-header::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
height: 2px;
background: linear-gradient(to right, transparent, rgba(200, 168, 75, 0.7) 20%, #c8a84b 50%, rgba(200, 168, 75, 0.7) 80%, transparent);
border-radius: 4px 4px 0 0;
pointer-events: none;
}
.application.oathhammer > header.window-header .window-icon,
.application.oathhammer > header.window-header img.header-icon {
width: 22px;
height: 22px;
border: 1px solid #c8a84b;
border-radius: 3px;
-o-object-fit: cover;
object-fit: cover;
flex-shrink: 0;
opacity: 0.9;
}
.application.oathhammer > header.window-header .window-title {
font-family: "Sherwood", "Palatino Linotype", serif;
font-size: 1.05rem;
font-weight: normal;
color: #c8a84b;
text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8), 0 0 8px rgba(200, 168, 75, 0.4);
letter-spacing: 0.04em;
flex: 1;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.application.oathhammer > header.window-header .header-control,
.application.oathhammer > header.window-header .close,
.application.oathhammer > header.window-header button.header-control {
color: rgba(200, 168, 75, 0.7);
background: transparent;
border: none;
padding: 2px 4px;
border-radius: 3px;
transition: color 0.15s, background 0.15s;
font-size: 0.9rem;
cursor: pointer;
flex-shrink: 0;
}
.application.oathhammer > header.window-header .header-control:hover,
.application.oathhammer > header.window-header .close:hover,
.application.oathhammer > header.window-header button.header-control:hover {
color: #c8a84b;
background: rgba(42, 26, 10, 0.4);
}
.application.oathhammer > .window-content {
border-radius: 0 0 4px 4px;
}
.oathhammer .actor-img {
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;
align-items: flex-start;
flex: 1;
}
.oathhammer .character-main .character-portrait {
flex-shrink: 0;
width: 150px;
}
.oathhammer .character-main .character-portrait .actor-img {
width: 150px;
height: 150px;
-o-object-fit: cover;
object-fit: cover;
}
.oathhammer .character-main .character-right {
flex: 1;
display: flex;
flex-direction: column;
gap: 5px;
min-width: 0;
}
.oathhammer .character-main .character-name {
display: flex;
align-items: center;
gap: 4px;
border-bottom: 1px solid #535128;
padding-bottom: 4px;
}
.oathhammer .character-main .character-name input {
flex: 1;
font-family: "Sherwood", "Palatino Linotype", serif;
font-size: calc(0.86rem * 1.1);
}
.oathhammer .character-main .character-identity-bar {
display: flex;
flex-direction: row;
align-items: center;
gap: 6px;
flex-wrap: wrap;
}
.oathhammer .character-main .character-identity-bar .identity-slot {
display: flex;
align-items: center;
gap: 4px;
padding: 2px 6px;
border: 1px solid #535128;
border-radius: 3px;
background: rgba(0, 0, 0, 0.15);
font-size: calc(0.86rem * 0.85);
min-width: 6rem;
min-height: 1.6rem;
}
.oathhammer .character-main .character-identity-bar .identity-slot.empty {
opacity: 0.6;
font-style: italic;
border-style: dashed;
}
.oathhammer .character-main .character-identity-bar .identity-slot .identity-img {
width: 18px;
height: 18px;
-o-object-fit: cover;
object-fit: cover;
border-radius: 2px;
border: none;
}
.oathhammer .character-main .character-identity-bar .identity-slot .identity-name {
flex: 1;
font-family: "BlueDragon", "Palatino Linotype", serif;
font-size: calc(0.86rem * 0.85);
}
.oathhammer .character-main .character-identity-bar .identity-slot .slot-icon {
font-size: calc(0.86rem * 0.85);
opacity: 0.6;
}
.oathhammer .character-main .character-identity-bar .identity-slot .slot-placeholder {
font-size: calc(0.86rem * 0.85);
}
.oathhammer .character-main .character-identity-bar .identity-slot a {
font-size: calc(0.86rem * 0.85);
opacity: 0.7;
}
.oathhammer .character-main .character-identity-bar .identity-slot a:hover {
opacity: 1;
}
.oathhammer .character-main .character-identity-bar .identity-xp {
display: flex;
align-items: center;
gap: 3px;
margin-left: auto;
font-size: calc(0.86rem * 0.85);
}
.oathhammer .character-main .character-identity-bar .identity-xp .xp-label {
font-family: "BlueDragon", "Palatino Linotype", serif;
font-size: calc(0.86rem * 0.85);
color: #535128;
margin-left: 4px;
}
.oathhammer .character-main .character-identity-bar .identity-xp .xp-sep {
opacity: 0.6;
}
.oathhammer .character-main .character-identity-bar .identity-xp input {
width: 3rem;
text-align: center;
font-size: calc(0.86rem * 0.85);
padding: 1px 2px;
}
.oathhammer .character-main .character-stats-band {
display: flex;
align-items: stretch;
gap: 6px;
flex: 1;
}
.oathhammer .character-main .character-stats-band .character-resources {
flex-shrink: 0;
display: flex;
flex-direction: column;
justify-content: space-evenly;
gap: 2px;
padding: 3px 6px;
border: 1px solid #535128;
border-radius: 3px;
background: rgba(0, 0, 0, 0.08);
}
.oathhammer .character-main .character-stats-band .character-resources .character-resource {
display: flex;
align-items: center;
gap: 3px;
white-space: nowrap;
}
.oathhammer .character-main .character-stats-band .character-resources .character-resource div.form-group {
display: contents;
}
.oathhammer .character-main .character-stats-band .character-resources .character-resource input {
width: 2.4rem;
text-align: center;
font-size: calc(0.86rem * 0.85);
padding: 1px 2px;
}
.oathhammer .character-main .character-stats-band .character-resources .character-resource .res-sep {
opacity: 0.5;
font-size: calc(0.86rem * 0.9);
}
.oathhammer .character-main .character-stats-band .character-resources .resource-label {
min-width: 3.8rem;
font-family: "BlueDragon", "Palatino Linotype", serif;
font-size: calc(0.86rem * 0.9);
color: #2a1a0a;
}
.oathhammer .character-main .character-stats-band .character-attributes {
flex: 1;
min-width: 0;
}
.oathhammer .character-main .character-stats-band .character-arcane-stress {
flex-shrink: 0;
}
.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.86rem * 0.85);
color: #2a1a0a;
text-align: center;
}
.oathhammer .attribute-box input {
width: 2.5rem;
text-align: center;
font-size: calc(0.86rem * 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 .stress-inputs {
display: flex;
align-items: center;
justify-content: center;
gap: 4px;
}
.oathhammer .character-arcane-stress div.form-group {
display: contents;
}
.oathhammer .character-arcane-stress input {
width: 2.8rem;
text-align: center;
}
.oathhammer .character-arcane-stress span {
opacity: 0.6;
}
.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-list-header {
display: grid;
align-items: center;
gap: 4px;
padding: 2px 4px 3px;
border-bottom: 1px solid #535128;
margin-bottom: 2px;
font-family: "BlueDragon", "Palatino Linotype", serif;
font-size: calc(0.86rem * 0.9);
color: #084a74;
}
.oathhammer .item-list-header span {
text-align: center;
}
.oathhammer .item-list-header .col-name {
text-align: left;
}
.oathhammer .item-entry {
display: grid;
align-items: center;
gap: 4px;
padding: 2px 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 {
width: 24px;
height: 24px;
border: 1px solid #535128;
border-radius: 2px;
-o-object-fit: cover;
object-fit: cover;
align-self: center;
justify-self: center;
flex-shrink: 0;
}
.oathhammer .item-entry .item-name {
font-family: "Calibri", "Segoe UI", sans-serif;
font-size: 0.86rem;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
min-width: 0;
}
.oathhammer .item-entry .item-detail {
font-size: calc(0.86rem * 0.9);
color: #535128;
text-align: center;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.oathhammer .item-entry .item-group {
font-size: calc(0.86rem * 0.9);
color: #535128;
text-align: center;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.oathhammer .item-entry .item-magic {
text-align: center;
font-size: calc(0.86rem * 0.9);
color: #8e44ad;
}
.oathhammer .item-entry .item-type {
font-size: calc(0.86rem * 0.9);
color: #084a74;
text-align: center;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.oathhammer .item-entry .item-equipped {
display: flex;
align-items: center;
justify-content: center;
}
.oathhammer .item-entry .item-equipped input[type="checkbox"] {
width: 0.95rem;
height: 0.95rem;
cursor: pointer;
margin: 0;
}
.oathhammer .item-entry .item-actions {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 4px;
}
.oathhammer .item-entry .item-actions a {
opacity: 0.6;
transition: opacity 0.2s;
font-size: calc(0.86rem * 0.85);
}
.oathhammer .item-entry .item-actions a:hover {
opacity: 1;
}
.oathhammer .item-entry .item-actions a:hover {
color: #084a74;
}
.oathhammer .item-list--weapon .item-list-header,
.oathhammer .item-list--weapon .item-entry {
grid-template-columns: 24px 1fr 4.5rem 3.5rem 2rem 1.5rem 1.8rem 3.5rem;
}
.oathhammer .item-list--armor .item-list-header,
.oathhammer .item-list--armor .item-entry {
grid-template-columns: 24px 1fr 3.5rem 2.5rem 3.5rem 1.5rem 1.8rem 3.5rem;
}
.oathhammer .item-list--ammo .item-list-header,
.oathhammer .item-list--ammo .item-entry {
grid-template-columns: 24px 1fr 4rem 3.5rem;
}
.oathhammer .item-list--spell .item-list-header,
.oathhammer .item-list--spell .item-entry {
grid-template-columns: 24px 1fr 3rem 6rem 3rem 3.5rem;
}
.oathhammer .item-list--miracle .item-list-header,
.oathhammer .item-list--miracle .item-entry {
grid-template-columns: 24px 1fr 4.5rem 3.5rem;
}
.oathhammer .item-list--equipment .item-list-header,
.oathhammer .item-list--equipment .item-entry {
grid-template-columns: 24px 1fr 5rem 3rem 3.5rem;
}
.oathhammer .item-list--magic-item .item-list-header,
.oathhammer .item-list--magic-item .item-entry {
grid-template-columns: 24px 1fr 5rem 3.5rem;
}
.oathhammer .item-list--condition .item-list-header,
.oathhammer .item-list--condition .item-entry {
grid-template-columns: 24px 1fr 5.5rem 3.5rem;
}
.oathhammer .item-list--trait .item-list-header,
.oathhammer .item-list--trait .item-entry {
grid-template-columns: 24px 1fr 6rem 6rem 3.5rem;
}
.oathhammer .item-list--oath .item-list-header,
.oathhammer .item-list--oath .item-entry {
grid-template-columns: 24px 1fr 7rem 3.5rem 3.5rem;
}
.oathhammer .item-usage {
font-size: calc(0.86rem * 0.9);
color: #535128;
text-align: center;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.oathhammer .item-violated {
text-align: center;
font-size: calc(0.86rem * 0.85);
}
.oathhammer .item-violated i.fa-circle-xmark {
color: #c0392b;
}
.oathhammer .item-violated i.fa-circle-check {
color: #27ae60;
}
.oathhammer .oath--violated {
background-color: rgba(192, 57, 43, 0.08);
}
.oathhammer .oath--violated .item-name {
color: #c0392b;
}
.oathhammer .no-items {
color: var(--color-dark-5);
font-style: italic;
font-size: calc(0.86rem * 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.86rem;
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.86rem * 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.86rem;
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.86rem;
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.86rem * 1.1);
font-weight: bold;
color: #084a74;
}
.oathhammer .item-sheet-common .proficiency-section {
display: flex;
gap: 8px;
margin-top: 8px;
}
.oathhammer .item-sheet-common .proficiency-section .proficiency-fieldset {
flex: 1;
}
.oathhammer .item-sheet-common .proficiency-section .proficiency-checkboxes {
display: flex;
flex-wrap: wrap;
gap: 4px 12px;
padding: 4px 2px;
}
.oathhammer .item-sheet-common .proficiency-section .proficiency-option {
display: flex;
align-items: center;
gap: 4px;
font-family: "Calibri", "Segoe UI", sans-serif;
font-size: 0.86rem;
color: #2a1a0a;
cursor: pointer;
white-space: nowrap;
}
.oathhammer .item-sheet-common .proficiency-section .proficiency-option input[type="checkbox"] {
width: auto;
height: auto;
accent-color: #084a74;
}