mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-30 03:40:32 +00:00
490 lines
12 KiB
CSS
490 lines
12 KiB
CSS
@import url("https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz|Special+Elite|Fredericka+the+Great|Anton&display=swap");
|
|
.charsheet h1, .charsheet h3, .charsheet label, .charsheet span, .charsheet div {
|
|
font-family: "Fredericka the Great";
|
|
font-weight: bold;
|
|
}
|
|
.charsheet label, .charsheet div, .charsheet span, .charsheet button[type=roll] {
|
|
text-transform: capitalize;
|
|
flex-grow: 0;
|
|
align-self: center;
|
|
}
|
|
.charsheet div, .charsheet span, .charsheet label {
|
|
flex-shrink: 1;
|
|
}
|
|
.charsheet h3 {
|
|
margin: 0.4em;
|
|
}
|
|
.charsheet textarea, .charsheet input[type=number], .charsheet input[type=text], .charsheet select, .charsheet option {
|
|
display: flex;
|
|
flex-grow: 6;
|
|
flex-shrink: 1;
|
|
align-self: center;
|
|
font-family: "Special Elite";
|
|
padding-bottom: 1px;
|
|
}
|
|
.charsheet label {
|
|
padding-left: 15px;
|
|
padding-top: 5px;
|
|
text-align: center;
|
|
font-size: 1.6em;
|
|
}
|
|
.charsheet .dirtyborder {
|
|
border-width: 3px;
|
|
border-image-source: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/cepheus-atom/img-noise.png");
|
|
border-image-slice: 4% 5% 13;
|
|
filter: invert(100%) sepia(93%);
|
|
}
|
|
.charsheet .dirtyborder * {
|
|
all: inherit;
|
|
border: none;
|
|
}
|
|
.charsheet input[type=text] {
|
|
font-size: 1.1em;
|
|
}
|
|
.charsheet input[type=text],
|
|
.charsheet input[type=number] {
|
|
background-color: transparent;
|
|
border-style: none none solid none;
|
|
border-color: black;
|
|
border-radius: 0px;
|
|
width: fit-content;
|
|
padding: 2px;
|
|
margin: auto 5px 5px 5px;
|
|
max-height: 50px;
|
|
}
|
|
.charsheet input[type=number] {
|
|
text-align: center;
|
|
}
|
|
.charsheet textarea {
|
|
background-color: transparent;
|
|
width: 95%;
|
|
height: max-content;
|
|
}
|
|
.charsheet input[type=checkbox].checkbox {
|
|
border-style: solid black;
|
|
border-radius: 0px;
|
|
height: auto;
|
|
}
|
|
.charsheet textarea:focus,
|
|
.charsheet input[type=text]:focus,
|
|
.charsheet input[type=number]:focus {
|
|
background-color: #cab7b7;
|
|
}
|
|
.charsheet textarea.warn-missing:placeholder-shown,
|
|
.charsheet input[type=text].warn-missing:placeholder-shown,
|
|
.charsheet input[type=number].warn-missing:placeholder-shown {
|
|
background-color: #EAC9D1;
|
|
}
|
|
.charsheet input[type=number].txtfield::-webkit-inner-spin-button,
|
|
.charsheet input[type=number].txtfield::-webkit-outer-spin-button {
|
|
-webkit-appearance: none;
|
|
margin: 0;
|
|
}
|
|
.charsheet input[type=number].txtfield {
|
|
-moz-appearance: textfield;
|
|
}
|
|
.charsheet button[type=roll], .charsheet button[type=roll].d6, .charsheet button[type=roll].blank {
|
|
text-shadow: none;
|
|
background-position: 0 -60px;
|
|
background-color: #d9d9d9;
|
|
border: 3px none;
|
|
}
|
|
.charsheet button[type=roll].blank::before {
|
|
content: "";
|
|
height: min-content;
|
|
text-align: center;
|
|
}
|
|
.charsheet button[type=roll].d6::before {
|
|
font-family: "dicefontd6";
|
|
content: "F ";
|
|
text-transform: none;
|
|
}
|
|
.charsheet button[type=roll].sendtext::before {
|
|
font-family: "Pictos";
|
|
content: "w ";
|
|
color: black;
|
|
text-transform: none;
|
|
}
|
|
.charsheet button[type=roll].d6:hover, .charsheet button[type=roll].blank:hover, .charsheet button[type=roll]:hover {
|
|
border: 2px solid black;
|
|
background-color: #80550f;
|
|
text-shadow: none;
|
|
}
|
|
.charsheet section, .charsheet .section {
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
align-items: center;
|
|
justify-content: space-around;
|
|
align-content: space-around;
|
|
}
|
|
.charsheet .border {
|
|
border: solid 2px black;
|
|
padding: 2px;
|
|
}
|
|
.charsheet .flex-center {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.charsheet .flex-middle {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
.charsheet .flex-col {
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
}
|
|
.charsheet .flex-row {
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
}
|
|
.charsheet main {
|
|
display: grid;
|
|
grid-template-columns: 3fr 100px 4fr 3fr;
|
|
grid-template-rows: 1fr 1.5fr 1.5fr 2fr;
|
|
grid-template-areas: "name name name skills" "general general equip skills" "mutation mutation combat combat" "mutation mutation notes notes ";
|
|
grid-gap: 4px;
|
|
width: 825px;
|
|
height: 900px;
|
|
background-color: whitesmoke;
|
|
}
|
|
.charsheet section.name {
|
|
grid-area: name;
|
|
align-items: start;
|
|
padding: 5px;
|
|
}
|
|
.charsheet section.name input[type=checkbox] {
|
|
height: auto;
|
|
transform: scale(1.1);
|
|
}
|
|
.charsheet section.name :is(input[type=text] input[type=number] span) {
|
|
font-size: 1.1em;
|
|
}
|
|
.charsheet section.name .pad {
|
|
padding: 8px;
|
|
}
|
|
.charsheet section.name h1 {
|
|
margin-top: 5px;
|
|
}
|
|
.charsheet section.name h1 span {
|
|
text-transform: uppercase;
|
|
padding-bottom: 8px;
|
|
}
|
|
.charsheet section.name .flex-row.name {
|
|
justify-content: space-around;
|
|
width: 100%;
|
|
}
|
|
.charsheet section.name .desc {
|
|
width: 100%;
|
|
}
|
|
.charsheet section.name .desc span {
|
|
align-self: start;
|
|
padding-left: 30px;
|
|
}
|
|
.charsheet .atom {
|
|
font-family: Pictos Three;
|
|
content: "l";
|
|
font-size: 54px;
|
|
width: 51px;
|
|
height: 50px;
|
|
text-transform: none;
|
|
padding-top: 10px;
|
|
padding-left: 5px;
|
|
transform: scale(-1, 1);
|
|
}
|
|
.charsheet section.general {
|
|
grid-area: general;
|
|
flex-flow: nowrap column;
|
|
}
|
|
.charsheet section.general :is(div span textarea input[type=text]) {
|
|
width: auto;
|
|
flex-shrink: 1;
|
|
}
|
|
.charsheet section.general input[type=text].geno {
|
|
width: 117px;
|
|
}
|
|
.charsheet section.general input[type=checkbox] {
|
|
align-self: center;
|
|
margin-top: 0.5em;
|
|
}
|
|
.charsheet section.general .flex-row {
|
|
justify-content: space-around;
|
|
width: 100%;
|
|
}
|
|
.charsheet section.general input[type=radio] {
|
|
opacity: 0;
|
|
height: 27px;
|
|
width: 27px;
|
|
position: absolute;
|
|
z-index: 10;
|
|
}
|
|
.charsheet section.general input + span {
|
|
display: inline-block;
|
|
content: "";
|
|
width: 2em;
|
|
height: 2em;
|
|
background: black;
|
|
padding-top: 3px;
|
|
text-align: center;
|
|
color: wheat;
|
|
font-size: 1.2em;
|
|
font-weight: 600;
|
|
line-height: 2;
|
|
border: 3px solid burlywood;
|
|
border-image-source: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/cepheus-atom/img-noise.png");
|
|
border-image-slice: 16% 6% 13;
|
|
filter: invert(100%) sepia(93%);
|
|
}
|
|
.charsheet section.general input:checked + span {
|
|
background: white;
|
|
opacity: 1;
|
|
color: black;
|
|
}
|
|
.charsheet input[type=number].lifeblood {
|
|
width: 2.3em;
|
|
}
|
|
.charsheet .contam-row {
|
|
margin-bottom: 30px;
|
|
}
|
|
.charsheet section.skills {
|
|
grid-area: skills;
|
|
}
|
|
.charsheet section.skills label {
|
|
font-size: 2.2em;
|
|
}
|
|
.charsheet section.skills .flex-row {
|
|
width: 90%;
|
|
}
|
|
.charsheet section.skills .flex-row input {
|
|
width: 2.2em;
|
|
margin: 0 10px;
|
|
border: 4px solid black;
|
|
border-radius: 22px;
|
|
font-size: 1.4em;
|
|
padding: 6px 6px 3px 6px;
|
|
flex-grow: 0;
|
|
border-image-source: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/cepheus-atom/img-noise.png");
|
|
border-image-slice: 16% 6% 13;
|
|
filter: invert(100%) sepia(93%);
|
|
color: white;
|
|
}
|
|
.charsheet section.skills .flex-row input:focus {
|
|
color: black;
|
|
}
|
|
.charsheet section.skills .flex-row input.warn-missing:placeholder-shown {
|
|
background-color: #a9999d;
|
|
}
|
|
.charsheet section.skills .flex-row button {
|
|
width: 108px;
|
|
font-size: 1.6em;
|
|
flex-shrink: 0;
|
|
}
|
|
.charsheet section.combat {
|
|
grid-area: combat;
|
|
justify-content: start;
|
|
gap: 10px;
|
|
}
|
|
.charsheet section.combat .flex-row.section {
|
|
margin-top: 0.3em;
|
|
}
|
|
.charsheet section.combat .flex-row.section button {
|
|
height: 20px;
|
|
}
|
|
.charsheet section.combat div.armor input.name {
|
|
width: 120px;
|
|
flex-grow: 1;
|
|
}
|
|
.charsheet section.combat div.grid-weapon {
|
|
display: grid;
|
|
grid-template-columns: 30px 105px 74px 50px auto;
|
|
grid-template-rows: 25px 1fr 1fr 1fr 1fr 1fr;
|
|
grid-gap: 5px;
|
|
grid-row-gap: 7px;
|
|
width: 494px;
|
|
}
|
|
.charsheet section.combat div.grid-weapon * {
|
|
font-size: 1.3em;
|
|
}
|
|
.charsheet section.combat div.grid-weapon span {
|
|
width: 70px;
|
|
font-size: 1.5em;
|
|
text-align: center;
|
|
justify-self: center;
|
|
font-weight: bold;
|
|
}
|
|
.charsheet section.combat div.grid-weapon button {
|
|
width: 18px;
|
|
margin-left: 5px;
|
|
}
|
|
.charsheet section.combat input[type=text].weapon-name {
|
|
width: 105px;
|
|
}
|
|
.charsheet section.combat input[type=text].weapon-notes {
|
|
width: 204px;
|
|
}
|
|
.charsheet section.combat input[type=text].dmg {
|
|
width: 40px;
|
|
text-align: center;
|
|
}
|
|
.charsheet section.combat input[type=text].range {
|
|
width: 66px;
|
|
text-align: center;
|
|
}
|
|
.charsheet section.equip {
|
|
grid-area: equip;
|
|
}
|
|
.charsheet section.notes {
|
|
grid-area: notes;
|
|
}
|
|
.charsheet section.mutation {
|
|
grid-area: mutation;
|
|
padding: 0.6em;
|
|
justify-content: start;
|
|
}
|
|
.charsheet section.mutation label {
|
|
width: auto;
|
|
}
|
|
.charsheet .repcontrol[data-groupname=repeating_mutations] {
|
|
width: 100%;
|
|
justify-content: space-between;
|
|
}
|
|
.charsheet .repcontrol[data-groupname=repeating_mutations] button.repcontrol_edit, .charsheet .repcontrol[data-groupname=repeating_mutations] button.repcontrol_add {
|
|
font-family: "Special Elite";
|
|
font-weight: 700;
|
|
font-size: 1.1em;
|
|
}
|
|
.charsheet .repcontainer[data-groupname=repeating_mutations] {
|
|
width: 100%;
|
|
}
|
|
.charsheet .repcontainer[data-groupname=repeating_mutations] > .repitem {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 3px;
|
|
flex-flow: wrap row;
|
|
}
|
|
.charsheet .repcontainer[data-groupname=repeating_mutations] > .repitem .repcontrol_del {
|
|
font-family: "Pictos";
|
|
font-size: 1.1em;
|
|
padding: 3px 7px 2px;
|
|
}
|
|
.charsheet .repcontainer[data-groupname=repeating_mutations] > .repitem .repcontrol_move {
|
|
font-size: 1.3em;
|
|
padding: 3px 7px;
|
|
}
|
|
.charsheet .repcontainer[data-groupname=repeating_mutations] > .repitem input[type=text] {
|
|
width: auto;
|
|
font-size: 1.2em;
|
|
border-style: none none solid none;
|
|
border-width: 2px;
|
|
}
|
|
.charsheet .repcontainer[data-groupname=repeating_mutations] > .repitem input[type=text].name {
|
|
width: 70px;
|
|
flex-grow: 2;
|
|
}
|
|
.charsheet .repcontainer[data-groupname=repeating_mutations] > .repitem input[type=number] {
|
|
font-size: 1.3em;
|
|
width: 40px;
|
|
}
|
|
.charsheet .repcontainer[data-groupname=repeating_mutations] > .repitem select {
|
|
width: 66px;
|
|
font-size: 1.1em;
|
|
margin-top: 5px;
|
|
margin-bottom: 0px;
|
|
text-align: center;
|
|
height: 35px;
|
|
flex-grow: 2;
|
|
}
|
|
.charsheet .repcontainer[data-groupname=repeating_mutations] > .repitem button {
|
|
padding: 5px;
|
|
font-size: 1em;
|
|
}
|
|
|
|
.withoutavatars .sheet-rolltemplate-rolls {
|
|
margin-left: -7px;
|
|
}
|
|
|
|
.sheet-rolltemplate-rolls {
|
|
margin-left: -37px;
|
|
font-family: "Special Elite";
|
|
}
|
|
.sheet-rolltemplate-rolls .sheet-container {
|
|
border: 3px solid black;
|
|
border-radius: 3px;
|
|
}
|
|
.sheet-rolltemplate-rolls .sheet-header {
|
|
background-color: var(--header-bg-color, #a83521);
|
|
color: var(--header-text-color, #FFF);
|
|
text-align: left;
|
|
text-transform: capitalize;
|
|
padding: 5px;
|
|
border-bottom: 2px solid black;
|
|
font-family: "Fredericka the Great";
|
|
}
|
|
.sheet-rolltemplate-rolls .sheet-title, .sheet-rolltemplate-rolls .sheet-name {
|
|
font-size: 1.4em;
|
|
font-weight: bold;
|
|
font-family: "Fredericka the Great";
|
|
}
|
|
.sheet-rolltemplate-rolls .sheet-subtitle {
|
|
font-size: 1em;
|
|
font-weight: bold;
|
|
font-family: "Fredericka the Great";
|
|
}
|
|
.sheet-rolltemplate-rolls .sheet-container {
|
|
--header-bg-color: #80550f;
|
|
--header-text-color: #FFF;
|
|
}
|
|
.sheet-rolltemplate-rolls .sheet-container.sheet-color-green {
|
|
--header-bg-color: #008000;
|
|
}
|
|
.sheet-rolltemplate-rolls .sheet-container.sheet-color-blue {
|
|
--header-bg-color: #0000e0;
|
|
}
|
|
.sheet-rolltemplate-rolls .sheet-container.sheet-color-gold {
|
|
--header-bg-color: #ffdd1f;
|
|
--header-text-color: #000;
|
|
}
|
|
.sheet-rolltemplate-rolls .sheet-container.sheet-color-purple {
|
|
--header-bg-color: #c200c2;
|
|
}
|
|
.sheet-rolltemplate-rolls .sheet-container.sheet-color-black {
|
|
--header-bg-color: #000;
|
|
}
|
|
.sheet-rolltemplate-rolls .sheet-container.sheet-color-white {
|
|
--header-bg-color: #FFF;
|
|
--header-text-color: #000;
|
|
}
|
|
.sheet-rolltemplate-rolls .sheet-content {
|
|
display: grid;
|
|
background: #FFF;
|
|
grid-template-columns: auto auto;
|
|
line-height: 1.4em;
|
|
font-family: "Special Elite";
|
|
}
|
|
.sheet-rolltemplate-rolls .sheet-content > div {
|
|
padding: 5px;
|
|
}
|
|
.sheet-rolltemplate-rolls .sheet-content .sheet-rolltemplate-rolls .sheet-key {
|
|
font-weight: bold;
|
|
padding-right: 10px;
|
|
text-align: right;
|
|
}
|
|
.sheet-rolltemplate-rolls .sheet-content :is(:nth-child(4n+3) :nth-child(4n)) {
|
|
background: #EEE;
|
|
}
|
|
.sheet-rolltemplate-rolls .sheet-desc, .sheet-rolltemplate-rolls .sheet-crit, .sheet-rolltemplate-rolls .sheet-fail {
|
|
grid-column: span 2;
|
|
padding: 5px;
|
|
text-align: center;
|
|
}
|
|
.sheet-rolltemplate-rolls .sheet-crit, .sheet-rolltemplate-rolls .sheet-fail {
|
|
font-weight: bold;
|
|
font-size: 1.3em;
|
|
font-family: "Fredericka the Great";
|
|
}
|
|
.sheet-rolltemplate-rolls .sheet-crit {
|
|
color: green;
|
|
}
|
|
.sheet-rolltemplate-rolls .sheet-fail {
|
|
color: red;
|
|
}
|