Files

1229 lines
37 KiB
CSS

.charsheet {
font-family: "Courier";
/*
* Define game-line colors
*/
--color-mortal: #2A2D80;
--color-vampire: #B21800;
--color-werewolf: #E9813E;
--color-mage: #0000FF;
--color-promethean: #660099;
--color-changeling: #006600;
--color-geist: #316195;
--color-mummy: #996600;
--color-demon: #2A2D80;
--color-beast: #2A2D80;
--color-hunter: #203e2f;
--color-homebrew: #2A2D80;
--color-wod-demon: #e95500;
--color-deviant-the-renegades: #a04b4b;
}
.sheet-background {
background: none;
position: relative;
padding: 18px 80px 80px 90px;
width: 905px;
}
.sheet-background-image {
width: 100%;
z-index: -1;
}
input.sheet-game-line[value="mortal"] ~ * .sheet-game-line:not(.sheet-mortal):not(.sheet-mortal1):not(.sheet-mortal2):not(.sheet-mortal2-ghost):not(.sheet-mortal2-organization),
input.sheet-type[value="mortal1"] ~ * .sheet-game-line:not(.sheet-mortal):not(.sheet-mortal1),
input.sheet-type[value="mortal2"] ~ * .sheet-game-line:not(.sheet-mortal):not(.sheet-mortal2),
input.sheet-type[value="mortal2-ghost"] ~ * .sheet-game-line:not(.sheet-mortal):not(.sheet-mortal2-ghost),
input.sheet-type[value="mortal2-organization"] ~ * .sheet-game-line:not(.sheet-mortal):not(.sheet-mortal2-organization),
input.sheet-game-line[value="vampire"] ~ * .sheet-game-line:not(.sheet-vampire):not(.sheet-vampire1):not(.sheet-vampire2),
input.sheet-type[value="vampire1"] ~ * .sheet-game-line:not(.sheet-vampire):not(.sheet-vampire1),
input.sheet-type[value="vampire2"] ~ * .sheet-game-line:not(.sheet-vampire):not(.sheet-vampire2),
input.sheet-game-line[value="werewolf"] ~ * .sheet-game-line:not(.sheet-werewolf):not(.sheet-werewolf1):not(.sheet-werewolf2),
input.sheet-type[value="werewolf1"] ~ * .sheet-game-line:not(.sheet-werewolf):not(.sheet-werewolf1),
input.sheet-type[value="werewolf2"] ~ * .sheet-game-line:not(.sheet-werewolf):not(.sheet-werewolf2),
input.sheet-game-line[value="mage"] ~ * .sheet-game-line:not(.sheet-mage):not(.sheet-mage1):not(.sheet-mage2),
input.sheet-type[value="mage1"] ~ * .sheet-game-line:not(.sheet-mage):not(.sheet-mage1),
input.sheet-type[value="mage2"] ~ * .sheet-game-line:not(.sheet-mage):not(.sheet-mage2),
input.sheet-game-line[value="promethean"] ~ * .sheet-game-line:not(.sheet-promethean):not(.sheet-promethean1):not(.sheet-promethean2),
input.sheet-type[value="promethean1"] ~ * .sheet-game-line:not(.sheet-promethean):not(.sheet-promethean1),
input.sheet-type[value="promethean2"] ~ * .sheet-game-line:not(.sheet-promethean):not(.sheet-promethean2),
input.sheet-game-line[value="changeling"] ~ * .sheet-game-line:not(.sheet-changeling):not(.sheet-changeling1):not(.sheet-changeling2),
input.sheet-type[value="changeling1"] ~ * .sheet-game-line:not(.sheet-changeling):not(.sheet-changeling1),
input.sheet-type[value="changeling2"] ~ * .sheet-game-line:not(.sheet-changeling):not(.sheet-changeling2),
input.sheet-game-line[value="hunter"] ~ * .sheet-game-line:not(.sheet-hunter):not(.sheet-hunter1):not(.sheet-hunter2),
input.sheet-type[value="hunter1"] ~ * .sheet-game-line:not(.sheet-hunter):not(.sheet-hunter1),
input.sheet-type[value="hunter2"] ~ * .sheet-game-line:not(.sheet-hunter):not(.sheet-hunter2),
input.sheet-game-line[value="geist"] ~ * .sheet-game-line:not(.sheet-geist):not(.sheet-geist1):not(.sheet-geist2):not(.sheet-geist2-geist):not(.sheet-geist2-organization),
input.sheet-type[value="geist1"] ~ * .sheet-game-line:not(.sheet-geist):not(.sheet-geist1),
input.sheet-type[value="geist2"] ~ * .sheet-game-line:not(.sheet-geist):not(.sheet-geist2),
input.sheet-type[value="geist2-geist"] ~ * .sheet-game-line:not(.sheet-geist):not(.sheet-geist2-geist),
input.sheet-type[value="geist2-organization"] ~ * .sheet-game-line:not(.sheet-geist):not(.sheet-geist2-organization),
input.sheet-game-line[value="mummy"] ~ * .sheet-game-line:not(.sheet-mummy):not(.sheet-mummy1):not(.sheet-mummy2),
input.sheet-type[value="mummy1"] ~ * .sheet-game-line:not(.sheet-mummy):not(.sheet-mummy1),
input.sheet-type[value="mummy2"] ~ * .sheet-game-line:not(.sheet-mummy):not(.sheet-mummy2),
input.sheet-game-line[value="demon"] ~ * .sheet-game-line:not(.sheet-demon):not(.sheet-demon1):not(.sheet-demon2),
input.sheet-type[value="demon1"] ~ * .sheet-game-line:not(.sheet-demon):not(.sheet-demon1),
input.sheet-type[value="demon2"] ~ * .sheet-game-line:not(.sheet-demon):not(.sheet-demon2),
input.sheet-game-line[value="beast"] ~ * .sheet-game-line:not(.sheet-beast):not(.sheet-beast1):not(.sheet-beast2),
input.sheet-type[value="beast1"] ~ * .sheet-game-line:not(.sheet-beast):not(.sheet-beast1),
input.sheet-type[value="beast2"] ~ * .sheet-game-line:not(.sheet-beast):not(.sheet-beast2),
input.sheet-game-line[value="homebrew"] ~ * .sheet-game-line:not(.sheet-homebrew):not(.sheet-homebrew1):not(.sheet-homebrew2),
input.sheet-type[value="homebrew1"] ~ * .sheet-game-line:not(.sheet-homebrew):not(.sheet-homebrew1),
input.sheet-type[value="homebrew2"] ~ * .sheet-game-line:not(.sheet-homebrew):not(.sheet-homebrew2),
input.sheet-game-line[value="wod-demon"] ~ * .sheet-game-line:not(.sheet-wod-demon):not(.sheet-wod-demon1):not(.sheet-wod-demon2),
input.sheet-type[value="wod-demon2"] ~ * .sheet-game-line:not(.sheet-wod-demon):not(.sheet-wod-demon2),
input.sheet-type[value="deviant-the-renegades"] ~ * .sheet-game-line:not(.sheet-deviant-the-renegades) {
display: none;
}
/* hide othertrait dots on changeling 2nd sheets (2e contracts don't have dots) */
/* hide morality dots on changeling 2nd sheets (2e clarity uses attr_moralhealth instead) */
input.sheet-type[value="changeling2"] ~ * .sheet-changeling2-inverse,
input.sheet-type[value="deviant-the-renegades"] ~ * .sheet-deviant-the-renegades-inverse
input.sheet-type[value="mummy"] ~ * .sheet-mummy-inverse
{
display: none;
}
input.sheet-page[value="settings"] ~ .sheet-page:not(.sheet-settings),
input.sheet-page[value="1"] ~ .sheet-page:not(.sheet-page1),
input.sheet-page[value="2"] ~ .sheet-page:not(.sheet-page2),
input.sheet-page[value="3"] ~ .sheet-page:not(.sheet-page3),
input.sheet-page[value="scars-variations"] ~ .sheet-page:not(.sheet-scars-variations),
input.sheet-page[value="conditions"] ~ .sheet-page:not(.sheet-conditions),
input.sheet-settingssheet:not(:checked) ~ .sheet-settings,
input.sheet-page1-sheet:not(:checked) ~ .sheet-page1,
input.sheet-page2-sheet:not(:checked) ~ .sheet-page2,
input.sheet-page3-sheet:not(:checked) ~ .sheet-page3,
input.sheet-scars-variations-sheet:not(:checked) ~ .sheet-scars-variations,
input.sheet-conditions-sheet:not(:checked) ~ .sheet-conditions,
input.sheet-edition[value="1"] ~ .sheet-2nd,
input.sheet-edition[value="1"] ~ * .sheet-2nd,
input.sheet-edition[value="2"] ~ .sheet-1st,
input.sheet-edition[value="2"] ~ * .sheet-1st,
input.sheet-entity:not([value="corporeal"]) ~ .sheet-corporeal,
input.sheet-entity:not([value="corporeal"]) ~ * .sheet-corporeal,
input.sheet-entity[value="corporeal"] ~ .sheet-corporeal-inverse,
input.sheet-entity[value="corporeal"] ~ * .sheet-corporeal-inverse,
input.sheet-entity:not([value="ephemeral"]) ~ .sheet-ephemeral,
input.sheet-entity:not([value="ephemeral"]) ~ * .sheet-ephemeral,
input.sheet-entity[value="ephemeral"] ~ .sheet-ephemeral-inverse,
input.sheet-entity[value="ephemeral"] ~ * .sheet-ephemeral-inverse,
input.sheet-entity:not([value="organization"]) ~ .sheet-organization,
input.sheet-entity:not([value="organization"]) ~ * .sheet-organization,
input.sheet-entity[value="organization"] ~ .sheet-organization-inverse,
input.sheet-entity[value="organization"] ~ * .sheet-organization-inverse {
display: none !important;
}
input.sheet-archery-era[value="1"] ~ .sheet-not-archery-era,
input.sheet-archery-era:not([value="1"]) ~ .sheet-is-archery-era,
input.sheet-ride-era[value="1"] ~ .sheet-not-ride-era,
input.sheet-ride-era:not([value="1"]) ~ .sheet-is-ride-era,
input.sheet-enigmas-era[value="1"] ~ .sheet-not-enigmas-era,
input.sheet-enigmas-era:not([value="1"]) ~ .sheet-is-enigmas-era {
display: none;
}
.sheet-edition-label {
font-weight: bold;
}
/* BACKGROUND IMAGE */
.sheet-background-image::after {
content: "";
top: 0;
left: 0;
bottom: 0;
right: 0;
position: absolute;
z-index: -1;
}
input.sheet-game-line[value="mortal"] ~ .sheet-background-image::after,
input.sheet-game-line[value="homebrew"] ~ .sheet-background-image::after {
background: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Chronicles%20of%20Darkness/images/chronicles-bg.jpg');
background-size: 100% 100%;
opacity: 0.2
}
input.sheet-game-line[value="vampire"] ~ .sheet-background-image::after {
background: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Chronicles%20of%20Darkness/images/vampire-bg.jpg');
background-size: 100% 105%;
}
input.sheet-game-line[value="werewolf"] ~ .sheet-background-image::after {
background: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Chronicles%20of%20Darkness/images/werewolf-bg.png');
background-size: 100% 100%;
}
input.sheet-game-line[value="mage"] ~ .sheet-background-image::after {
background: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Chronicles%20of%20Darkness/images/mage-bg.png');
background-size: 100% 100%;
}
input.sheet-game-line[value="promethean"] ~ .sheet-background-image::after {
background: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Chronicles%20of%20Darkness/images/promethean-bg.png');
background-size: 100% 100%;
}
input.sheet-game-line[value="changeling"] ~ .sheet-background-image::after {
background: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Chronicles%20of%20Darkness/images/changeling-bg.png');
background-size: 100% 102%;
}
input.sheet-game-line[value="geist"] ~ .sheet-background-image::after {
background: url('https://raw.githubusercontent.com/AdolfoDomingues/roll20-character-sheets/adf6900d6b57636eb5273d731ccd6a22adb57a1d/Chronicles%20of%20Darkness/images/Geist2eBG.jpg');
background-size: 100% 100%;
}
input.sheet-game-line[value="mummy"] ~ .sheet-background-image::after {
background: url('https://raw.githubusercontent.com/AdolfoDomingues/roll20-character-sheets/8902b1801a7fe6024739f64e41d8c85f6ace7489/Chronicles%20of%20Darkness/images/mummy2-bg.jpg');
background-size: 100% 100%;
}
input.sheet-game-line[value="demon"] ~ .sheet-background-image::after {
background: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Chronicles%20of%20Darkness/images/demon-bg.png');
background-size: 100% 100%;
}
input.sheet-game-line[value="beast"] ~ .sheet-background-image::after {
background: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Chronicles%20of%20Darkness/images/beast-bg.png');
background-size: 100% 101%;
}
input.sheet-game-line[value="hunter"] ~ .sheet-background-image::after {
background: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Chronicles%20of%20Darkness/images/hunter-bg.png');
background-size: 100% 100%;
}
input.sheet-game-line[value="wod-demon"] ~ .sheet-background-image::after {
background: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Chronicles%20of%20Darkness/images/demon-fallen-bg.png');
background-size: 100% 100%;
}
input.sheet-game-line[value="deviant-the-renegades"] ~ .sheet-background-image::after {
background: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Chronicles%20of%20Darkness/images/Deviant-bg.jpg');
background-size: 100% 100%;
}
input.sheet-settingssheet:checked ~ .sheet-background-image::after,
input.sheet-page2-sheet:checked ~ .sheet-background-image::after,
input.sheet-page3-sheet:checked ~ .sheet-background-image::after,
input.sheet-scars-variations-sheet:checked ~ .sheet-background-image::after{
background-size: 100%;
}
/* HEADER IMAGE */
.sheet-logo {
display: flex;
justify-content: center;
min-height: 190px;
}
.sheet-logo img.sheet-mortal,
.sheet-logo img.sheet-homebrew,
.sheet-logo img.sheet-vampire,
.sheet-logo img.sheet-werewolf,
.sheet-logo img.sheet-mage,
.sheet-logo img.sheet-promethean,
.sheet-logo img.sheet-hunter2,
.sheet-logo img.sheet-changeling {
height: 150px;
}
.sheet-logo img.sheet-hunter1,
.sheet-logo img.sheet-deviant-the-renegades {
height: 120px;
}
.sheet-logo img.sheet-geist,
.sheet-logo img.sheet-mummy,
.sheet-logo img.sheet-demon {
height: 200px;
}
.sheet-logo img.sheet-wod-demon {
height: 180px;
}
.sheet-rollcontainer > button[type=roll],
button.sheet-toggle {
/* Resetting user-agent styling */
font-family: inherit;
font-size: 100%;
line-height: 1.15;
margin: 0;
overflow: visible;
text-transform: none;
border-style: none;
padding: 0 4px;
background: white;
border-radius: 4px;
font-weight: bold;
}
/*
* Choose game-line color
*/
input.sheet-game-line[value="mortal"] ~ * {
--color-game-line: var(--color-mortal);
}
input.sheet-game-line[value="vampire"] ~ * {
--color-game-line: var(--color-vampire);
}
input.sheet-game-line[value="werewolf"] ~ * {
--color-game-line: var(--color-werewolf);
}
input.sheet-game-line[value="mage"] ~ * {
--color-game-line: var(--color-mage);
}
input.sheet-game-line[value="promethean"] ~ * {
--color-game-line: var(--color-promethean);
}
input.sheet-game-line[value="changeling"] ~ * {
--color-game-line: var(--color-changeling);
}
input.sheet-game-line[value="geist"] ~ * {
--color-game-line: var(--color-geist);
}
input.sheet-game-line[value="mummy"] ~ * {
--color-game-line: var(--color-mummy);
}
input.sheet-game-line[value="demon"] ~ * {
--color-game-line: var(--color-demon);
}
input.sheet-game-line[value="beast"] ~ * {
--color-game-line: var(--color-beast);
}
input.sheet-game-line[value="hunter"] ~ * {
--color-game-line: var(--color-hunter);
}
input.sheet-game-line[value="homebrew"] ~ * {
--color-game-line: var(--color-mortal);
}
input.sheet-game-line[value="wod-demon"] ~ * {
--color-game-line: var(--color-wod-demon);
}
input.sheet-game-line[value="deviant-the-renegades"] ~ * {
--color-game-line: var(--color-deviant-the-renegades);
}
/*
* Use chosen game-line color
*/
button.sheet-active,
input.sheet-flag[value="1"] ~ .sheet-toggle,
input.sheet-page[value="settings"] ~ button.sheet-page-settings,
input.sheet-page[value="1"] ~ button.sheet-page-1,
input.sheet-page[value="2"] ~ button.sheet-page-2,
input.sheet-page[value="3"] ~ button.sheet-page-3,
input.sheet-page[value="scars-variations"] ~ button.sheet-page-scars-variations,
input.sheet-page[value="conditions"] ~ button.sheet-page-conditions,
input.sheet-type[value="mortal1"] ~ * button.sheet-active-mortal1,
input.sheet-type[value="mortal2"] ~ * button.sheet-active-mortal2,
input.sheet-type[value="mortal2-ghost"] ~ * button.sheet-active-mortal2-ghost,
input.sheet-type[value="mortal2-organization"] ~ * button.sheet-active-mortal2-organization,
input.sheet-type[value="vampire1"] ~ * button.sheet-active-vampire1,
input.sheet-type[value="vampire2"] ~ * button.sheet-active-vampire2,
input.sheet-type[value="werewolf1"] ~ * button.sheet-active-werewolf1,
input.sheet-type[value="werewolf2"] ~ * button.sheet-active-werewolf2,
input.sheet-type[value="mage1"] ~ * button.sheet-active-mage1,
input.sheet-type[value="mage2"] ~ * button.sheet-active-mage2,
input.sheet-type[value="promethean1"] ~ * button.sheet-active-promethean1,
input.sheet-type[value="promethean2"] ~ * button.sheet-active-promethean2,
input.sheet-type[value="changeling1"] ~ * button.sheet-active-changeling1,
input.sheet-type[value="changeling2"] ~ * button.sheet-active-changeling2,
input.sheet-type[value="hunter"] ~ * button.sheet-active-hunter,
input.sheet-type[value="hunter2"] ~ * button.sheet-active-hunter2,
input.sheet-type[value="geist1"] ~ * button.sheet-active-geist1,
input.sheet-type[value="geist2"] ~ * button.sheet-active-geist2,
input.sheet-type[value="geist2-geist"] ~ * button.sheet-active-geist2-geist,
input.sheet-type[value="geist2-organization"] ~ * button.sheet-active-geist2-organization,
input.sheet-type[value="mummy1"] ~ * button.sheet-active-mummy1,
input.sheet-type[value="mummy2"] ~ * button.sheet-active-mummy2,
input.sheet-type[value="demon"] ~ * button.sheet-active-demon,
input.sheet-type[value="beast"] ~ * button.sheet-active-beast,
input.sheet-type[value="homebrew1"] ~ * button.sheet-active-homebrew1,
input.sheet-type[value="homebrew2"] ~ * button.sheet-active-homebrew2,
input.sheet-type[value="wod-demon2"] ~ * button.sheet-active-wod-demon2,
input.sheet-type[value="deviant-the-renegades"] ~ * button.sheet-active-deviant-the-renegades,
input.sheet-rollstyle[value="sheet"] ~ * button.sheet-rollstyle-sheet,
input.sheet-rollstyle[value="attack"] ~ * button.sheet-rollstyle-attack,
input.sheet-rollstyle[value="simple"] ~ * button.sheet-rollstyle-simple,
input.sheet-rolltype-select[value="chance"] ~ * button.sheet-rolltype-chance,
input.sheet-rolltype-select[value="normal"] ~ * button.sheet-rolltype-normal,
input.sheet-rolltype-select[value="9-again"] ~ * button.sheet-rolltype-9-again,
input.sheet-rolltype-select[value="8-again"] ~ * button.sheet-rolltype-8-again,
input.sheet-rolltype-select[value="dont-reroll"] ~ * button.sheet-rolltype-dont-reroll,
input.sheet-rolltype-select[value="chance-rote"] ~ * button.sheet-rolltype-chance-rote,
input.sheet-rolltype-select[value="rote"] ~ * button.sheet-rolltype-rote {
color: var(--color-game-line);
text-shadow: 0px 0px 10px black;
font-weight: bold;
}
.sheet-rolltemplates {
display: none;
}
.sheet-el_spacer {
height: 10px;
}
.sheet-spacer {
height: 20px;
}
.sheet-vertical-separator {
height: 100%;
border-left: 1px solid #404040;
}
.sheet-diceroller {
position: absolute;
top: 10px;
right: 10px;
background: white;
}
.sheet-diceroller-grid {
display: grid;
grid-template-columns: auto auto;
border-top: 1px solid #000;
border-left: 1px solid #000;
}
.sheet-diceroller-grid > * {
border-right: 1px solid #000;
border-bottom: 1px solid #000;
}
.sheet-diceroller-grid > .sheet-diceroller-options {
display: flex;
flex-direction: column;
align-items: start;
}
.sheet-diceroller-grid > .sheet-diceroller-options > * {
padding: 2px 3px;
}
.sheet-rolldisplay {
display: flex;
justify-content: center;
align-items: center;
}
.sheet-diceroller > input.sheet-rollstyle[value="sheet"] ~ * .sheet-rollstyle:not(.sheet-sheet),
.sheet-diceroller > input.sheet-rollstyle[value="attack"] ~ * .sheet-rollstyle:not(.sheet-attack),
.sheet-diceroller > input.sheet-rollstyle[value="simple"] ~ * .sheet-rollstyle:not(.sheet-simple) {
display: none;
}
.sheet-rollcontainer {
position: relative;
}
.sheet-rollcontainer > button:before {
display: none;
}
.sheet-rollcontainer > button[type=roll] {
background: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Chronicles%20of%20Darkness/images/die.png') no-repeat center;
background-size: contain;
position: absolute;
top: 2px;
bottom: 2px;
left: 2px;
right: 2px;
width: 100%;
padding: 0;
}
.sheet-diceroller .sheet-rolldisplay > * {
resize: none;
overflow: hidden;
box-shadow: none;
-moz-box-shadow: none;
-webkit-box-shadow: none;
border: none;
padding: 0px;
text-align: center;
height: 70px;
pointer-events: none;
width: 120px;
margin: 0;
font-weight: normal;
}
.charsheet input[type=text] {
width: 165px;
font-family: "Courier";
font-size: 12px;
height: 20px;
border: 0px;
border-radius: 0px;
background: none;
-moz-box-shadow: 0px 1px 0px #000;
-webkit-box-shadow: 0px 1px 0px #000;
box-shadow: 0px 1px 0px #000;
}
.charsheet textarea {
margin:10px 0 0 0;
resize:vertical;
width: calc(100% - 10px);
height: 74px;
}
.sheet-preserve-whitespace {
white-space: pre;
}
.sheet-flex {
display: flex;
align-items: start;
}
.sheet-inline-flex {
display: inline-flex;
}
.sheet-grow {
flex-grow: 1;
}
.sheet-columns {
display: flex;
justify-content: space-between;
}
.sheet-columns > :not(.sheet-horizontal-spacer) {
flex-grow: 1;
}
.sheet-horizontal-spacer {
padding: 0 15px;
}
.sheet-input-group {
display: flex;
justify-content: space-between;
align-items: center;
padding: 2px 0;
}
.sheet-input-label {
width: 85px;
font-weight: bold;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.sheet-input-group > input[type="text"],
.sheet-input-group > button.sheet-toggle {
width: 0;
flex-grow: 1;
}
.sheet-info-grid {
display: grid;
grid-template-columns: repeat(2, auto minmax(0, 1fr) 30px) auto minmax(0, 1fr);
align-items: center;
}
.sheet-info-grid > input[type="text"] {
width: auto;
}
.sheet-simple-attribute {
display: flex;
flex-direction: column;
border: 1px solid black;
}
.charsheet table td, .charsheet table th {
font-size: 1em;
font-weight: bolder;
font-family: "Courier";
text-align: left;
border: 0px #000000;
padding: 2px;
vertical-align: middle;
color: #000000;
margin:0px 0px;
line-height: 1em;
}
.charsheets table td {
white-space: nowrap;
text-align: left;
}
.sheet-section-header {
line-height: 1em;
font-size: 1.7em;
font-weight: bolder;
font-family: "Courier";
color: #000000;
text-decoration: overline underline;
text-transform: uppercase;
text-align: center;
}
.sheet-subheader {
line-height: 1em;
font-size: 1.4em;
font-weight: bolder;
text-align: center;
}
.sheet-subsubheader {
line-height: 1em;
font-size: 0.8em;
text-align: center;
font-style: italic;
font-weight: bolder;
}
.sheet-span {
text-align: center;
}
.sheet-skills {
display: inline-grid;
grid-template-columns: 1fr auto;
}
.sheet-diceroller-grid > .sheet-span,
.sheet-skills > .sheet-section-header,
.sheet-diceroller-grid > .sheet-subheader,
.sheet-skills > .sheet-subheader,
.sheet-skills > .sheet-subsubheader {
grid-column: 1 / span 2;
}
.sheet-attributes {
display: grid;
grid-template-areas:
"category . mental mental . physical physical . social social"
"category . mental mental . physical physical . social social"
"category . mental mental . physical physical . social social";
grid-template-columns: 1fr 6px repeat(2, 1fr) 6px repeat(2, 1fr) 6px repeat(2, 1fr);
font-weight: bold;
}
.sheet-attributes > * {
padding: 0 4px;
}
.sheet-attributes > .sheet-mental.sheet-border {
grid-area: mental;
}
.sheet-attributes > .sheet-physical.sheet-border {
grid-area: physical;
}
.sheet-attributes > .sheet-social.sheet-border {
grid-area: social;
}
.sheet-attributes > .sheet-border {
border: 1px solid black;
}
.sheet-attributes > .sheet-power {
grid-row: 1;
}
.sheet-attributes > .sheet-magnitude {
grid-row: 1;
grid-column: 3;
}
.sheet-attributes > .sheet-finesse {
grid-row: 2;
}
.sheet-attributes > .sheet-resistance {
grid-row: 3;
}
.sheet-attributes > .sheet-attributes-category {
grid-column: category;
text-align: right;
}
.sheet-attributes > .sheet-mental.sheet-label {
grid-column-start: mental-start;
}
.sheet-attributes > .sheet-mental.sheet-dots {
grid-column-end: mental-end;
}
.sheet-attributes > .sheet-physical.sheet-label {
grid-column-start: physical-start;
}
.sheet-attributes > .sheet-physical.sheet-dots {
grid-column-end: physical-end;
}
.sheet-attributes > .sheet-social.sheet-label {
grid-column-start: social-start;
}
.sheet-attributes > .sheet-social.sheet-dots {
grid-column-end: social-end;
}
.sheet-dots,
.sheet-healthboxes,
.sheet-checkboxes {
display: flex;
justify-content: center;
align-items: center;
}
/* Styles common to dot, checkbox, healthbox, and radio */
button.sheet-dot,
.sheet-checkbox > input[type="hidden"] + button,
.sheet-healthbox > button,
input.sheet-flag + button.sheet-radio {
width: 10px;
height: 10px;
padding: 0;
border: solid 1px #000000;
line-height: 11px;
background: #efefef;
}
/* Styles unique to dot or radio */
button.sheet-dot,
input.sheet-flag + button.sheet-radio {
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
border-radius: 50%;
}
/* Selected radio */
input.sheet-flag[value="1"] + button.sheet-radio {
background: radial-gradient(circle, currentColor 40%, #efefef 50%);
}
/* Active dot */
input[type="hidden"][value="1"] ~ button.sheet-dot:not(.sheet-zero):not(.sheet-ne-1),
input[type="hidden"][value="2"] ~ button.sheet-dot:not(.sheet-zero):not(.sheet-ne-2),
input[type="hidden"][value="3"] ~ button.sheet-dot:not(.sheet-zero):not(.sheet-ne-3),
input[type="hidden"][value="4"] ~ button.sheet-dot:not(.sheet-zero):not(.sheet-ne-4),
input[type="hidden"][value="5"] ~ button.sheet-dot:not(.sheet-zero):not(.sheet-ne-5),
input[type="hidden"][value="6"] ~ button.sheet-dot:not(.sheet-zero):not(.sheet-ne-6),
input[type="hidden"][value="7"] ~ button.sheet-dot:not(.sheet-zero):not(.sheet-ne-7),
input[type="hidden"][value="8"] ~ button.sheet-dot:not(.sheet-zero):not(.sheet-ne-8),
input[type="hidden"][value="9"] ~ button.sheet-dot:not(.sheet-zero):not(.sheet-ne-9),
input[type="hidden"][value="10"] ~ button.sheet-dot:not(.sheet-zero):not(.sheet-ne-10),
input[type="hidden"][value="11"] ~ button.sheet-dot:not(.sheet-zero):not(.sheet-ne-11),
input[type="hidden"][value="12"] ~ button.sheet-dot:not(.sheet-zero):not(.sheet-ne-12),
input[type="hidden"][value="13"] ~ button.sheet-dot:not(.sheet-zero):not(.sheet-ne-13),
input[type="hidden"][value="14"] ~ button.sheet-dot:not(.sheet-zero):not(.sheet-ne-14),
input[type="hidden"][value="15"] ~ button.sheet-dot:not(.sheet-zero):not(.sheet-ne-15) {
background: currentColor;
}
button.sheet-zero
{
opacity: 0;
}
button.sheet-zero:hover {
opacity: 0.25;
}
.sheet-rolltemplate-wod table,
.sheet-rolltemplate-wod-attack table,
.sheet-rolltemplate-wod-simple table,
.sheet-rolltemplate-wod-3part table,
.sheet-rolltemplate-wod-initiative table
{
width: 189px;
height: 100%;
background: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Chronicles%20of%20Darkness/images/roll.jpg) no-repeat top left;
background-size: 189px 100%;
font-family: "Courier New", Courier, monospace;
font-weight: bold;
border-spacing: 0;
}
.sheet-rolltemplate-wod th,
.sheet-rolltemplate-wod-attack th,
.sheet-rolltemplate-wod-simple th,
.sheet-rolltemplate-wod-3part th,
.sheet-rolltemplate-wod-initiative th
{
color: rgb(112, 0, 0);
padding: 20px 20px 2px 20px;
line-height: 1.2em;
font-size: 1.2em;
text-align: left;
}
.sheet-rolltemplate-wod td,
.sheet-rolltemplate-wod-attack td,
.sheet-rolltemplate-wod-simple td,
.sheet-rolltemplate-wod-3part td ,
.sheet-rolltemplate-wod-initiative td
{
padding: 2px 20px 2px 20px;
font-size: 1.0em;
vertical-align: top;
}
.sheet-rolltemplate-wod .sheet-result,
.sheet-rolltemplate-wod-attack .sheet-result,
.sheet-rolltemplate-wod-simple .sheet-result,
.sheet-rolltemplate-wod-3part .sheet-result ,
.sheet-rolltemplate-wod-initiative .sheet-result
{
font-size: 1.2em;
text-align: center;
color: rgb(112, 0, 0);
padding: 2px 20px 2px 20px;
}
.sheet-rolltemplate-wod .inlinerollresult,
.sheet-rolltemplate-wod-attack .sheet-result .inlinerollresult,
.sheet-rolltemplate-wod-simple .inlinerollresult,
.sheet-rolltemplate-wod-3part .inlinerollresult,
.sheet-rolltemplate-wod-initiative .inlinerollresult
{
background-color: transparent;
color: #000000;
border: none;
}
.sheet-rolltemplate-wod-attack .inlinerollresult
{
background-color: transparent;
color: #000000;
border: none;
font-size: 1em;
padding: 0px;
}
.sheet-rolltemplate-wod .inlinerollresult.fullcrit,
.sheet-rolltemplate-wod-attack .sheet-result .inlinerollresult.fullcrit,
.sheet-rolltemplate-wod-simple .inlinerollresult.fullcrit,
.sheet-rolltemplate-wod-3part .inlinerollresult.fullcrit,
.sheet-rolltemplate-wod-initiative .inlinerollresult.fullcrit
{
color: #000000;
border: none;
}
.sheet-rolltemplate-wod .inlinerollresult.fullfail,
.sheet-rolltemplate-wod-attack .sheet-result .inlinerollresult.fullfail,
.sheet-rolltemplate-wod-simple .inlinerollresult.fullfail,
.sheet-rolltemplate-wod-3part .inlinerollresult.fullfail,
.sheet-rolltemplate-wod-initiative .inlinerollresult.fullfail
{
color: #000000;
border: none;
}
.sheet-rolltemplate-wod .inlinerollresult.importantroll,
.sheet-rolltemplate-wod-attack .inlinerollresult.importantroll,
.sheet-rolltemplate-wod-simple .inlinerollresult.importantroll,
.sheet-rolltemplate-wod-3part .inlinerollresult.importantroll,
.sheet-rolltemplate-wod-initiative .inlinerollresult.importantroll
{
color: #000000;
border: none;
}
.sheet-rolltemplate-wod .sheet-specialrollflag,
.sheet-rolltemplate-wod-attack .sheet-specialrollflag,
.sheet-rolltemplate-wod-simple .sheet-specialrollflag,
.sheet-rolltemplate-wod-3part .sheet-specialrollflag ,
.sheet-rolltemplate-wod-initiative .sheet-specialrollflag
{
color: #000000;
height: 30px;
text-align: right;
vertical-align: top;
}
.sheet-spread {
justify-content: space-evenly;
padding: 10px;
}
input.sheet-if[value="1"] ~ .sheet-ne-1,
input.sheet-if:not([value="1"]) ~ .sheet-eq-1,
input.sheet-if[value="2"] ~ .sheet-ne-2,
input.sheet-if[value="3"] ~ .sheet-ne-3,
input.sheet-if[value="4"] ~ .sheet-ne-4,
input.sheet-if[value="5"] ~ .sheet-ne-5,
input.sheet-if[value="6"] ~ .sheet-ne-6,
input.sheet-if[value="7"] ~ .sheet-ne-7,
input.sheet-if[value="8"] ~ .sheet-ne-8,
input.sheet-if[value="9"] ~ .sheet-ne-9,
input.sheet-if[value="10"] ~ .sheet-ne-10,
input.sheet-if[value="11"] ~ .sheet-ne-11,
input.sheet-if[value="12"] ~ .sheet-ne-12,
input.sheet-if[value="13"] ~ .sheet-ne-13,
input.sheet-if[value="14"] ~ .sheet-ne-14,
input.sheet-if[value="15"] ~ .sheet-ne-15,
input.sheet-if[value="16"] ~ .sheet-ne-16 {
display: none;
}
/* Used for wound penalty alignment */
.sheet-healthbox {
width: 12px;
font-size: 10px;
}
.sheet-healthbox > input[value="1"] ~ button.sheet-damage {
background:
linear-gradient(to top left,
rgba(0,0,0,0) 0%,
rgba(0,0,0,0) calc(50% - 0.8px),
currentColor 50%,
rgba(0,0,0,0) calc(50% + 0.8px),
rgba(0,0,0,0) 100%),
#efefef;
}
.sheet-healthbox > input[value="2"] ~ button.sheet-damage,
.sheet-checkbox > input[value="1"] + button,
.sheet-checkbox > input[value="on"] + button {
background:
linear-gradient(to top left,
rgba(0,0,0,0) 0%,
rgba(0,0,0,0) calc(50% - 0.8px),
currentColor 50%,
rgba(0,0,0,0) calc(50% + 0.8px),
rgba(0,0,0,0) 100%),
linear-gradient(to top right,
rgba(0,0,0,0) 0%,
rgba(0,0,0,0) calc(50% - 0.8px),
currentColor 50%,
rgba(0,0,0,0) calc(50% + 0.8px),
rgba(0,0,0,0) 100%),
#efefef;
}
.sheet-healthbox > input[value="3"] ~ button.sheet-damage {
background:
linear-gradient(to top left,
rgba(0,0,0,0) 0%,
rgba(0,0,0,0) calc(50% - 0.8px),
currentColor 50%,
rgba(0,0,0,0) calc(50% + 0.8px),
rgba(0,0,0,0) 100%),
linear-gradient(to top right,
rgba(0,0,0,0) 0%,
rgba(0,0,0,0) calc(50% - 0.8px),
currentColor 50%,
rgba(0,0,0,0) calc(50% + 0.8px),
rgba(0,0,0,0) 100%),
linear-gradient(to right,
rgba(0,0,0,0) 0%,
rgba(0,0,0,0) calc(50% - 0.8px),
currentColor 50%,
rgba(0,0,0,0) calc(50% + 0.8px),
rgba(0,0,0,0) 100%),
#efefef;
}
.sheet-derived input[type=number] {
width: 18px;
padding: 0px;
background: none;
color: black;
font-family: "Courier";
text-align: center;
border: none;
cursor: default;
box-shadow: none;
height: 18px;
}
.sheet-settings input[type=number] {
width: 28px;
padding: 2px;
background: none;
color: black;
font-family: "Courier";
text-align: center;
border: none;
cursor: default;
-moz-box-shadow: 0px 1px 0px #000;
-webkit-box-shadow: 0px 1px 0px #000;
-webkit-border-radius: 0px;
-moz-border-radius: 0px;
-webkit-appearance:none;
-moz-appearance:none;
margin-bottom: 0px;
}
.sheet-derived input {
-moz-appearance: textfield;
}
.sheet-derived input::-webkit-outer-spin-button,
.sheet-derived input::-webkit-inner-spin-button {
/* display: none; <- Crashes Chrome on hover */
-webkit-appearance: none;
margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}
.sheet-weapongrid,
.sheet-armorgrid {
display: grid;
column-gap: 4px;
}
.sheet-weapongrid {
grid-template-columns: auto 1fr 4em 2em 4em 2em 2em 2em 2em;
}
.sheet-armorgrid {
grid-template-columns: auto 1fr 4em 2em 2em 2em 1fr;
}
.sheet-weapongrid > :nth-child(-n+9),
.sheet-armorgrid > :nth-child(-n+7) {
justify-self: center;
font-weight: bolder;
}
.sheet-weapongrid > :nth-child(n+10),
.sheet-armorgrid > :nth-child(n+8) {
justify-self: stretch;
display: flex;
height: 18px;
}
.sheet-weapongrid input[type="text"],
.sheet-weapongrid select,
.sheet-armorgrid input[type="text"],
.sheet-armorgrid select {
width: 0;
height: 14px;
flex-grow: 1;
}
select {
width: 80px;
height: 14px;
padding: 0px;
background: none;
color: black;
font-family: "Courier";
font-size: 12px;
border: none;
cursor: default;
box-shadow: 0px 1px 0px #000;
border-radius: 0px;
-webkit-appearance:none;
-moz-appearance:none;
margin-bottom: 0px;
line-height: 14px;
}
.sheet-page2 input[type="text"].sheet-partname {
width: 116px;
}
.sheet-page2 input[type="text"].sheet-name {
width: 150px;
}
.sheet-page2 input[type="text"].sheet-partpool {
width: 20px;
padding: 1px;
margin-left: 3px;
background: none;
color: black;
font-family: "Courier";
text-align: center;
border: none;
cursor: default;
-moz-box-shadow: 0px 1px 0px #000;
-webkit-box-shadow: 0px 1px 0px #000;
-webkit-border-radius: 0px;
-moz-border-radius: 0px;
-webkit-appearance:none;
-moz-appearance:none;
margin-bottom: 0px;
}
.sheet-page2 .sheet-rollcontainer {
height: 40px;
width: 40px;
float: right;
}
.sheet-page2 .sheet-customroll {
border: solid 1px black;
border-radius: 4px;
padding: 5px;
margin-bottom: 15px;
}
.sheet-leftcolumn {
display: inline-block;
margin-right: 10px;
}
.sheet-rightcolumn {
display: inline-block;
float: right;
}
.sheet-vitae {
padding: 0px;
text-align: center;
}
.sheet-vitae input[type=checkbox] {
margin-top: 0px;
width: 12px;
}
input[type=text].sheet-title {
text-align: center;
width: 300px;
font-size: 1.4em;
font-weight: bolder;
padding: 0px;
}
.sheet-page3 {
text-align: center;
}
.sheet-page3 .sheet-subheader {
width: 300px;
font-size: 1.4em;
font-weight: bolder;
}
/*
* Page Scars and Variations
*/
.sheet-scars-variations .sheet-rollcontainer {
height: 40px;
width: 40px;
float: right;
}
.repcontainer[data-groupname="repeating_scar"] {
display: grid;
grid-template-columns: auto auto;
grid-gap: 1em 4ch;
}
.repcontainer[data-groupname="repeating_scar"] > div.repitem {
max-width: 66ch;
border: solid 1px var(--color-game-line);
border-radius: 4px;
padding: 25px;
margin-bottom: 15px;
}
.repcontainer[data-groupname="repeating_variation"] {
display: grid;
grid-template-columns: auto auto;
grid-gap: 1em 4ch;
}
.repcontainer[data-groupname="repeating_variation"] > div.repitem {
max-width: 66ch;
border: solid 1px var(--color-game-line);
border-radius: 4px;
padding: 25px;
margin-bottom: 15px;
}
/*
* Page 4, Conditions
*/
.sheet-hint {
max-width: 66ch;
margin: auto;
}
.sheet-hint > span:first-child {
font-weight: bold;
}
.sheet-hint ol > li {
margin-left: 4ch;
}
.repcontainer[data-groupname="repeating_conditions"] {
display: grid;
grid-template-columns: auto auto;
grid-gap: 1em 4ch;
}
.repcontainer[data-groupname="repeating_conditions"] > div.repitem {
max-width: 66ch;
}
.sheet-condition > h3 {
background-image: linear-gradient(var(--color-game-line), rgba(255,0,0,0));
border-top-left-radius: 1em;
border-top-right-radius: 1em;
padding: 0.5em;
}
.sheet-condition > h3 > input[type="text"] {
width: 100%;
height: auto;
box-shadow: none;
color: white;
text-transform: uppercase;
}
.sheet-condition > textarea {
height: 2.5em;
margin: 0;
border-color: rgba(255,0,0,0);
}
.sheet-condition > textarea:focus,
.sheet-condition > textarea:placeholder-shown,
.sheet-condition > textarea:hover {
border-color: #ccc;
}
.sheet-condition > textarea.sheet-description {
height: 6em;
}
/* PRD-1407 */
.charsheet .repcontainer.editmode .repitem .itemcontrol {
z-index: 100;
}