Files
roll20-character-sheets/Dolmenwood/dolmenwood.css
T

1016 lines
22 KiB
CSS

@import url("https://fonts.googleapis.com/css?family=Metamorphous&display=swap");
/* Roll Templates */
.sheet-rolltemplate-skill span.sheet-rolldescr {
height: auto;
color: black;
line-height: 18px;
text-align: left;
border-top: 1px solid black;
background: white;
padding: 4px;
}
.sheet-rolltemplate-skill .inlinerollresult.fullcrit,
.sheet-rolltemplate-skill .inlinerollresult.fullfail {
border: 0 none;
}
.sheet-rolltemplate-simple h3,
.sheet-rolltemplate-greater h3 {
color: white;
background-color: #333;
line-height: 2.2rem;
padding: 0.75rem;
text-align: center;
}
.sheet-rolltemplate-simple span,
.sheet-rolltemplate-greater span {
background: white;
color: black;
display: inline-block;
vertical-align: middle;
text-align: center;
line-height: 3em;
height: 3em;
width: 100%;
border-bottom: 1px solid black;
border-left: 1px solid black;
border-right: 1px solid black;
}
.sheet-rolltemplate-simple h3,
.sheet-rolltemplate-greater h3 {
font-family: "Metamorphous", serif;
font-size: 1.6rem;
}
.sheet-rolltemplate-simple .inlinerollresult.fullfail,
.sheet-rolltemplate-simple .inlinerollresult.fullcrit {
border: 0 none;
}
.sheet-rolltemplate-simple .inlinerollresult,
.sheet-rolltemplate-greater .inlinerollresult {
background-color: transparent;
border: none;
color: black;
display: block;
height: 100%;
box-sizing: border-box;
line-height: inherit;
font-size: 1.6rem;
}
.sheet-rolltemplate-simple .fullfail,
.sheet-rolltemplate-simple .sheet-fullfail,
.sheet-rolltemplate-greater .sheet-rollfail {
color: #990000;
font-weight: bold;
}
.sheet-rolltemplate-simple .fullcrit,
.sheet-rolltemplate-simple .sheet-fullcrit,
.sheet-rolltemplate-greater .sheet-rollsuccess {
color: #009900;
font-weight: bold;
}
.sheet-rolltemplate-simple .sheet-template-result-only .inlinerollresult {
text-align: center;
}
.sheet-rolltemplate-simple .sheet-template-row {
background: white;
display: grid;
grid-template-columns: 3fr 2fr;
}
.sheet-rolltemplate-simple .sheet-template-result-only,
.sheet-rolltemplate-simple .sheet-template-row > span {
background: white;
border: 1px solid black;
border-top: none;
box-sizing: border-box;
}
.sheet-rolltemplate-simple .sheet-template-row span.sheet-template-term {
text-align: right;
padding-right: 5px;
border-right: none;
color: #666;
}
.sheet-rolltemplate-simple .sheet-template-row span.sheet-template-result {
border-left: none;
text-align: left;
padding-left: 3px;
}
.sheet-rolltemplate-simple .sheet-template-row span.sheet-template-result span {
text-align: left;
}
.sheet-rolltemplate-skill .sheet-template-description,
.sheet-rolltemplate-simple .sheet-template-description {
border: 1px solid #000;
border-width: 0px 1px 1px 1px;
box-sizing: border-box;
background: white;
color: black;
padding: 10px;
}
.sheet-rolltemplate-simple .sheet-template-description p {
margin: 0;
text-align: center;
}
.charsheet {
background-image: url("https://github.com/Roll20/roll20-character-sheets/blob/master/Dolmenwood/images/border.jpeg?raw=true");
width: 829px;
height: 1181px;
background-size: 829px 1181px;
background-repeat: no-repeat;
background-position: center;
overflow: hidden;
position: relative;
}
.center-of-character-sheet {
position: absolute;
top: 150px;
bottom: 120px;
left: 120px;
right: 115px;
overflow: hidden;
}
.scrollable-content {
height: 100%;
width: 100%;
overflow-y: auto;
padding-right: 10px;
box-sizing: border-box;
background: white;
}
.divider {
height: 20px;
background-image: url("https://github.com/Roll20/roll20-character-sheets/blob/master/Dolmenwood/images/divider.png?raw=true");
background-size: 100%;
background-repeat: no-repeat;
text-align: center;
}
.sheetform h1 {
font-size: 2.4rem;
font-family: "Metamorphous", serif;
color: black;
text-align: center;
font-weight: normal;
text-shadow: 1px 0 0 rgba(255, 255, 255, 0.8),
0 1px 0 rgba(255, 255, 255, 0.8), 0 -1px 0 rgba(255, 255, 255, 0.8),
-1px 0 0 rgba(255, 255, 255, 0.8);
}
.characterviewer label {
font-size: 13px;
font-weight: normal;
}
.sheetform label {
font-weight: normal;
font-family: "Metamorphous", serif;
font-size: 14px;
cursor: pointer;
display: inline-flex;
padding-right: 0;
}
.sheetform p {
font-weight: normal;
font-family: "Metamorphous", serif;
font-size: 14px;
display: inline-block;
}
.sheetform span,
.sheetform p span,
.sheetform label span {
font-family: "Metamorphous", serif;
display: inline-block;
vertical-align: middle;
text-align: center;
line-height: 1.6em;
color: black;
}
input,
button,
body {
font-size: 12px;
}
.charsheet label span,
.charsheet input[type="number"],
.charsheet input[type="text"] {
box-sizing: border-box;
}
.charsheet input[type="text"],
.charsheet input[type="number"] {
font-family: "Metamorphous", serif;
border-radius: 0;
color: black;
border: none;
border-bottom: 1px solid black;
background: rgb(255 255 255 / 0.5);
text-align: center;
}
.charsheet input[type="number"] {
text-align: center;
width: 3.5em;
}
/* Remove input number arrows*/
/* Firefox */
.charsheet input[type="number"] {
-moz-appearance: textfield;
appearance: textfield;
}
/* Chrome */
.charsheet input::-webkit-inner-spin-button,
.charsheet input::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
/* Opéra*/
.charsheet input::-o-inner-spin-button,
.charsheet input::-o-outer-spin-button {
-o-appearance: none;
margin: 0;
}
/* Repeating Sections */
.sheet-repeat .repitem button,
.sheet-repeat .repitem input[type="text"],
.sheet-repeat .repitem input[type="number"],
.sheet-repeat .repitem select {
height: 3rem;
min-height: auto;
margin: 0;
box-sizing: border-box;
}
.sheet-abilities {
width: 595px;
}
.sheet-abilities .repitem > *:last-child {
flex-grow: 6;
width: 100%;
}
/* Ability Scores */
.scores {
background-image: url("https://github.com/Roll20/roll20-character-sheets/blob/master/Dolmenwood/images/scores.jpeg?raw=true");
background-size: 589px 150px;
height: 150px;
background-repeat: no-repeat;
background-position: center;
display: flex;
justify-content: space-evenly;
}
/* Tabs */
.sheet-character,
/* .charsheet is needed since .sheet-spells is used elsewhere */
.charsheet .sheet-spells,
.sheet-retainers,
.sheet-monster,
.sheet-notes,
.sheet-settings {
display: none;
}
input[name="attr_sheetTab"][value="character"] ~ div.sheet-character,
input[name="attr_sheetTab"][value="spells"] ~ div.sheet-spells,
input[name="attr_sheetTab"][value="retainers"] ~ div.sheet-retainers,
input[name="attr_sheetTab"][value="monster"] ~ div.sheet-monster,
input[name="attr_sheetTab"][value="notes"] ~ div.sheet-notes,
input[name="attr_sheetTab"][value="settings"] ~ div.sheet-settings {
display: block;
}
.sheet-button-select {
border-bottom: 1px solid #333;
margin-bottom: 10px;
}
.sheet-button-select button {
background: #333;
color: white;
margin-left: 10px;
box-sizing: border-box;
border: 1px solid #333;
padding: 0 15px;
margin-bottom: -1px;
border-radius: 5px 5px 0 0;
}
input[name="attr_sheetTab"][value="character"]
~ .sheet-button-select
button[name="act_character"],
input[name="attr_sheetTab"][value="spells"]
~ .sheet-button-select
button[name="act_spells"],
input[name="attr_sheetTab"][value="retainers"]
~ .sheet-button-select
button[name="act_retainers"],
input[name="attr_sheetTab"][value="monster"]
~ .sheet-button-select
button[name="act_monster"],
input[name="attr_sheetTab"][value="notes"]
~ .sheet-button-select
button[name="act_notes"],
input[name="attr_sheetTab"][value="settings"]
~ .sheet-button-select
button[name="act_settings"] {
background: white;
color: black;
border: 1px solid black;
border-bottom: 1px solid white;
}
/* Monster */
.sheet-monster select[name="attr_class"] {
margin: 0;
}
.sheet-notes-section textarea {
box-sizing: border-box;
width: 100%;
height: 15em;
font-family: "Metamorphous", serif;
}
/* Notes */
.sheet-notes .sheet-notes-section textarea {
height: 30em;
}
/* Settings */
.sheet-settings span {
background-color: transparent;
color: black;
line-height: inherit;
width: auto;
text-align: right;
min-height: inherit;
font-weight: bold;
}
.sheet-settings select {
margin: 0;
width: 100%;
}
.tab {
font-family: "Metamorphous", serif;
}
textarea[name="attr_descGoalBel"] {
height: 55px;
}
input[name="attr_background"],
input[name="attr_languages"],
input[name="attr_moonsign"] {
width: 480px;
}
div.scores label.attribute {
max-width: 88px;
max-height: 90px;
padding-top: 20px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
}
div.scores label.attribute button.attribute-roll-btn {
font-size: 12px;
}
div.scores label.attribute button.attribute-roll-btn::before {
content: "";
}
div.scores label.attribute div.attribute-scores {
display: flex;
justify-content: space-around;
width: 100%;
padding-left: 5px;
}
div.scores label.attribute div.attribute-scores input {
max-width: 30px;
border-bottom: none;
}
div.combat-info {
background-image: url("https://github.com/Roll20/roll20-character-sheets/blob/master/Dolmenwood/images/combat-info.jpeg?raw=true");
background-size: 589px 140px;
background-repeat: no-repeat;
background-position-x: center;
background-position-y: top;
width: 100%;
display: flex;
}
div.hp {
display: flex;
flex-direction: column;
justify-content: center;
width: 128px;
}
label.max-hp,
label.current-hp {
display: flex;
flex-direction: column;
align-items: center;
}
.ui-dialog .charsheet label.max-hp span,
.ui-dialog .charsheet label.current-hp span {
line-height: 1.4em;
font-size: 11px;
color: black;
}
.ui-dialog .charsheet label.current-hp span {
padding-top: 22px;
font-size: 12px;
}
.ui-dialog .charsheet label.max-hp input,
.ui-dialog .charsheet label.current-hp input {
line-height: 0;
width: 2em;
}
div.saving {
display: flex;
width: 329px;
justify-content: space-evenly;
padding-right: 7px;
}
div.sheet-saves {
display: flex;
flex-direction: column;
align-items: center;
font-family: "Metamorphous", serif;
padding-top: 13px;
padding-left: 14px;
}
label.save-group {
display: flex;
flex-direction: column;
align-items: center;
font-size: 12px;
line-height: 12px;
width: 42px;
justify-content: flex-start;
margin-bottom: 0;
}
.ui-dialog .charsheet label.bottom {
justify-content: center;
}
.ui-dialog .charsheet label.magic-resistance {
justify-content: space-between;
color: black;
font-size: 10px;
height: 73px;
}
.ui-dialog .charsheet label.save-group input {
width: 24px;
}
.ui-dialog .charsheet div.saving button[type=roll] {
font-size: 12px;
line-height: 12px;
}
.ui-dialog .charsheet button[type=roll]:before {
content: ""
}
div.movement {
font-size: 10px;
width: 100%;
margin-top: -3px;
}
div.movement table {
width: 100%
}
div.movement table caption {
text-align: center;
color: black;
}
div.movement table input[type=number] {
height: 15px;
}
div.center {
width: 340px;
}
div.ac-attack {
display: flex;
flex-direction: column;
align-items: center;
width: 119px;
padding-right: 5px;
margin-left: 9px;
justify-content: space-around;
}
label.ac {
display: flex;
flex-direction: column;
align-items: center;
height: 63px;
justify-content: space-between;
}
label.attack {
display: flex;
flex-direction: column;
align-items: center;
}
label.attack span {
line-height: 1.4em;
font-size: 13px;
padding-bottom: 8px;
}
.weapons-grid {
grid-gap: 5px;
display: grid;
margin-bottom: 5px;
grid-template-columns: 35px 1.5fr 0.75fr 0.5fr 0.5fr 0.5fr 0.5fr;
font-family: "Metamorphous", serif;
font-size: 12px;
}
.weapons-grid-monster {
grid-gap: 5px;
display: grid;
margin-bottom: 5px;
grid-template-columns: 35px 1.5fr 0.5fr 1fr 0.5fr 0.5fr 0.5fr 0.5fr;
font-family: "Metamorphous", serif;
font-size: 12px;
}
.weapons-grid span,
.weapons-grid-monster span {
width: 100%;
line-height: 2.5em;
box-sizing: border-box;
}
.weapons-grid input[type="text"],
.weapons-grid input[type="number"],
.weapons-grid select,
.weapons-grid-monster input[type="text"],
.weapons-grid-monster input[type="number"],
.weapons-grid-monster select {
width: 100%;
font-family: "Metamorphous", serif;
font-size: 12px;
}
.weapons-grid input[type="text"],
.weapons-grid select,
.armor-grid input[type="text"],
.armor-grid select,
input.weapon-description[type="text"],
input.armor-description[type="text"],
.weapons-grid-monster input[type="text"],
.weapons-grid-monster select {
text-align: left;
}
.ui-dialog .charsheet input[name="attr_armorValue"][type="number"] {
width: 100%;
}
div.kindred-traits textarea,
div.class-traits label,
div.class-traits textarea,
div.repcontrol button,
textarea[name="attr_retainerNotes"],
.sheetform li {
font-family: "Metamorphous", serif;
}
input.weapon-description,
input.armor-description {
width: 100%;
display: block;
margin-bottom: 5px;
font-family: "Metamorphous", serif;
}
button.attack-roll:before {
content: "t"
}
.ui-dialog .charsheet div.repcontainer[data-groupname="repeating_weapons"] .repitem {
background-image: url("https://github.com/Roll20/roll20-character-sheets/blob/master/Dolmenwood/images/sword.jpg?raw=true");
background-size: 604px 275px;
background-repeat: no-repeat;
background-position: center;
background-color: rgba(255,255,255,0.6);
background-blend-mode: lighten;
margin-bottom: 10px;
}
.ui-dialog .charsheet div.repcontainer[data-groupname="repeating_weapons"] .repitem input[type="number"] {
width: 100%;
}
.armor-grid {
grid-gap: 5px;
display: grid;
margin-bottom: 5px;
grid-template-columns: 8fr 2fr 1fr;
}
.armor-grid span {
width: 100%;
line-height: 2.5em;
box-sizing: border-box;
font-family: "Metamorphous", serif;
}
.armor-grid .checkbox {
display: flex;
align-items: center;
justify-content: center;
}
.armor-grid input[type="text"],
.armor-grid input[type="number"],
.armor-grid select {
width: 100%;
font-family: "Metamorphous", serif;
font-size: 12px;
}
.ui-dialog .charsheet div.repcontainer[data-groupname="repeating_armor"] .repitem {
background-image: url("https://github.com/Roll20/roll20-character-sheets/blob/master/Dolmenwood/images/celtic-knot.jpg?raw=true");
background-size: 350px 90px;
background-repeat: no-repeat;
background-position: center;
background-color: rgba(255,255,255,0.6);
background-blend-mode: lighten;
margin-bottom: 10px;
}
.abilities-grid {
grid-gap: 5px;
display: grid;
margin-bottom: 5px;
grid-template-columns: 50px 2fr 1fr 4fr 0.25fr;
font-family: "Metamorphous", serif;
}
.abilities-grid-title {
grid-gap: 5px;
display: grid;
margin-bottom: 5px;
grid-template-columns: 50px 4.5fr 1fr 4fr 1fr;
font-family: "Metamorphous", serif;
}
.ui-dialog .charsheet .xp {
grid-gap: 5px;
display: grid;
grid-template-columns: 1fr 4fr 1fr 4fr 1fr 4fr 1fr 4fr 1fr 4fr;
font-family: "Metamorphous", serif;
font-size: 13px;
margin-bottom: 10px;
font-weight: normal;
}
.ui-dialog .charsheet .xp input[type=number],
.ui-dialog .charsheet .xp input[type=text] {
width: 100%
}
.inventory {
background-image: url("https://github.com/Roll20/roll20-character-sheets/blob/master/Dolmenwood/images/inventroy.jpeg?raw=true");
background-size: 592px 870px;
background-repeat: no-repeat;
background-position: center;
height: 870px;
font-family: "Metamorphous", serif;
}
.items {
display: flex;
font-family: "Metamorphous", serif;
justify-content: space-between;
padding-left: 13px;
padding-right: 11px;
}
.inventory span {
font-size: 15px;
}
div.inventory fieldset.encumbrance {
display: flex;
align-items: center;
justify-content: space-around;
font-family: "Metamorphous", serif;
font-size: 12px;
color: black;
margin-bottom: 17px;
width: 386px;
margin-left: 43px;
}
div.inventory fieldset.encumbrance div {
display: flex;
}
div.inventory fieldset.encumbrance label {
font-size: 12px;
color: black;
width: auto;
margin-bottom: 0;
font-weight: normal;
padding-left: 10px;
}
div.items textarea {
width: 220px;
height: 122px;
margin-top: 12px;
margin-left: 3px;
margin-bottom: 14px;
}
div.inventory .left,
div.inventory .right {
display: flex;
flex-direction: column;
align-items: flex-start;
}
.items span.stowed {
margin-bottom: -7px;
}
div.inventory div.items input[type="text"] {
width: 203px;
}
div.total-weight {
margin-top: 8px;
margin-left: 21px;
}
div.inventory div.total-weight input[type=number] {
margin-left: 20px;
width: 112px;
}
.notes-and-coins {
display: flex;
margin-top: 23px;
margin-left: 25px;
}
.item-notes {
width: 451px;
}
.item-notes textarea{
margin-top: 15px;
width: 430px;
height: 260px;
}
.sheet-coins {
display: flex;
flex-direction: column;
align-items: center;
margin-left: 3px;
margin-top: 34px;
}
.sheet-coins span {
font-size: 12px;
margin-bottom: 12px;
margin-top: 7px;
}
.sheet-turn-undead {
display: none;
}
input[name="attr_turnUndead"][value=true] ~ .sheet-character .class-traits div.sheet-turn-undead {
display: block;
font-family: "Metamorphous", serif;
font-size: 15px;
margin-bottom: 10px;
}
div.sheet-turn-undead div {
display: flex;
justify-content: space-evenly;
align-items: center;
}
.charsheet div.kindred-traits label,
.charsheet div.class-traits label{
color: black;
}
.sheet-arcane-spells-sub,
.sheet-holy-spells-sub,
.sheet-glamours-sub,
.sheet-runes-sub,
.sheet-knacks-sub,
input[name="attr_arcaneSpells"][value*=","] ~ .sheet-spells .sheet-cannot-cast-message,
input[name="attr_holySpells"][value*=","] ~ .sheet-spells .sheet-cannot-cast-message,
input[name="attr_knacks"][value="true"] ~ .sheet-spells .sheet-cannot-cast-message,
input[name="attr_runes"][value="true"] ~ .sheet-spells .sheet-cannot-cast-message,
input[name="attr_glamours"][value="true"] ~ .sheet-spells .sheet-cannot-cast-message,
input[name="attr_class"][value="Monster" ] ~ .sheet-spells .sheet-cannot-cast-message,
input[name="attr_class"][value="Custom Kindred-class" ] ~ .sheet-spells .sheet-cannot-cast-message,
input[name="attr_class"][value="Custom" ] ~ .sheet-spells .sheet-cannot-cast-message,
input[name="attr_kindred"][value="custom" ] ~ .sheet-spells .sheet-cannot-cast-message {
display: none;
}
input[name="attr_arcaneSpells"][value*=","] ~ .sheet-spells .sheet-arcane-spells-sub,
input[name="attr_holySpells"][value*=","] ~ .sheet-spells .sheet-holy-spells-sub,
input[name="attr_knacks"][value="true"] ~ .sheet-spells .sheet-knacks-sub,
input[name="attr_runes"][value="true"] ~ .sheet-spells .sheet-runes-sub,
input[name="attr_glamours"][value="true"] ~ .sheet-spells .sheet-glamours-sub,
input[name="attr_class"][value="Monster" ] ~ .sheet-spells .sheet-custom-spells,
input[name="attr_class"][value="Custom Kindred-class" ] ~ .sheet-spells .sheet-custom-spells,
input[name="attr_class"][value="Custom" ] ~ .sheet-spells .sheet-custom-spells,
input[name="attr_kindred"][value="custom" ] ~ .sheet-spells .sheet-custom-spells,
.sheet-spells .sheet-cannot-cast-message {
display: block;
}
input[name="attr_class"][value="Breggle"] ~ .sheet-character .info-grid div.infos div.flex label.inline-flex select.sheet-kindred,
input[name="attr_class"][value="Cobbin"] ~ .sheet-character .info-grid div.infos div.flex label.inline-flex select.sheet-kindred,
input[name="attr_class"][value="Elf"] ~ .sheet-character .info-grid div.infos div.flex label.inline-flex select.sheet-kindred,
input[name="attr_class"][value="Grimalkin"] ~ .sheet-character .info-grid div.infos div.flex label.inline-flex select.sheet-kindred,
input[name="attr_class"][value="Mossling"] ~ .sheet-character .info-grid div.infos div.flex label.inline-flex select.sheet-kindred,
input[name="attr_class"][value="Woodgrue"] ~ .sheet-character .info-grid div.infos div.flex label.inline-flex select.sheet-kindred,
input[name="attr_class"][value="Monster"] ~ .sheet-character .info-grid div.infos div.flex label.inline-flex select.sheet-kindred,
input[name="attr_class"][value="Custom Kindred-class" ] ~ .sheet-character .info-grid div.infos div.flex label.inline-flex select.sheet-kindred {
pointer-events: none;
background-color: #aaa;
color:#333;
}
div.sheet-custom-spells div.custom-spell-selector {
display: flex;
justify-content: space-around;
align-items: center;
color: black;
}
div.sheet-custom-spells div.custom-spell-selector label {
color: black;
margin-bottom: 0px;
width: auto;
}
.h-line {
width: 100%;
height: 1px;
background: #393939;
margin: 1em 0;
}
.spell-rank-header {
display: flex;
align-items: center;
font-family: "Metamorphous", serif;
font-size: 15px;
margin-bottom: 5px;
}
.spell-rank-header label {
width: auto;
}
.spell-grid-outer {
display: grid;
margin-bottom: 5px;
grid-template-columns: 1fr 0.95fr;
}
.spell-grid-outer textarea {
height: 95%;
}
.spell-row{
display: flex;
justify-content: space-between;
align-items: center;
width: 295px;
}
.spell-grid-outer .spell-row input[type="number"] {
width: 210px;
}
.monster-row {
display: flex;
font-family: "Metamorphous", serif;
font-size: 15px;
align-items: center;
margin-bottom: 5px;
justify-content: space-evenly;
}
.ui-dialog .charsheet .monster-row button[type="roll"],
.ui-dialog .charsheet button[type="roll"] {
font-size: 12px;
font-family: "Metamorphous", serif;
}
.monster-row input[name="attr_hitdice"] {
width: 50px;
}
.sheet-coins {
color: inherit;
}
input[name="attr_coinsOverloaded"]:checked ~ div .sheet-coins span,
input[name="attr_coinsOverloaded"]:checked ~ div .sheet-coins input {
color: red;
}
.sheet-pouch-full {
display: none !important;
}
.sheet-pouch-full input {
width: 35px;
text-align: center;
color: red;
}
span.sheet-pouch-full span {
color: red;
}
input[name="attr_coinsOverloaded"]:checked ~ .sheet-pouch-full {
color: red;
display: flex !important;
justify-content: center;
align-items: center;
}
textarea.in-monster-row {
height: 20px;
font-size: 12px;
font-family: "Metamorphous", serif;
}