mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-31 04:02:29 +00:00
631 lines
8.5 KiB
CSS
631 lines
8.5 KiB
CSS
.charsheet {
|
|
margin: 0;
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
font-display: swap;
|
|
font-size: 16px;
|
|
color: black;
|
|
background-color: mediumslateblue;
|
|
line-height: 24px;
|
|
min-width: calc(8.5in + 32px);
|
|
}
|
|
|
|
.charsheet *,
|
|
.charsheet *::before,
|
|
.charsheet *::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.pages {
|
|
color: black;
|
|
}
|
|
|
|
.sheet-darkmode .pages, .sheet-darkmode .pages h2 {
|
|
color: var(--dark-secondarytext);
|
|
}
|
|
|
|
.pages input,
|
|
.pages textarea,
|
|
.pages select {
|
|
background-color: white;
|
|
}
|
|
|
|
.sheet-darkmode .pages input,
|
|
.sheet-darkmode .pages textarea,
|
|
.sheet-darkmode .pages select {
|
|
background-color: darkgray;
|
|
color: black;
|
|
}
|
|
|
|
.sheet-darkmode .skills,
|
|
.sheet-darkmode .saves,
|
|
.sheet-darkmode .win,
|
|
.sheet-darkmode .lose,
|
|
.sheet-darkmode .prof-bonus,
|
|
.sheet-darkmode .atks-box,
|
|
.sheet-darkmode .insp-box {
|
|
background-color: darkgray;
|
|
color: black;
|
|
}
|
|
|
|
.pages button,
|
|
.pages input,
|
|
.pages select,
|
|
.pages textarea {
|
|
margin: 0;
|
|
font-family: inherit;
|
|
font-size: inherit;
|
|
line-height: inherit;
|
|
}
|
|
|
|
.pages h2 {
|
|
font-size: 32px;
|
|
line-height: 38.4px;
|
|
margin-top: 0;
|
|
margin-bottom: 0.5rem;
|
|
font-weight: 500;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.row {
|
|
--bs-gutter-x: 1.5rem;
|
|
--bs-gutter-y: 0;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
margin-top: calc(var(--bs-gutter-y) * -1);
|
|
margin-right: calc(var(--bs-gutter-x) * -.5);
|
|
margin-left: calc(var(--bs-gutter-x) * -.5);
|
|
}
|
|
|
|
.row>* {
|
|
flex-shrink: 0;
|
|
width: 100%;
|
|
max-width: 100%;
|
|
padding-right: calc(var(--bs-gutter-x) * .5);
|
|
padding-left: calc(var(--bs-gutter-x) * .5);
|
|
margin-top: var(--bs-gutter-y);
|
|
}
|
|
|
|
.col-2 {
|
|
flex: 0 0 auto;
|
|
width: 16.66666667%;
|
|
}
|
|
|
|
.col-3 {
|
|
flex: 0 0 auto;
|
|
width: 25%;
|
|
}
|
|
|
|
.col-4 {
|
|
flex: 0 0 auto;
|
|
width: 33.33333333%;
|
|
}
|
|
|
|
.col-6 {
|
|
flex: 0 0 auto;
|
|
width: 50%;
|
|
}
|
|
|
|
.col-8 {
|
|
flex: 0 0 auto;
|
|
width: 66.66666667%;
|
|
}
|
|
|
|
.divider {
|
|
margin-top: 1rem;
|
|
margin-bottom: 1rem;
|
|
width: 100%;
|
|
border-bottom: 2px dashed purple;
|
|
width: 8.5in;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.center {
|
|
text-align: center;
|
|
align-items: center;
|
|
margin: auto;
|
|
width: 8.5in;
|
|
}
|
|
|
|
.page {
|
|
background-color: white;
|
|
width: 8.5in;
|
|
height: 11in;
|
|
padding: 32px;
|
|
border: 2px solid black;
|
|
}
|
|
|
|
.heading {
|
|
border-bottom: 2px solid black;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.logo {
|
|
margin-bottom: 8px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.title {
|
|
margin-left: 16px;
|
|
font-size: 40px;
|
|
vertical-align: bottom;
|
|
}
|
|
|
|
.pages ul {
|
|
margin: 0;
|
|
}
|
|
|
|
/* arrow removal from https://www.geeksforgeeks.org/how-to-remove-the-default-arrow-icon-from-a-dropdown-list/ */
|
|
.pages select {
|
|
/* for Firefox */
|
|
-moz-appearance: none;
|
|
/* for Safari, Chrome, Opera */
|
|
-webkit-appearance: none;
|
|
text-align: center;
|
|
}
|
|
|
|
/* for IE10 */
|
|
.pages select::-ms-expand {
|
|
display: none;
|
|
}
|
|
|
|
.pages label,
|
|
.labels {
|
|
font-size: 12px;
|
|
white-space: nowrap;
|
|
text-align: center;
|
|
display: inline-block;
|
|
margin: 0;
|
|
padding: 0;
|
|
font-weight: normal;
|
|
line-height: 18px;
|
|
width: unset;
|
|
float: none;
|
|
}
|
|
|
|
/* fix selects on iOS */
|
|
.pages select {
|
|
background-color: white;
|
|
border: 1px solid black;
|
|
color: black;
|
|
}
|
|
|
|
.pages input {
|
|
font-size: 24px;
|
|
text-align: center;
|
|
border: 3px solid black;
|
|
border-radius: 0;
|
|
line-height: initial;
|
|
color: black;
|
|
}
|
|
|
|
.charsheet .pages input {
|
|
width: 100%;
|
|
height: 60px;
|
|
}
|
|
|
|
.title b {
|
|
line-height: 60px;
|
|
}
|
|
|
|
.box {
|
|
width: 100%;
|
|
height: 60px;
|
|
border: 3px solid black;
|
|
}
|
|
|
|
.charsheet .pages .class {
|
|
float: left;
|
|
width: 70%;
|
|
text-align-last: center;
|
|
}
|
|
|
|
.charsheet .pages .level {
|
|
float: left;
|
|
width: 30%;
|
|
border-left: none;
|
|
}
|
|
|
|
.charsheet .pages .win,
|
|
.charsheet .pages .lose,
|
|
.charsheet .pages .pspeed,
|
|
.charsheet .pages .sspeed {
|
|
float: left;
|
|
width: 50%;
|
|
}
|
|
|
|
.lose,
|
|
.skills,
|
|
.pages .sspeed {
|
|
border-left: none;
|
|
}
|
|
|
|
.charsheet .pages .won,
|
|
.charsheet .pages .lost {
|
|
border: none;
|
|
width: 100%;
|
|
height: 36px;
|
|
}
|
|
|
|
.savebox {
|
|
float: left;
|
|
width: 25%;
|
|
}
|
|
|
|
.skillbox {
|
|
float: left;
|
|
width: 75%;
|
|
border-left: none;
|
|
}
|
|
|
|
.not-prof {
|
|
height: 85%;
|
|
border-bottom: 3px solid black;
|
|
padding-left: 5px;
|
|
padding-top: 2px;
|
|
}
|
|
|
|
.pages .saves,
|
|
.pages .skills {
|
|
height: 144px;
|
|
text-align: left;
|
|
font-size: 8px;
|
|
line-height: 12px;
|
|
}
|
|
|
|
.skills-list li {
|
|
height: 15px;
|
|
}
|
|
|
|
.single-stat {
|
|
margin-right: 24px;
|
|
}
|
|
|
|
.stats {
|
|
width: 30%;
|
|
float: left;
|
|
}
|
|
|
|
.stats .labels {
|
|
line-height: 17.75px;
|
|
margin-top: 1px;
|
|
}
|
|
|
|
.checks {
|
|
width: 70%;
|
|
float: left;
|
|
}
|
|
|
|
.charsheet .pages .savecheck {
|
|
height: 16px;
|
|
width: 14px;
|
|
float: left;
|
|
margin-left: 4px;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.charsheet .pages .save-bonus {
|
|
height: 16px;
|
|
width: 25px;
|
|
float: left;
|
|
margin-left: 4px;
|
|
margin-top: 2px;
|
|
border: none;
|
|
border-bottom: 2px solid black;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.charsheet .pages .prof-bonus {
|
|
height: 15%;
|
|
padding-left: 5px;
|
|
}
|
|
|
|
.pages .proflbl {
|
|
padding-top: 5px;
|
|
text-align: left;
|
|
}
|
|
|
|
.pages .atkslbl,
|
|
.pages .insplbl {
|
|
width: 100px;
|
|
float: left;
|
|
padding-top: 5px;
|
|
}
|
|
|
|
.insplbl {
|
|
width: 60px;
|
|
}
|
|
|
|
.charsheet .pages .bonus,
|
|
.charsheet .pages .atks,
|
|
.charsheet .pages .insp {
|
|
float: right;
|
|
width: 45px;
|
|
height: 18px;
|
|
border: none;
|
|
border-bottom: 2px solid black;
|
|
margin-right: 5px;
|
|
font-size: 16px;
|
|
padding-top: 3px;
|
|
}
|
|
|
|
.charsheet .pages .bonus {
|
|
width: 25px;
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.skills-list {
|
|
list-style-type: none;
|
|
columns: 2;
|
|
column-gap: 0;
|
|
padding: 0;
|
|
padding-top: 2px;
|
|
}
|
|
|
|
.charsheet .pages .skill-bonus {
|
|
height: 12px;
|
|
width: 20px;
|
|
font-size: 10px;
|
|
border: none;
|
|
border-bottom: 2px solid black;
|
|
margin-left: 2px;
|
|
}
|
|
|
|
.charsheet .pages .skillcheck {
|
|
width: 19px;
|
|
height: 14px;
|
|
font-size: 8px;
|
|
margin-left: 3px;
|
|
text-align-last: center;
|
|
border-radius: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.skilllbl {
|
|
font-size: 10px;
|
|
}
|
|
|
|
.skillstat {
|
|
font-size: 8px;
|
|
margin-left: 2px;
|
|
}
|
|
|
|
.charsheet .pages .bigBox {
|
|
height: 50px;
|
|
font-size: 32px;
|
|
}
|
|
|
|
.charsheet .pages .lilBox {
|
|
height: 30px;
|
|
border-top: none;
|
|
}
|
|
|
|
.atks-box,
|
|
.insp-box {
|
|
height: 25px;
|
|
border-top: none;
|
|
padding-left: 5px;
|
|
text-align: left;
|
|
}
|
|
|
|
.atkbox,
|
|
.invbox {
|
|
height: 301px;
|
|
}
|
|
|
|
.atkbox,
|
|
.attacklbl,
|
|
.atks-box,
|
|
.classlbl,
|
|
.classbox {
|
|
width: 60%;
|
|
float: left;
|
|
}
|
|
|
|
.invbox,
|
|
.invlbl,
|
|
.insp-box,
|
|
.featlbl,
|
|
.featsbox {
|
|
width: 40%;
|
|
float: left;
|
|
border-left: none;
|
|
}
|
|
|
|
.pages textarea {
|
|
width: 100%;
|
|
height: 100%;
|
|
resize: none;
|
|
border: none;
|
|
overflow: hidden;
|
|
font-size: 12px;
|
|
line-height: 14px;
|
|
}
|
|
|
|
.classbox,
|
|
.featsbox,
|
|
.otherbox {
|
|
height: 151px;
|
|
}
|
|
|
|
.pages h2 {
|
|
font-family: sans-serif;
|
|
}
|
|
|
|
.type {
|
|
float: left;
|
|
width: 80%;
|
|
}
|
|
|
|
.image {
|
|
height: 336px;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
.abilitybox {
|
|
height: 400px;
|
|
}
|
|
|
|
.minionbox,
|
|
.othernotebox {
|
|
height: 300px;
|
|
}
|
|
|
|
.backbox {
|
|
height: 124px;
|
|
}
|
|
|
|
.idealbox,
|
|
.flawbox {
|
|
width: 50%;
|
|
float: left;
|
|
height: 104px;
|
|
}
|
|
|
|
.idealbox div,
|
|
.flawbox div {
|
|
height: 104px;
|
|
}
|
|
|
|
.flawbox div {
|
|
border-left: none;
|
|
}
|
|
|
|
.personbox,
|
|
.relatebox {
|
|
height: 102px;
|
|
}
|
|
|
|
.infobox {
|
|
height: 274px;
|
|
}
|
|
|
|
.char-img {
|
|
height: 330px;
|
|
width: auto;
|
|
}
|
|
|
|
.roll20toolbar {
|
|
width: 8.5in;
|
|
padding: 16px;
|
|
margin: 0 auto 32px;
|
|
background-color: mediumpurple;
|
|
border: 2px solid purple;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.rollsContainer {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.rollsContainer .rollsHeader {
|
|
margin-bottom: 8px;
|
|
font-weight: bold;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.rollsContainer .roller {
|
|
display: flex;
|
|
width: 100%;
|
|
}
|
|
|
|
.roller {
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.roller label {
|
|
font-size: 16px;
|
|
margin-bottom: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.charsheet .roller button[type='roll'] {
|
|
width: 20px;
|
|
height: 20px;
|
|
padding: 0 1px;
|
|
line-height: 20px;
|
|
box-sizing: content-box;
|
|
}
|
|
|
|
.skillRolls .skillRollRow {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.rollsCol {
|
|
border: 2px solid purple;
|
|
padding: 4px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.rollsCol > div {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-evenly;
|
|
flex-grow: 1;
|
|
gap: 2px;
|
|
}
|
|
|
|
.sheet-darkmode .roll20toolbar label {
|
|
color: black;
|
|
}
|
|
|
|
.actInfo {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.charsheet .pages .actInfo .bigBox {
|
|
height: 40px;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.charsheet .pages .actInfo .lilBox {
|
|
height: 25px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.actAbilityInfo, .actArray {
|
|
height: 199px;
|
|
}
|
|
|
|
.actHeader {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.actHeader select {
|
|
height: 40px;
|
|
padding-left: 8px;
|
|
}
|
|
|
|
.actHeader h3 {
|
|
margin: 0;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.actStat {
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.act4BasedBox {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.act4BasedBox * {
|
|
width: inherit;
|
|
}
|
|
|
|
.actArray {
|
|
display: flex;
|
|
align-items: center;
|
|
} |