Add initiative rolls

This commit is contained in:
2026-03-18 16:51:10 +01:00
parent 000bf348a6
commit b2befe039e
30 changed files with 512 additions and 144 deletions

View File

@@ -430,7 +430,8 @@
.oathhammer .character-main .character-identity-bar .identity-slot .identity-name {
flex: 1;
font-family: "BlueDragon", "Palatino Linotype", serif;
font-size: calc(0.86rem * 0.9);
font-size: 0.86rem;
font-weight: bold;
}
.oathhammer .character-main .character-identity-bar .identity-slot .slot-icon {
font-size: calc(0.86rem * 0.9);
@@ -897,6 +898,44 @@
background: rgba(192, 57, 43, 0.1);
border-color: rgba(192, 57, 43, 0.4);
}
/* Initiative bar */
.initiative-bar {
display: flex;
align-items: center;
gap: 10px;
padding: 4px 6px 6px;
}
.initiative-roll-btn {
display: inline-flex;
align-items: center;
gap: 5px;
padding: 3px 10px;
font-size: calc(0.86rem * 0.9);
font-weight: bold;
color: #2a1a0a;
background: rgba(200, 168, 75, 0.2);
border: 1px solid rgba(200, 168, 75, 0.5);
border-radius: 4px;
cursor: pointer;
text-decoration: none;
text-transform: uppercase;
letter-spacing: 0.04em;
transition: background 0.15s;
}
.initiative-roll-btn:hover {
background: rgba(200, 168, 75, 0.4);
color: #2a1a0a;
}
.initiative-score {
font-size: calc(0.86rem * 0.95);
font-weight: bold;
color: #2a1a0a;
background: rgba(200, 168, 75, 0.15);
border: 1px solid rgba(200, 168, 75, 0.4);
border-radius: 4px;
padding: 2px 10px;
}
.oathhammer .item-sheet-common {
overflow: auto;
padding: 10px 20px;