mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-30 19:52:29 +00:00
Changing fallback font so that missing diacritics aren't as noticeable and adding in some missing tags in the html
457 lines
10 KiB
CSS
457 lines
10 KiB
CSS
/*
|
|
Border Color #8d7870
|
|
Label Color #5f4a42
|
|
Input Color #660000
|
|
Light form #c4bfb1
|
|
Bubble text #006666
|
|
Text Red #a23224
|
|
*/
|
|
@import url('https://fonts.googleapis.com/css?family=Sedgwick+Ave|Itim|Caveat|Fondamento|Salsa&display=swap&subset=latin,latin-ext');
|
|
/* Font Import Reference
|
|
//Labels --- font-family: 'Salsa', cursive;
|
|
//Subtext --- font-family: 'Fondamento', cursive;
|
|
//Text box --- font-family: 'Caveat', cursive;
|
|
*/
|
|
|
|
.charsheet {
|
|
font-family: 'Fondamento', cursive;
|
|
}
|
|
.sheet-mousefloat {
|
|
position: absolute;
|
|
height: 800px;
|
|
width: 483px;
|
|
background-image: url("https://i.imgur.com/bltYmEj.jpg"), url("https://i.imgur.com/VnxOHlA.png");
|
|
background-blend-mode: none, screen;
|
|
}
|
|
input[type="checkbox"].sheet-tab-switch {
|
|
opacity: 0;
|
|
position: absolute;
|
|
/*left: calc(50% - 35px);*/
|
|
top: -60px;
|
|
right: -78px;
|
|
height: 80px;
|
|
width: 69px;
|
|
cursor: pointer;
|
|
z-index: 1;
|
|
}
|
|
input[type="checkbox"].sheet-tab-switch + span::before {
|
|
content: "";
|
|
margin-left: 0px;
|
|
position: absolute;
|
|
top: -60px;
|
|
right: -78px;
|
|
/*left: calc(50% - 35px);*/
|
|
height: 80px;
|
|
width: 69px;
|
|
background:none;
|
|
background-image: url("https://i.imgur.com/AdsqEDV.png");
|
|
background-size: contain;
|
|
background-repeat: none;
|
|
border: solid 0px;
|
|
line-height: 14px;
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
box-shadow: 0 0 0px #ccc;
|
|
}
|
|
input[type="checkbox"].sheet-tab-switch:hover + span::before {
|
|
background-image:url("https://i.imgur.com/3FU2i4K.png");
|
|
}
|
|
.sheet-tab-a, .sheet-tab-switch:checked ~ .sheet-tab-b {
|
|
display: block;
|
|
}
|
|
|
|
.sheet-tab-b, .sheet-tab-switch:checked ~ .sheet-tab-a {
|
|
display: none;
|
|
}
|
|
|
|
.sheet-background {
|
|
position: relative;
|
|
min-width: 500px;
|
|
min-height: 800px;
|
|
background-image: url("https://i.imgur.com/bltYmEj.jpg"), url("https://i.imgur.com/VnxOHlA.png");
|
|
background-blend-mode: screen;
|
|
background-position: 150px 50px ;
|
|
background-repeat: repeat, no-repeat;
|
|
background-attachment: scroll, fixed;
|
|
border: 70px solid transparent;
|
|
border-image: url(https://i.imgur.com/2JzKDLO.png) 66 round;
|
|
}
|
|
h1 {
|
|
font-family: "Salsa", arial;
|
|
font-size: 2em;
|
|
line-height: 4em;
|
|
color: #5f4a42;
|
|
display:block;
|
|
text-align:center;
|
|
}
|
|
h2 {
|
|
font-family: "Salsa", arial;
|
|
font-size: 1.4em;
|
|
line-height: 1.2em;
|
|
color: #5f4a42;
|
|
display: inline-block;
|
|
}
|
|
h3 {
|
|
font-family: "Fondamento", arial;
|
|
font-size: 1em;
|
|
line-height: 1.2em;
|
|
padding: 2px 5px;
|
|
color: #333333;
|
|
}
|
|
h4 {
|
|
font-family: "Salsa", arial;
|
|
font-size: 1.2em;
|
|
line-height: 1.2em;
|
|
color: #5f4a42;
|
|
display: inline-block;
|
|
}
|
|
ul {
|
|
list-style-type: none;
|
|
margin: 0;
|
|
padding: 0 0 0 3px;
|
|
font-family: "caveat", Garamond;
|
|
font-size: 1.2em;
|
|
line-height: 1.2em;
|
|
}
|
|
|
|
.sheet-flexcontainer {
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
width: 100%;
|
|
}
|
|
.sheet-flexcol {
|
|
box-sizing: content-box;
|
|
}
|
|
/*/////////////////////////////////////// Input Styling */
|
|
|
|
input.sheet-inputdesc {
|
|
height: 1.5em;
|
|
background: none;
|
|
align-self: right;
|
|
font-family: "salsa";
|
|
font-size: 1.5em;
|
|
color: #830000;
|
|
margin-left: 20px;
|
|
padding: 0px;
|
|
padding-left: 10px;
|
|
padding-bottom: 4px;
|
|
border-width: 0px 2px 1px;
|
|
border-style: solid;
|
|
border-color: #8d7870;
|
|
border-image-source: url(https://i.imgur.com/hnpr4sP.png);
|
|
border-image-slice: 0 11 11;
|
|
border-image-width: 0 11 11;
|
|
border-image-repeat: round;
|
|
}
|
|
input.sheet-inputability {
|
|
height: 1.5em;
|
|
width: 100%;
|
|
background: none;
|
|
font-family: "Salsa", Garamond;
|
|
font-size: 1.5em;
|
|
color: #660000;
|
|
padding: 0px;
|
|
padding-left: 2px;
|
|
padding-bottom: 5px;
|
|
border-width: 0px 2px 1px;
|
|
border-style: solid;
|
|
border-color: #8d7870;
|
|
border-image-source: url(https://i.imgur.com/hnpr4sP.png);
|
|
border-image-slice: 0 11 11;
|
|
border-image-width: 0 11 11;
|
|
border-image-repeat: round;
|
|
}
|
|
input.sheet-inputability.sheet-rollerline {
|
|
width: 73%;
|
|
}
|
|
input[type="number"].sheet-inputRating {
|
|
background: none;
|
|
height: 1.5em;
|
|
width: 2em;
|
|
font-family: "Salsa";
|
|
font-size: 1.5em;
|
|
color: #660000;
|
|
text-align: center;
|
|
padding: 0px;
|
|
padding-left: 2px;
|
|
padding-bottom: 2px;
|
|
border-width: 0px 2px 1px;
|
|
border-style: solid;
|
|
border-color: #8d7870;
|
|
border-image-source: url(https://i.imgur.com/hnpr4sP.png);
|
|
border-image-slice: 0 11 11;
|
|
border-image-width: 0 11 11;
|
|
border-image-repeat: round;
|
|
|
|
}
|
|
|
|
input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button {
|
|
-webkit-appearance: none;
|
|
margin: 0;
|
|
}
|
|
input.sheet-points[type=number] {
|
|
-moz-appearance: textfield;
|
|
font-family: "Salsa", Garamond;
|
|
font-size: 2.5em;
|
|
height: 1.5em;
|
|
color: #660000;
|
|
width: 2em;
|
|
text-align:center;
|
|
margin: 0 auto;
|
|
padding-bottom: 0px;
|
|
padding-left: 5px;
|
|
display:block;
|
|
|
|
background:none;
|
|
outline: 0;
|
|
border-width: 0px 2px 1px;
|
|
border-style: solid;
|
|
border-color: #8d7870;
|
|
border-image-source: url(https://i.imgur.com/hnpr4sP.png);
|
|
border-image-slice: 0 11 11;
|
|
border-image-width: 0 11 11;
|
|
border-image-repeat: round;
|
|
}
|
|
.sheet-wiseinput {
|
|
vertical-align:bottom !important;
|
|
padding-bottom: 20px !important;
|
|
}
|
|
/*//////////////////////////////////// Button Styling */
|
|
button[type=roll].sheet-genericbutton::before {
|
|
content: "";
|
|
|
|
}
|
|
button[type=roll].sheet-genericbutton {
|
|
height: 40px;
|
|
width: 34px;
|
|
border: 0;
|
|
margin: 0;
|
|
margin-right: 5px;
|
|
padding: 0;
|
|
background: none;
|
|
background-image: url("https://i.imgur.com/Ai7leLC.png");
|
|
background-size: contain;
|
|
|
|
}
|
|
button[type=roll].sheet-genericbutton:hover {
|
|
background-image: url("https://i.imgur.com/F1i6aXQ.gif");
|
|
}
|
|
|
|
/*//////////////////////////////////// Fake radio */
|
|
input[type="radio"] + span::before {
|
|
content: "";
|
|
width: 12px;
|
|
height: 12px;
|
|
font-size: 24px;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
input[type="radio"]:checked + span::before {
|
|
content: "•";
|
|
}
|
|
input[type="radio"].sheet-traitlevel {
|
|
left: 15px;
|
|
width: 15px;
|
|
height: 15px;
|
|
}
|
|
|
|
.sheet-popout {
|
|
min-width: 170px;
|
|
border: 11px solid transparent;
|
|
border-image: url(https://i.imgur.com/upU02Xd.png) 11 round;
|
|
border-image-slice: 11 fill;
|
|
}
|
|
|
|
|
|
/*//////////////////////////////////// Checkbox Styling */
|
|
/* Hide actual radio/checkbox */
|
|
input[type="radio"],
|
|
input[type="checkbox"].sheet-checktrait {
|
|
opacity: 0;
|
|
width: 12px;
|
|
height: 12px;
|
|
position: relative;
|
|
left: 6px;
|
|
bottom: 2px;
|
|
margin: -12px;
|
|
cursor: pointer;
|
|
z-index: 1;
|
|
}
|
|
input[type="checkbox"].sheet-checktrait {
|
|
left: 2px;
|
|
}
|
|
|
|
input[type="checkbox"].sheet-checkcondition {
|
|
opacity: 0;
|
|
width: 12px;
|
|
height: 12px;
|
|
position: relative;
|
|
left: 12px;
|
|
bottom: -1px;
|
|
cursor: pointer;
|
|
z-index: 1;
|
|
}
|
|
/* Fake radio/checkbox */
|
|
input[type="radio"] + span::before,
|
|
input[type="checkbox"] + span::before {
|
|
position: relative;
|
|
margin-right: 10px;
|
|
margin-bottom: 5px;
|
|
border: solid 1px #a8a8a8;
|
|
line-height: 12px;
|
|
text-align: center;
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
box-shadow: 0 0 2px #ccc;
|
|
background: #8d7870;
|
|
}
|
|
/* Fake Radio */
|
|
input[type="radio"].sheet-traitlevel + span::before {
|
|
margin-left: 12px;
|
|
margin-bottom: 2px;
|
|
padding: 0px 2.5px 5px;
|
|
width: 8px;
|
|
height: 8px;
|
|
}
|
|
input[type="radio"]:checked.sheet-traitlevel + span::before {
|
|
content: "•";
|
|
color: white;
|
|
}
|
|
/* Advancement Radios */
|
|
input[type="radio"].sheet-radioAdvancement + span::before {
|
|
left: 0px;
|
|
margin: 5px;
|
|
bottom: 2px;
|
|
content: "•";
|
|
font-size: 25px;
|
|
color: white;
|
|
|
|
}
|
|
/* Remove dot from all radios _after_ selected one */
|
|
input[type="radio"]:checked.sheet-radioAdvancement ~ input[type="radio"] + span::before {
|
|
content: "";
|
|
left: 0px;
|
|
}
|
|
|
|
/* Fake checkbox */
|
|
input[type="checkbox"].sheet-checkcondition + span::before {
|
|
content: "";
|
|
width: 10px;
|
|
height: 10px;
|
|
font-size: 10px;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
input[type="checkbox"]:checked.sheet-checkcondition + span::before {
|
|
content: "✓";
|
|
color:white;
|
|
}
|
|
input[type="checkbox"].sheet-checktrait + span::before {
|
|
content: "";
|
|
width: 12px;
|
|
height: 12px;
|
|
font-size: 12px;
|
|
border-radius: 3px;
|
|
background: #8d7870;
|
|
}
|
|
|
|
input[type="checkbox"]:checked.sheet-checktrait + span::before {
|
|
content: "✓";
|
|
color: white;
|
|
}
|
|
/*Wise Checkboxes*/
|
|
input[type="checkbox"].sheet-wiseright {
|
|
margin-right: 0px;
|
|
margin-left: 15px;
|
|
left: 12px;
|
|
}
|
|
|
|
/* DIV Tables */
|
|
.sheet-divTable{
|
|
display: table;
|
|
width: 100%;
|
|
}
|
|
.sheet-divTableRow {
|
|
display: table-row;
|
|
}
|
|
.sheet-divTableHeading {
|
|
background-color: #EEE;
|
|
display: table-header-group;
|
|
}
|
|
.sheet-divTableCell, .divTableHead {
|
|
border: 0px solid #999999;
|
|
display: table-cell;
|
|
padding: 3px 5px 3px 0px;
|
|
vertical-align: top;
|
|
}
|
|
.sheet-divTableHeading {
|
|
background-color: #EEE;
|
|
display: table-header-group;
|
|
font-weight: bold;
|
|
}
|
|
.sheet-divTableFoot {
|
|
background-color: #EEE;
|
|
display: table-footer-group;
|
|
font-weight: bold;
|
|
}
|
|
.sheet-divTableBody {
|
|
display: table-row-group;
|
|
}
|
|
/* Trait Table */
|
|
.sheet-traitcell {
|
|
font-size: .8em;
|
|
min-width: 115px;
|
|
}
|
|
.sheet-selectionrow {
|
|
height: 17px;
|
|
}
|
|
.sheet-advancementcell {
|
|
min-width: 130px;
|
|
}
|
|
|
|
/* Text Area Formatting */
|
|
.sheet-textarea {
|
|
position: relative;
|
|
margin: 0px;
|
|
outline: none;
|
|
resize: none;
|
|
width: 97%;
|
|
height: 5em;
|
|
font-family: "caveat";
|
|
font-size: 20px;
|
|
color: #006666;
|
|
line-height: 20px;
|
|
border: 2px solid #5f4a42;
|
|
|
|
border-radius: 0px 15px 15px 15px;
|
|
background: #cccccc;
|
|
background-image: url("https://i.imgur.com/VnxOHlA.png");
|
|
background-attachment: fixed;
|
|
background-position: 150px 50px;
|
|
background-repeat: no-repeat;
|
|
background-blend-mode: screen;
|
|
/*660000
|
|
112e2e*/
|
|
}
|
|
.sheet-borderwrap {
|
|
padding: 2px;
|
|
padding-bottom: 0px;
|
|
background: linear-gradient(120deg, #006666, #5f4a42);
|
|
border-radius: 0px 15px 15px 15px;
|
|
}
|
|
.sheet-textshort {
|
|
height: 3.5em;
|
|
}
|
|
|
|
/* Flexbox Management */
|
|
.sheet-flexrow {
|
|
display: flex;
|
|
}
|
|
|
|
.sheet-flexrow h2 {
|
|
flex: 0 0 auto;
|
|
}
|
|
.sheet-flexrow .sheet-spaceright {
|
|
flex: 1 0 auto;
|
|
} |