Fix weapon sheet

This commit is contained in:
2026-03-08 14:48:49 +01:00
parent 317c4990bc
commit 31318317a7
14 changed files with 135 additions and 61 deletions

View File

@@ -10,7 +10,7 @@
--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-font-size: 0.86rem;
--oh-color-blue: #084a74;
--oh-color-olive: #535128;
--oh-color-gold: #c8a84b;
@@ -21,7 +21,7 @@
}
.application.dialog.oathhammer {
font-family: "Calibri", "Segoe UI", sans-serif;
font-size: 0.82rem;
font-size: 0.86rem;
background-image: var(--oh-background-image);
background-repeat: no-repeat;
background-size: 100% 100%;
@@ -29,7 +29,7 @@
.oathhammer .character-content,
.oathhammer .npc-content {
font-family: "Calibri", "Segoe UI", sans-serif;
font-size: 0.82rem;
font-size: 0.86rem;
color: var(--color-dark-1);
background-image: var(--oh-background-image);
background-repeat: no-repeat;
@@ -66,7 +66,7 @@
.oathhammer .npc-content input[name="name"] {
height: 2.5rem;
font-family: "Sherwood", "Palatino Linotype", serif;
font-size: calc(0.82rem * 1.2);
font-size: calc(0.86rem * 1.2);
font-weight: bold;
border: none;
border-bottom: 2px solid #084a74;
@@ -81,7 +81,7 @@
.oathhammer .character-content legend,
.oathhammer .npc-content legend {
font-family: "BlueDragon", "Palatino Linotype", serif;
font-size: calc(0.82rem * 1.1);
font-size: calc(0.86rem * 1.1);
font-weight: bold;
letter-spacing: 1px;
color: #084a74;
@@ -89,7 +89,7 @@
.oathhammer .character-content label,
.oathhammer .npc-content label {
font-family: "BlueDragon", "Palatino Linotype", serif;
font-size: 0.82rem;
font-size: 0.86rem;
color: #2a1a0a;
}
.oathhammer .tab {
@@ -105,7 +105,7 @@
}
.oathhammer .skills-container .skills-group legend .attr-rank {
font-family: "Calibri", "Segoe UI", sans-serif;
font-size: calc(0.82rem * 0.85);
font-size: calc(0.86rem * 0.85);
color: #535128;
}
.oathhammer .skills-container .skills-header,
@@ -117,7 +117,7 @@
}
.oathhammer .skills-container .skills-header {
font-family: "BlueDragon", "Palatino Linotype", serif;
font-size: calc(0.82rem * 0.85);
font-size: calc(0.86rem * 0.85);
font-weight: bold;
color: #084a74;
border-bottom: 1px solid #535128;
@@ -134,13 +134,13 @@
margin-bottom: 2px;
}
.oathhammer .skills-container .skill-row label.skill-name-col {
font-size: calc(0.82rem * 0.85);
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.82rem * 0.85);
font-size: calc(0.86rem * 0.85);
padding: 1px 2px;
}
.oathhammer .skills-container .skill-row .skill-color-col {
@@ -167,14 +167,14 @@
}
.oathhammer .skills-container .skill-row .skill-color-col .color-dice-select {
flex: 1;
font-size: calc(0.82rem * 0.85);
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.82rem * 0.85);
font-size: calc(0.86rem * 0.85);
padding: 1px 2px;
flex-shrink: 0;
}
@@ -228,7 +228,7 @@
.oathhammer .character-main .character-name input {
flex: 1;
font-family: "Sherwood", "Palatino Linotype", serif;
font-size: calc(0.82rem * 1.1);
font-size: calc(0.86rem * 1.1);
}
.oathhammer .character-main .character-identity-bar {
display: flex;
@@ -245,7 +245,7 @@
border: 1px solid #535128;
border-radius: 3px;
background: rgba(0, 0, 0, 0.15);
font-size: calc(0.82rem * 0.85);
font-size: calc(0.86rem * 0.85);
min-width: 6rem;
min-height: 1.6rem;
}
@@ -265,17 +265,17 @@
.oathhammer .character-main .character-identity-bar .identity-slot .identity-name {
flex: 1;
font-family: "BlueDragon", "Palatino Linotype", serif;
font-size: calc(0.82rem * 0.85);
font-size: calc(0.86rem * 0.85);
}
.oathhammer .character-main .character-identity-bar .identity-slot .slot-icon {
font-size: calc(0.82rem * 0.85);
font-size: calc(0.86rem * 0.85);
opacity: 0.6;
}
.oathhammer .character-main .character-identity-bar .identity-slot .slot-placeholder {
font-size: calc(0.82rem * 0.85);
font-size: calc(0.86rem * 0.85);
}
.oathhammer .character-main .character-identity-bar .identity-slot a {
font-size: calc(0.82rem * 0.85);
font-size: calc(0.86rem * 0.85);
opacity: 0.7;
}
.oathhammer .character-main .character-identity-bar .identity-slot a:hover {
@@ -286,11 +286,11 @@
align-items: center;
gap: 3px;
margin-left: auto;
font-size: calc(0.82rem * 0.85);
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.82rem * 0.85);
font-size: calc(0.86rem * 0.85);
color: #535128;
margin-left: 4px;
}
@@ -300,7 +300,7 @@
.oathhammer .character-main .character-identity-bar .identity-xp input {
width: 3rem;
text-align: center;
font-size: calc(0.82rem * 0.85);
font-size: calc(0.86rem * 0.85);
padding: 1px 2px;
}
.oathhammer .character-main .character-stats-band {
@@ -332,18 +332,18 @@
.oathhammer .character-main .character-stats-band .character-resources .character-resource input {
width: 2.4rem;
text-align: center;
font-size: calc(0.82rem * 0.85);
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.82rem * 0.9);
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.82rem * 0.9);
color: #535128;
font-size: calc(0.86rem * 0.9);
color: #2a1a0a;
}
.oathhammer .character-main .character-stats-band .character-attributes {
flex: 1;
@@ -365,13 +365,14 @@
}
.oathhammer .attribute-box label {
font-family: "BlueDragon", "Palatino Linotype", serif;
font-size: calc(0.82rem * 0.85);
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.82rem * 1.1);
font-size: calc(0.86rem * 1.1);
}
.oathhammer .currency-bar {
margin-top: 4px;
@@ -492,7 +493,7 @@
border-bottom: 1px solid #535128;
margin-bottom: 2px;
font-family: "BlueDragon", "Palatino Linotype", serif;
font-size: calc(0.82rem * 0.9);
font-size: calc(0.86rem * 0.9);
color: #084a74;
}
.oathhammer .item-list-header span {
@@ -524,14 +525,14 @@
}
.oathhammer .item-entry .item-name {
font-family: "Calibri", "Segoe UI", sans-serif;
font-size: 0.82rem;
font-size: 0.86rem;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
min-width: 0;
}
.oathhammer .item-entry .item-detail {
font-size: calc(0.82rem * 0.9);
font-size: calc(0.86rem * 0.9);
color: #535128;
text-align: center;
overflow: hidden;
@@ -539,7 +540,7 @@
white-space: nowrap;
}
.oathhammer .item-entry .item-type {
font-size: calc(0.82rem * 0.9);
font-size: calc(0.86rem * 0.9);
color: #084a74;
text-align: center;
overflow: hidden;
@@ -566,7 +567,7 @@
.oathhammer .item-entry .item-actions a {
opacity: 0.6;
transition: opacity 0.2s;
font-size: calc(0.82rem * 0.85);
font-size: calc(0.86rem * 0.85);
}
.oathhammer .item-entry .item-actions a:hover {
opacity: 1;
@@ -617,7 +618,7 @@
.oathhammer .no-items {
color: var(--color-dark-5);
font-style: italic;
font-size: calc(0.82rem * 0.9);
font-size: calc(0.86rem * 0.9);
padding: 4px;
}
.oathhammer .create-btn {
@@ -633,7 +634,7 @@
overflow: auto;
padding: 10px 20px;
font-family: "Calibri", "Segoe UI", sans-serif;
font-size: 0.82rem;
font-size: 0.86rem;
background-image: var(--oh-background-image);
background-repeat: no-repeat;
background-size: 100% 100%;
@@ -674,7 +675,7 @@
.oathhammer .item-sheet-common input[name="name"] {
height: 2.5rem;
font-family: "Sherwood", "Palatino Linotype", serif;
font-size: calc(0.82rem * 1.2);
font-size: calc(0.86rem * 1.2);
font-weight: bold;
border: none;
border-bottom: 2px solid #084a74;
@@ -682,7 +683,7 @@
}
.oathhammer .item-sheet-common label {
font-family: "BlueDragon", "Palatino Linotype", serif;
font-size: 0.82rem;
font-size: 0.86rem;
color: #2a1a0a;
}
.oathhammer .item-sheet-common .form-group {
@@ -695,7 +696,7 @@
.oathhammer .item-sheet-common .form-group > label {
flex: 0 0 8rem;
font-family: "BlueDragon", "Palatino Linotype", serif;
font-size: 0.82rem;
font-size: 0.86rem;
color: #2a1a0a;
}
.oathhammer .item-sheet-common .form-group .form-fields {
@@ -723,7 +724,7 @@
}
.oathhammer .item-sheet-common legend {
font-family: "BlueDragon", "Palatino Linotype", serif;
font-size: calc(0.82rem * 1.1);
font-size: calc(0.86rem * 1.1);
font-weight: bold;
color: #084a74;
}