376 lines
6.5 KiB
CSS
376 lines
6.5 KiB
CSS
/*! ----------------- DEAD OF NIGHT CSS v1.01 ------------------ */
|
|
@import url("https://fonts.googleapis.com/css?family=Special+Elite&display=swap");
|
|
.sheet-wrapper,
|
|
.sheet-rolltemplate-skill {
|
|
font-family: "Special Elite", serif;
|
|
}
|
|
|
|
.sheet-main {
|
|
display: grid;
|
|
grid-gap: 6px 12px;
|
|
grid-template-areas: "skills survival target" "skills notes notes" "skills habits habits";
|
|
grid-template-columns: 50% 25% 25%;
|
|
grid-template-rows: 105px auto 137px;
|
|
width: calc(100% - 4rem);
|
|
min-width: 680px;
|
|
max-width: 680px;
|
|
height: auto;
|
|
padding: 2rem;
|
|
}
|
|
|
|
.sheet-edit {
|
|
padding: 2rem;
|
|
width: calc(100% - 4rem);
|
|
min-width: 340px;
|
|
max-width: 680px;
|
|
}
|
|
.sheet-edit > div {
|
|
border: 2px dotted #f5f5f5;
|
|
box-shadow: 2px 2px 12px 0 #f0f0f0;
|
|
}
|
|
|
|
.sheet-tabs {
|
|
position: relative;
|
|
width: 680px;
|
|
padding: 0 2rem;
|
|
border-bottom: 2px solid #aaa;
|
|
z-index: 2;
|
|
}
|
|
|
|
.sheet-footer {
|
|
padding: 2rem 0;
|
|
width: calc(100% - 4rem);
|
|
min-width: 340px;
|
|
max-width: 680px;
|
|
}
|
|
|
|
label {
|
|
display: block;
|
|
height: 1.5em;
|
|
}
|
|
|
|
textarea {
|
|
width: calc(100% - 1em);
|
|
height: calc(100% - 4em);
|
|
}
|
|
|
|
.sheet-section {
|
|
padding: 1rem;
|
|
border: 2px dotted #f5f5f5;
|
|
box-shadow: 2px 2px 12px 0 #f0f0f0;
|
|
}
|
|
|
|
.sheet-u-w100 {
|
|
width: 100%;
|
|
}
|
|
|
|
.sheet-u-font-small {
|
|
font-size: 1em;
|
|
}
|
|
|
|
.sheet-u-font-med {
|
|
font-size: 1.3em;
|
|
}
|
|
|
|
.sheet-u-font-large {
|
|
font-size: 1.8em;
|
|
}
|
|
|
|
.sheet-u-ucase {
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.sheet-u-text-right {
|
|
text-align: right;
|
|
}
|
|
|
|
.sheet-u-text-center {
|
|
text-align: center;
|
|
}
|
|
|
|
.sheet-u-hide {
|
|
display: none;
|
|
}
|
|
|
|
.sheet-u-block {
|
|
display: block;
|
|
}
|
|
|
|
.sheet-u-flex {
|
|
display: flex;
|
|
}
|
|
|
|
.sheet-u-flex-align-center {
|
|
align-items: center;
|
|
}
|
|
|
|
.sheet-u-flex-justify-center {
|
|
justify-content: center;
|
|
}
|
|
|
|
.sheet-u-flex-justify-end {
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.sheet-u-flexcol {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.sheet-u-flexrow {
|
|
flex-direction: row;
|
|
}
|
|
|
|
.sheet-u-flexrow-reverse {
|
|
flex-direction: row-reverse;
|
|
}
|
|
|
|
.sheet-name {
|
|
grid-area: name;
|
|
}
|
|
|
|
.sheet-notes {
|
|
grid-area: notes;
|
|
}
|
|
|
|
.sheet-skills {
|
|
grid-area: skills;
|
|
}
|
|
|
|
.sheet-survival {
|
|
grid-area: survival;
|
|
}
|
|
|
|
.sheet-habits {
|
|
grid-area: habits;
|
|
}
|
|
|
|
.sheet-target {
|
|
grid-area: target;
|
|
}
|
|
|
|
.sheet-skill:not(:last-child) {
|
|
border-bottom: 2px dashed #aaa;
|
|
}
|
|
|
|
.sheet-skill__row {
|
|
padding: 0.5rem 0 1rem;
|
|
}
|
|
|
|
.sheet-skill--specs {
|
|
padding: 0.5rem 0;
|
|
background-color: #f5f5f5;
|
|
}
|
|
|
|
.sheet-edit__specs {
|
|
background-color: #f5f5f5;
|
|
}
|
|
|
|
.sheet-skill__column {
|
|
flex-basis: 100%;
|
|
padding: 0 1rem;
|
|
}
|
|
|
|
.sheet-button {
|
|
transition-property: background-color, border;
|
|
transition-duration: 0.2s;
|
|
transition-timing-function: ease-in-out;
|
|
border-radius: 3px;
|
|
background-image: none;
|
|
text-shadow: none;
|
|
}
|
|
|
|
.sheet-button__text {
|
|
display: block;
|
|
padding-top: 0.5em;
|
|
padding-bottom: 0.5em;
|
|
}
|
|
|
|
.sheet-button__tab-text {
|
|
display: block;
|
|
padding-top: 0.5em;
|
|
}
|
|
|
|
.sheet-button::before {
|
|
display: none;
|
|
}
|
|
|
|
.sheet-button--roll {
|
|
position: relative;
|
|
width: 2em;
|
|
border: 2px solid #aaa;
|
|
background-color: #e3e3e3;
|
|
}
|
|
.sheet-button--roll::before {
|
|
content: "ROLL" !important;
|
|
display: block;
|
|
position: absolute;
|
|
bottom: -1px;
|
|
left: 50%;
|
|
width: 40px;
|
|
height: 16px;
|
|
transform: translateX(-50%);
|
|
color: #aaa;
|
|
font-family: "Special Elite", serif !important;
|
|
font-size: 0.8em;
|
|
}
|
|
|
|
.sheet-button--mod {
|
|
padding: 0.7em 0.5em 0.3em;
|
|
border: 2px solid #aaa;
|
|
background-color: #e3e3e3;
|
|
width: 2em;
|
|
}
|
|
|
|
.sheet-button--mod:focus {
|
|
outline: none;
|
|
}
|
|
|
|
.sheet-button--roll:hover,
|
|
.sheet-button--mod:hover {
|
|
background-color: #fff;
|
|
}
|
|
|
|
.sheet-button--mod-sub:hover {
|
|
background-color: lightpink;
|
|
border-color: indianred;
|
|
}
|
|
|
|
.sheet-button--mod-add:hover {
|
|
background-color: lightgreen;
|
|
border-color: darkolivegreen;
|
|
}
|
|
|
|
.sheet-button--tab {
|
|
border-top: 2px solid #aaa;
|
|
border-right: 2px solid #aaa;
|
|
border-left: 2px solid #aaa;
|
|
border-bottom: 2px solid #aaa;
|
|
padding: 0.5em 1em 0;
|
|
margin-top: 5px;
|
|
margin-bottom: -2px;
|
|
margin-left: -2px;
|
|
border-top-left-radius: 14px;
|
|
border-top-right-radius: 14px;
|
|
border-bottom-left-radius: 0;
|
|
border-bottom-right-radius: 0;
|
|
color: #aaa;
|
|
}
|
|
.sheet-button--tab:focus {
|
|
outline: none;
|
|
}
|
|
|
|
.sheet-tabstoggle[value=character] ~ .sheet-tabs .sheet-button--tab[name=act_character],
|
|
.sheet-tabstoggle[value=edit] ~ .sheet-tabs .sheet-button--tab[name=act_edit] {
|
|
margin-top: 0;
|
|
padding-bottom: 1em;
|
|
border-bottom: 0;
|
|
background-color: white;
|
|
color: #333;
|
|
}
|
|
|
|
.sheet-display-number {
|
|
display: inline-block;
|
|
padding: 0 0.5em 0.5em;
|
|
transform: translateY(0.15em);
|
|
line-height: 1;
|
|
}
|
|
|
|
.sheet-modify-input {
|
|
padding-top: 0.5em;
|
|
}
|
|
|
|
.sheet-rolltemplate-skill {
|
|
padding-top: 0.5rem;
|
|
}
|
|
|
|
.sheet-rolltemplate-skill .sheet-template-container {
|
|
border: 2px solid #aaa;
|
|
text-align: center;
|
|
line-height: 1.2;
|
|
background-color: #f5f5f5;
|
|
box-shadow: 2px 2px 12px 0 #999;
|
|
}
|
|
.sheet-rolltemplate-skill .sheet-template-container > div {
|
|
padding: 0.5rem;
|
|
}
|
|
|
|
.sheet-rolltemplate-skill .sheet-template-header {
|
|
background-color: #aaa;
|
|
}
|
|
|
|
.sheet-rolltemplate-skill .sheet-template-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.sheet-rolltemplate-skill .sheet-subtitle {
|
|
font-size: 1.8em;
|
|
}
|
|
|
|
.sheet-rolltemplate-skill .sheet-modifier {
|
|
font-size: 1.8em;
|
|
}
|
|
|
|
.sheet-rolltemplate-skill .sheet-template-dice {
|
|
font-family: "dicefontd10", sans-serif;
|
|
font-size: 4em;
|
|
line-height: 1;
|
|
}
|
|
|
|
.sheet-rolltemplate-skill .sheet-template-total {
|
|
padding: 0.5rem;
|
|
}
|
|
.sheet-rolltemplate-skill .sheet-template-total > span {
|
|
font-size: 1.8em;
|
|
display: inline-block;
|
|
padding-top: 0.3em;
|
|
background-color: transparent;
|
|
}
|
|
|
|
.sheet-rolltemplate-skill .sheet-template-footer--fail {
|
|
background-color: lightpink;
|
|
}
|
|
.sheet-rolltemplate-skill .sheet-template-footer--fail .sheet-template-total > span {
|
|
border-color: indianred;
|
|
}
|
|
|
|
.sheet-rolltemplate-skill .sheet-template-footer--success {
|
|
background-color: lightgreen;
|
|
}
|
|
.sheet-rolltemplate-skill .sheet-template-footer--success .sheet-template-total > span {
|
|
border-color: darkolivegreen;
|
|
}
|
|
|
|
.sheet-rolltemplate-skill .sheet-template-row-head {
|
|
padding-top: 0.3em;
|
|
}
|
|
|
|
.sheet-rolltemplate-skill .sheet-template-equal {
|
|
display: block;
|
|
padding-top: 0.5em;
|
|
font-size: 1em;
|
|
}
|
|
|
|
.sheet-tabcharacter .repcontrol {
|
|
display: none;
|
|
}
|
|
|
|
.sheet-toggle-target {
|
|
display: none;
|
|
}
|
|
|
|
.sheet-checkbox--toggle:checked + .sheet-toggle-target {
|
|
display: initial;
|
|
}
|
|
|
|
.sheet-tabcharacter,
|
|
.sheet-tabedit {
|
|
display: none;
|
|
}
|
|
|
|
.sheet-tabstoggle[value=character] ~ .sheet-tabcharacter,
|
|
.sheet-tabstoggle[value=edit] ~ .sheet-tabedit {
|
|
display: block;
|
|
}
|