mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-30 03:40:32 +00:00
499 lines
11 KiB
CSS
499 lines
11 KiB
CSS
:root {
|
|
--parchment: #f5eeda;
|
|
--ink-main: #4a3f35;
|
|
--ink-header: #8c1818;
|
|
--border-color: #c9b7a3;
|
|
--highlight-bg: #eaddc7;
|
|
}
|
|
|
|
.sheet-character {
|
|
font-family: 'Merriweather', serif;
|
|
background-color: var(--parchment);
|
|
color: var(--ink-main);
|
|
margin: 0;
|
|
padding: 1rem;
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
.header-font {
|
|
font-family: 'IM Fell English SC', serif;
|
|
font-weight: normal;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1200px;
|
|
min-width: 905px;
|
|
margin: 0 auto;
|
|
padding: 1.5rem;
|
|
background-color: var(--parchment);
|
|
border: 2px solid var(--border-color);
|
|
box-shadow: 0 0 20px rgba(0,0,0,0.2);
|
|
}
|
|
|
|
.main-title {
|
|
color: var(--ink-header);
|
|
text-align: center;
|
|
font-size: 2.5rem;
|
|
margin-bottom: 1rem;
|
|
border-bottom: 2px solid var(--ink-header);
|
|
padding-bottom: 0.75rem;
|
|
}
|
|
|
|
.grid-container {
|
|
display: grid;
|
|
grid-template-columns: repeat(12, 1fr);
|
|
gap: 1rem;
|
|
}
|
|
|
|
.char-info-box { grid-column: span 5; }
|
|
.top-stats-box { grid-column: span 7; display: flex; justify-content: space-between; align-items: stretch; }
|
|
.char-skills-box { grid-column: span 5; }
|
|
.lore-talents-box { grid-column: span 4; }
|
|
.appearance-coin-box { grid-column: span 3; }
|
|
.weapons-box { grid-column: span 12; }
|
|
.wounds-box { grid-column: span 4; }
|
|
.trappings-box { grid-column: span 4; }
|
|
.contacts-box { grid-column: span 4; }
|
|
.magic-box { grid-column: span 8; }
|
|
.other-characters-box { grid-column: span 4; }
|
|
.spells-box { grid-column: span 12; }
|
|
.grim-portent-box { grid-column: span 6; }
|
|
.exacting-test-box { grid-column: span 6; }
|
|
.clues-insights-box { grid-column: span 6; }
|
|
.favours-owed-box { grid-column: span 6; }
|
|
.notes-box { grid-column: span 12; }
|
|
|
|
.box {
|
|
border: 1px solid var(--ink-main);
|
|
padding: 0.75rem;
|
|
}
|
|
.box-title {
|
|
font-family: 'IM Fell English SC', serif;
|
|
color: var(--ink-header);
|
|
text-align: center;
|
|
margin-top: 0;
|
|
margin-bottom: 0.75rem;
|
|
border-bottom: 1px solid var(--border-color);
|
|
padding-bottom: 0.25rem;
|
|
}
|
|
|
|
input[type="text"], input[type="number"] {
|
|
background-color: transparent;
|
|
border: none;
|
|
border-bottom: 1px solid var(--ink-main);
|
|
font-family: 'Merriweather', serif;
|
|
color: var(--ink-main);
|
|
width: 100%;
|
|
padding: 2px;
|
|
box-sizing: border-box;
|
|
}
|
|
input:focus, select:focus {
|
|
outline: none;
|
|
border-bottom: 1px solid var(--ink-header);
|
|
}
|
|
select {
|
|
background-color: transparent;
|
|
border: none;
|
|
border-bottom: 1px solid var(--ink-main);
|
|
font-family: 'Merriweather', serif;
|
|
color: var(--ink-main);
|
|
width: 100%;
|
|
padding: 4px 2px;
|
|
box-sizing: border-box;
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
background-repeat: no-repeat;
|
|
background-position: right .7em top 50%;
|
|
background-size: .65em auto;
|
|
padding-right: 2em;
|
|
}
|
|
|
|
.info-line {
|
|
display: flex;
|
|
align-items: baseline;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
.info-line label {
|
|
font-family: 'IM Fell English SC', serif;
|
|
flex-basis: 80px;
|
|
}
|
|
|
|
.stat-box {
|
|
border: 1px solid var(--ink-main);
|
|
padding: 0.5rem;
|
|
text-align: center;
|
|
}
|
|
.stat-box {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
}
|
|
.stat-box .label {
|
|
font-family: 'IM Fell English SC', serif;
|
|
font-size: 0.9rem;
|
|
}
|
|
.stat-box input {
|
|
text-align: center;
|
|
font-size: 1.5rem;
|
|
font-weight: bold;
|
|
width: 50px;
|
|
}
|
|
.fate-container {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
flex-grow: 1;
|
|
}
|
|
.fate-input-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
.sub-label {
|
|
font-size: 1.0rem;
|
|
text-transform: uppercase;
|
|
margin-top: 0.25rem;
|
|
display: block;
|
|
text-align: center;
|
|
}
|
|
|
|
.chars-and-skills-container {
|
|
border: 1px solid var(--ink-main);
|
|
}
|
|
.char-skill-row {
|
|
display: flex;
|
|
border-bottom: 1px solid var(--ink-main);
|
|
}
|
|
.char-skill-row:last-child {
|
|
border-bottom: none;
|
|
}
|
|
.char-side {
|
|
flex: 1;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0.6rem 0.8rem;
|
|
border-right: 1px solid var(--ink-main);
|
|
}
|
|
.char-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.char-abbr {
|
|
font-size: 2rem;
|
|
font-weight: bold;
|
|
line-height: 1;
|
|
color: #222;
|
|
}
|
|
.char-fullname {
|
|
font-size: 0.8rem;
|
|
letter-spacing: 1px;
|
|
text-transform: uppercase;
|
|
}
|
|
.char-value-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
.char-value {
|
|
font-size: 1.75rem;
|
|
font-weight: bold;
|
|
border: none;
|
|
width: 50px !important; /* Force width override */
|
|
text-align: center;
|
|
background: transparent;
|
|
}
|
|
.char-value-container input[type="checkbox"] {
|
|
margin-top: 5px;
|
|
}
|
|
.skills-side {
|
|
flex: 2;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.skill-line {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0.4rem 0.8rem;
|
|
}
|
|
.skill-line:first-child {
|
|
border-bottom: 1px dotted var(--border-color);
|
|
}
|
|
.skill-checkboxes {
|
|
display: flex;
|
|
gap: 2px;
|
|
}
|
|
|
|
.lore-inputs {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 0.5rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
.lore-inputs input {
|
|
width: 100%;
|
|
}
|
|
.talents-inputs {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
.talents-inputs input {
|
|
width: 100%;
|
|
}
|
|
|
|
.coin-grid-container {
|
|
display: grid;
|
|
grid-template-columns: auto 1fr;
|
|
align-items: center;
|
|
row-gap: 0.75rem;
|
|
column-gap: 1rem;
|
|
}
|
|
.coin-grid-container label, .coin-box .info-line label {
|
|
font-family: 'IM Fell English SC', serif;
|
|
text-align: left;
|
|
font-size: 16px;
|
|
}
|
|
.coin-slots-container {
|
|
display: flex;
|
|
gap: 5px;
|
|
justify-self: start; /* Align to the start of the grid cell */
|
|
}
|
|
|
|
.coin-slot {
|
|
width: 1.3em;
|
|
height: 1.3em;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
-webkit-user-select: none; /* For Safari */
|
|
}
|
|
.coin-slot .shape {
|
|
stroke: var(--ink-main);
|
|
stroke-width: 8;
|
|
fill: var(--parchment);
|
|
}
|
|
.coin-slot.owned.brass .shape { fill: #b08d57; }
|
|
.coin-slot.owned.silver .shape { fill: #c0c0c0; }
|
|
.coin-slot.owned.gold .shape { fill: #ffd700; }
|
|
|
|
.coin-slot .strikethrough {
|
|
display: none;
|
|
stroke: var(--ink-header);
|
|
stroke-width: 10;
|
|
stroke-linecap: round;
|
|
}
|
|
.coin-slot.spent .strikethrough {
|
|
display: block;
|
|
}
|
|
|
|
.weapon-table { width: 100%; }
|
|
.weapon-table th { font-family: 'IM Fell English SC', serif; text-align: left; padding-bottom: 0.25rem; }
|
|
|
|
.wounds-list, .contacts-list { list-style: none; padding: 0; margin: 0; }
|
|
.wounds-list li, .contacts-list li { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 2px; }
|
|
.wounds-list input[type="text"] { flex-grow: 1; }
|
|
|
|
.export-button {
|
|
font-family: 'IM Fell English SC', serif;
|
|
background-color: var(--highlight-bg);
|
|
border: 1px solid var(--border-color);
|
|
padding: 0.2rem 0.8rem;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s;
|
|
}
|
|
.export-button:hover { background-color: var(--border-color); }
|
|
|
|
[x-cloak] { display: none !important; }
|
|
|
|
/* Themed Checkbox Styles */
|
|
input[type="checkbox"] {
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
background-color: transparent;
|
|
margin: 0;
|
|
font: inherit;
|
|
color: var(--ink-main);
|
|
width: 1em;
|
|
height: 1em !important;
|
|
border: 1px solid var(--ink-main);
|
|
position: relative;
|
|
cursor: pointer;
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
input[type="checkbox"]:checked::before {
|
|
content: 'X';
|
|
font-family: 'IM Fell English SC', serif;
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
color: var(--ink-header);
|
|
font-size: 1.2em;
|
|
line-height: 0.8;
|
|
font-weight: bold;
|
|
}
|
|
.home-button {
|
|
position: absolute;
|
|
top: 2rem;
|
|
left: 2rem;
|
|
padding: 0.4rem 0.8rem;
|
|
background-color: var(--highlight-bg);
|
|
border: 1px solid var(--border-color);
|
|
color: var(--ink-main);
|
|
text-decoration: none;
|
|
transition: background-color 0.2s;
|
|
cursor: pointer;
|
|
}
|
|
.home-button:hover {
|
|
background-color: var(--border-color);
|
|
}
|
|
|
|
.notes-textarea {
|
|
width: 100%;
|
|
min-height: 200px;
|
|
background-color: transparent;
|
|
border: 1px solid var(--ink-main);
|
|
font-family: 'Merriweather', serif;
|
|
color: var(--ink-main);
|
|
padding: 4px;
|
|
box-sizing: border-box;
|
|
resize: none;
|
|
overflow-y: hidden;
|
|
}
|
|
|
|
.largedialog .talents-textarea {
|
|
width: 100%;
|
|
height: 75px;
|
|
background-color: transparent;
|
|
border: 1px solid var(--ink-main);
|
|
font-family: 'Merriweather', serif;
|
|
color: var(--ink-main);
|
|
padding: 4px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.d10-die {
|
|
width: 2em;
|
|
height: 2em;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
-webkit-user-select: none; /* For Safari */
|
|
}
|
|
.d10-die polygon {
|
|
stroke: var(--ink-main);
|
|
stroke-width: 8;
|
|
fill: var(--parchment);
|
|
transition: fill 0.2s ease-in-out;
|
|
}
|
|
.d10-die.active polygon {
|
|
fill: var(--ink-main);
|
|
}
|
|
.d10-die .die-text {
|
|
font-family: 'IM Fell English SC', serif;
|
|
font-size: 50px;
|
|
fill: var(--ink-main);
|
|
text-anchor: middle;
|
|
dominant-baseline: middle;
|
|
pointer-events: none;
|
|
}
|
|
.d10-die.active .die-text {
|
|
fill: var(--parchment);
|
|
}
|
|
|
|
.keyword-tooltip {
|
|
cursor: help;
|
|
}
|
|
.tippy-box[data-theme~='parchment'] {
|
|
background-color: var(--parchment);
|
|
color: var(--ink-main);
|
|
border: 1px solid var(--ink-main);
|
|
font-family: 'Merriweather', serif;
|
|
font-size: 0.9rem;
|
|
line-height: 1.4;
|
|
}
|
|
.tippy-box[data-theme~='parchment'][data-placement^='top'] > .tippy-arrow::before {
|
|
border-top-color: var(--ink-main);
|
|
}
|
|
.tippy-box[data-theme~='parchment'][data-placement^='bottom'] > .tippy-arrow::before {
|
|
border-bottom-color: var(--ink-main);
|
|
}
|
|
.tippy-box[data-theme~='parchment'] .tippy-content {
|
|
padding: 8px 12px;
|
|
}
|
|
.tippy-box[data-theme~='parchment'] .tippy-content strong {
|
|
color: var(--ink-header);
|
|
}
|
|
.site-footer {
|
|
max-width: 1200px;
|
|
margin: 2rem auto 0;
|
|
padding: 1.5rem;
|
|
border-top: 1px solid var(--border-color);
|
|
text-align: center;
|
|
font-size: 0.85rem;
|
|
line-height: 1.5;
|
|
}
|
|
.site-footer a {
|
|
color: var(--ink-header);
|
|
text-decoration: none;
|
|
}
|
|
.site-footer a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.sheet-rolltemplate-tow1ed {
|
|
font-family: 'Merriweather', serif;
|
|
background-color: #f5eeda;
|
|
color: var(--ink-main);
|
|
border: 2px solid var(--ink-main);
|
|
padding: 10px;
|
|
line-height: 1.7em;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.sheet-rolltemplate-tow1ed2 {
|
|
font-family: 'Merriweather', serif;
|
|
background-color: #f5eeda;
|
|
color: var(--ink-main);
|
|
border: 2px solid var(--ink-main);
|
|
padding: 10px;
|
|
line-height: 1.7em;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.sheet-title {
|
|
font-weight: bold;
|
|
}
|
|
|
|
div.weapons-row {
|
|
display: grid;
|
|
grid-template-columns: 50px 200px 75px 50px 50px 50px 100px 200px;
|
|
column-gap: 5px;
|
|
}
|
|
div.weapons-row input[type="text"] {
|
|
width: 150px;
|
|
}
|
|
div.weapons-row input[type="number"] {
|
|
width: 50px;
|
|
}
|
|
|
|
div.spells-row {
|
|
display: grid;
|
|
grid-template-columns: 50px 100px 100px 100px 100px 100px 200px;
|
|
column-gap: 5px;
|
|
}
|
|
div.spells-row input[type="text"] {
|
|
width: 75px;
|
|
}
|
|
div.spells-row .effect-input {
|
|
width: 220px !important;
|
|
}
|
|
div.spells-row input[type="number"] {
|
|
width: 50px;
|
|
}
|