1061 lines
21 KiB
CSS
1061 lines
21 KiB
CSS
/**
|
|
* CONTENTS
|
|
*
|
|
* GENERAL..............All universal configs
|
|
* ..Text...............Static text(Label, span etc.)
|
|
* ..Inputs.............Input field styling(text,number)
|
|
* ..Radio Etc..........Radio and checkboxes
|
|
* ..Button.............Roll & Action buttons
|
|
*
|
|
* SECTIONS.............Adjustments for specific sections of content
|
|
* ..Universal............Universal section CSS
|
|
* ..Page 1...............Player character page sections
|
|
* ..Page 2...............Notes page sections
|
|
* ..Page 3...............Settings page sections
|
|
*
|
|
* PAGE TABS/BUTTONS......CSS for switching tabs/pages and their buttons
|
|
*
|
|
* ROLL TEMPLATES.........Styling the rolls in the chat
|
|
*
|
|
* SPECIAL..............special CSS tricks applied last
|
|
*/
|
|
|
|
|
|
/*------------------------------------*\
|
|
#GENERAL
|
|
\*------------------------------------*/
|
|
|
|
.sheet-version{
|
|
color: black;
|
|
font-weight: bold;
|
|
float: right;
|
|
margin: -16px 20px;
|
|
}
|
|
|
|
@import url('https://fonts.googleapis.com/css?family=Zilla+Slab|Anton|Noto+Sans+TC|Bebas+Neue&display=swap');
|
|
|
|
.charsheet *{
|
|
font-family: "Noto Sans TC";
|
|
--mythic-dark-red: #4a0004;
|
|
--mythic-light-red: #ac3f2b;
|
|
--mythic-red: #a83521;
|
|
}
|
|
.charsheet *{
|
|
font-family: "Noto Sans TC";
|
|
--mythic-dark-red: #4a0004;
|
|
--mythic-light-red: #ac3f2b;
|
|
--mythic-red: #a83521;
|
|
}
|
|
|
|
.sheet-capital,
|
|
.charsheet :not(textarea){
|
|
font-family: "Bebas Neue";
|
|
}
|
|
|
|
/* ---------- Colors ---------- */
|
|
|
|
.charsheet label,
|
|
.sheet-label,
|
|
.charsheet span {
|
|
color: var(--mythic-dark-red);
|
|
}
|
|
|
|
/* --------- Text ------------- */
|
|
span.sheet-bold{
|
|
font-weight: 800;
|
|
font-size: medium;
|
|
}
|
|
|
|
div.sheet-border-label label {
|
|
border-style: solid;
|
|
max-width: 80%;
|
|
border-radius: 13px;
|
|
}
|
|
|
|
.sheet-small-font{
|
|
font-size: xx-small;
|
|
height:18px;
|
|
}
|
|
/* --------- Inputs ------------- */
|
|
|
|
input[type="text"],
|
|
input[type="number"]{
|
|
background-color: transparent;
|
|
border-style: none none solid none;
|
|
border-color: var(--mythic-light-red);
|
|
border-radius: 0px;
|
|
}
|
|
|
|
input[type="number"]{
|
|
border: 1px solid var(--mythic-light-red);
|
|
text-align: center;
|
|
}
|
|
|
|
|
|
input[type="number"].sheet-bubble {
|
|
border: 2px solid var(--mythic-light-red);
|
|
border-radius: 13px;
|
|
}
|
|
|
|
input[type="checkbox"].sheet-checkbox {
|
|
border: solid var(--mythic-light-red);
|
|
border-radius: 0px;
|
|
}
|
|
|
|
|
|
/* -----Hides up/down buttons on numberfields that don't need them ---*/
|
|
input[type="number"].sheet-ref {
|
|
border-style: none none solid none;
|
|
border-color: black;
|
|
border-radius: 0px;
|
|
}
|
|
|
|
input[type=number].sheet-ref::-webkit-inner-spin-button,
|
|
input[type=number].sheet-ref::-webkit-outer-spin-button,
|
|
input[type=number].sheet-txtfield::-webkit-inner-spin-button,
|
|
input[type=number].sheet-txtfield::-webkit-outer-spin-button {
|
|
-webkit-appearance: none;
|
|
margin: 0;
|
|
}
|
|
input[type=number].sheet-ref,
|
|
input[type=number].sheet-txtfield {
|
|
-moz-appearance: textfield;
|
|
}
|
|
|
|
textarea {
|
|
width: 90%;
|
|
height: 85%;
|
|
background-color: transparent;
|
|
}
|
|
|
|
/* highlights empty fields with Light grayish red */
|
|
textarea:placeholder-shown,
|
|
input[type="text"]:placeholder-shown,
|
|
input[type="number"]:placeholder-shown{
|
|
background-color: #EAC9D1;
|
|
}
|
|
|
|
/* higlight selected input */
|
|
textarea:focus,
|
|
input[type="text"]:focus,
|
|
input[type="number"]:focus{
|
|
background-color: #ccc;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* ------- Buttons ---------- */
|
|
|
|
|
|
|
|
/* text buttons with dice icon removed */
|
|
|
|
.charsheet button[type="roll"].sheet-txt-btn:before,
|
|
.charsheet button[type="roll"].sheet-skills:before{
|
|
content: ' ';
|
|
}
|
|
|
|
.charsheet button[type=roll].sheet-d6-dice::before { /*new die changes die roller to d6*/
|
|
font-family: 'dicefontd6',arial;
|
|
content: 'F ';
|
|
color: white;
|
|
}
|
|
.charsheet button[type=roll].sheet-sendtext::before { /*new die changes die roller to d6*/
|
|
font-family: 'Pictos';
|
|
content: 'w ';
|
|
color: black;
|
|
}
|
|
|
|
.charsheet button[type="roll"].sheet-txt-btn{
|
|
height: 22px;
|
|
border: 2px solid black;
|
|
background-color: transparent;
|
|
margin-left: 5px;
|
|
font-weight: bold;
|
|
padding: 2px 5px 4px 5px;
|
|
text-shadow: none;
|
|
}
|
|
.charsheet button[type="roll"].sheet-txt-btn:hover{
|
|
background-color: #d9d9d9;
|
|
border-radius: 10px;
|
|
text-shadow: none;
|
|
}
|
|
|
|
.charsheet button[type="roll"].sheet-red{
|
|
background-color: #a83521;
|
|
background-position: 0 -30px;
|
|
color: white;
|
|
}
|
|
.charsheet button[type="roll"].sheet-red:hover{
|
|
background-color: #a83521;
|
|
background-position: 0 -30px;
|
|
color: white;
|
|
font-size: 1.7em;
|
|
}
|
|
|
|
|
|
|
|
|
|
/*------------------------------------*\
|
|
#SECTIONS
|
|
\*------------------------------------*/
|
|
|
|
/* --------------- Universal Section ------------------- */
|
|
|
|
.sheet-flex-row {
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
}
|
|
|
|
.sheet-flex-col{
|
|
display: flex;
|
|
flex-flow: column;
|
|
}
|
|
|
|
.sheet-flex-center {
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.sheet-section {
|
|
padding: 5px;
|
|
min-height: 90%;
|
|
}
|
|
|
|
div.sheet-border{
|
|
border-style: solid;
|
|
border-radius: 13px;
|
|
}
|
|
|
|
div.sheet-section hr{
|
|
display: block;
|
|
margin-top: 0.5em;
|
|
margin-bottom: 0.5em;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
border-style: solid;
|
|
border-width: 2px;
|
|
border-color: black;
|
|
}
|
|
|
|
.sheet-section {
|
|
display: flex;
|
|
padding: 5px;
|
|
border: none;
|
|
background: white;
|
|
opacity: 0.9;
|
|
max-width: 800px;
|
|
}
|
|
|
|
.sheet-columnflex {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.sheet-rowflex {
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
.sheet-wrap {
|
|
flex-wrap: wrap;
|
|
}
|
|
.sheet-nowrap {
|
|
flex-wrap: nowrap;
|
|
}
|
|
|
|
.sheet-center {
|
|
align-items: center;
|
|
}
|
|
|
|
.sheet-middle {
|
|
justify-content: center;
|
|
}
|
|
.sheet-spaced {
|
|
justify-content: space-evenly;
|
|
}
|
|
|
|
|
|
label.sheet-title{
|
|
text-transform: capitalize;
|
|
max-width: 150px;
|
|
text-align: center;
|
|
font-size: 25px;
|
|
}
|
|
|
|
div.sheet-halfsection{
|
|
max-width: 400px;
|
|
}
|
|
|
|
/* -------------------------- Page 1 ----------------------- */
|
|
|
|
/* ------ Common Info section ------- */
|
|
|
|
div.sheet-common {
|
|
grid-area: common;
|
|
width: 790px;
|
|
}
|
|
|
|
div.sheet-common div label{
|
|
font-size: 1.2em;
|
|
max-width: 80px;
|
|
margin: 5px 0px 5px 0px;
|
|
text-align: right;
|
|
}
|
|
|
|
.charsheet div.sheet-common input[type="text"]{
|
|
font-size: 2em;
|
|
height: 26px;
|
|
padding-bottom: 0px;
|
|
}
|
|
.charsheet div.sheet-common input[type="text"].sheet-playername{
|
|
font-size: 1em;
|
|
}
|
|
div.sheet-common .sheet-namecol label{
|
|
width: 81px;
|
|
}
|
|
div.sheet-common :not(.sheet-namecol) label{
|
|
width: 66px;
|
|
}
|
|
|
|
.charsheet div.sheet-common input[type="number"]{
|
|
font-size: 1.6em;
|
|
height: 26px;
|
|
width: 51px;
|
|
padding-bottom: 0px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
div.sheet-common img{
|
|
height: 80px;
|
|
}
|
|
|
|
/* ------ Archetype section ------- */
|
|
div.sheet-archetype {
|
|
grid-area: archetype;
|
|
background: transparent;
|
|
width: 730px;
|
|
}
|
|
|
|
div.sheet-archetype label{
|
|
height: 15px;
|
|
}
|
|
|
|
.charsheet div.sheet-archetype select{
|
|
width: 126px;
|
|
height: 27px;
|
|
}
|
|
|
|
div.sheet-archetype textarea{
|
|
font-size: 0.8em;
|
|
resize: none;
|
|
overflow-y: scroll;
|
|
}
|
|
.charsheet div.sheet-archetype textarea.sheet-featuredesc{
|
|
height: 120px;
|
|
width: 46%;
|
|
margin-right: 8px;
|
|
}
|
|
.charsheet div.sheet-archetype textarea.sheet-feature{
|
|
height: 53px;
|
|
width: 380px;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
/* ------ Attributes section ------- */
|
|
div.sheet-attributes {
|
|
grid-area: attributes;
|
|
margin-top: -10px;
|
|
}
|
|
|
|
div.sheet-attributes label.sheet-title{
|
|
text-align: center;
|
|
min-width: 800px;
|
|
width:600px;
|
|
}
|
|
|
|
div.sheet-attributes span,
|
|
.charsheet div.sheet-attributes input[type="number"]{
|
|
height: 30px;
|
|
font-size: 28px;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
}
|
|
|
|
div.sheet-attributes span.sheet-dice{
|
|
font-size: 23px;
|
|
padding-top: 10px;
|
|
}
|
|
|
|
.charsheet div.sheet-attributes input[type="number"]{
|
|
width: 45px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.charsheet div.sheet-attributes button[type="roll"]{
|
|
font-size: 1.7em;
|
|
}
|
|
|
|
|
|
/* ------ skills section ------- */
|
|
div.sheet-skills {
|
|
grid-area: skills;
|
|
background-color: transparent;
|
|
}
|
|
|
|
div.sheet-skills label{
|
|
width: 100px;
|
|
margin-bottom: 0px;
|
|
margin-top: 7px;
|
|
}
|
|
|
|
div.sheet-skills div.sheet-skillgrid{
|
|
display: grid;
|
|
padding: 5px;
|
|
grid-template-rows: repeat(7, 1fr);
|
|
grid-template-columns: 3fr 2fr 3fr 2fr 3fr 2fr;
|
|
width: 750px;
|
|
height: 215px;
|
|
margin-left: 15px;
|
|
}
|
|
|
|
div.sheet-skillgrid div{
|
|
width:50px;
|
|
height: 24px;
|
|
}
|
|
|
|
div.sheet-skills span{
|
|
text-transform: capitalize;
|
|
font-size: 17px;
|
|
max-width: 130px;
|
|
color: var(--mythic-light-red);
|
|
}
|
|
.charsheet div.sheet-skills input[type="number"]{
|
|
font-size: 17px;
|
|
padding: 2px;
|
|
width: 26px;
|
|
border-style: none none solid none;
|
|
color: var(--mythic-light-red);
|
|
}
|
|
|
|
.charsheet div.sheet-skills input[type="number"].sheet-small{
|
|
width: 22px;
|
|
}
|
|
|
|
.charsheet div.sheet-skills input[type="text"]{
|
|
width: 65px;
|
|
padding: 1px 4px;
|
|
font-size: 14px;
|
|
color: var(--mythic-light-red);
|
|
}
|
|
|
|
div.sheet-skills select{
|
|
width: 46px;
|
|
height: 22px;
|
|
padding: 0px;
|
|
margin-top: 4px;
|
|
margin-left: 3px;
|
|
}
|
|
|
|
.charsheet button[type="roll"].sheet-skills{
|
|
font-size: 14px;
|
|
padding: 0px;
|
|
margin: 0px;
|
|
width: 95px;
|
|
height: 25px;
|
|
border: 2px solid white;
|
|
color: var(--mythic-light-red);
|
|
text-shadow: none;
|
|
flex-shrink: 0;
|
|
}
|
|
.charsheet button[type="roll"].sheet-skills:hover{
|
|
font-size: 14px;
|
|
padding: 0px;
|
|
margin: 0px;
|
|
width: 95px;
|
|
height: 25px;
|
|
border: 2px solid black;
|
|
border-radius: 9px;
|
|
color: var(--mythic-light-red);
|
|
text-shadow: none;
|
|
flex-shrink: 0;
|
|
}
|
|
.charsheet button[type="roll"].sheet-skills:hover::after{
|
|
font-family: 'dicefontd6';
|
|
content: ' F';
|
|
color: var(--mythic-red);
|
|
}
|
|
|
|
.charsheet div.sheet-skills button[type="roll"].sheet-special{
|
|
width: 25px;
|
|
color: var(--mythic-light-red);
|
|
}
|
|
.charsheet div.sheet-skills button[type="roll"].sheet-special:hover{
|
|
width: 25px;
|
|
color: var(--mythic-light-red);
|
|
}
|
|
.charsheet div.sheet-skills button[type="roll"].sheet-special::after{
|
|
font-family: 'dicefontd6';
|
|
content: 'F';
|
|
color: var(--mythic-red);
|
|
}
|
|
|
|
/* ------ advantage section ------- */
|
|
div.sheet-advantage {
|
|
grid-area: advantage;
|
|
padding-left: 20px;
|
|
}
|
|
/*
|
|
div.sheet-advantage *{
|
|
font-size: 19px;
|
|
}*/
|
|
|
|
div.sheet-advantage label{
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.charsheet div.sheet-advantage input[type="text"],
|
|
.charsheet div.sheet-advantage input[type="number"]{
|
|
height: 20px;
|
|
}
|
|
|
|
div.sheet-advantage span{
|
|
color: var(--mythic-light-red);
|
|
}
|
|
|
|
.charsheet div.sheet-advantage input[type="text"]{
|
|
width: 185px;
|
|
}
|
|
|
|
.charsheet div.sheet-advantage span input[type="text"]{
|
|
width: 120px;
|
|
}
|
|
|
|
.charsheet div.sheet-advantage input[type="number"]{
|
|
width: 40px;
|
|
}
|
|
|
|
div.sheet-advantage .sheet-rowflex{
|
|
margin: 4px 0px;
|
|
}
|
|
|
|
/* ------ powers section ------- */
|
|
div.sheet-powers {
|
|
grid-area: powers;
|
|
}
|
|
|
|
div.sheet-powers .sheet-labels{
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
div.sheet-powers label{
|
|
padding-right: 100px;
|
|
}
|
|
|
|
div.sheet-powers span{
|
|
width: 53px;
|
|
font-size: 17px;
|
|
}
|
|
div.sheet-powers span:nth-of-type(1){
|
|
padding-right: 68px;
|
|
}
|
|
|
|
.charsheet div.sheet-powers input[type="text"].sheet-name{
|
|
width: 130px;
|
|
}
|
|
|
|
.charsheet div.sheet-powers input[type="text"],
|
|
.charsheet div.sheet-powers input[type="numbers"]{
|
|
margin: 2px;
|
|
border-width: 2px;
|
|
}
|
|
|
|
/* ------ stress section ------- */
|
|
div.sheet-stress {
|
|
grid-area: stress;
|
|
font-size: 15px;
|
|
width: 215px;
|
|
height: 162px;
|
|
}
|
|
|
|
div.sheet-stress div {
|
|
margin:5px;
|
|
}
|
|
|
|
div.sheet-stress span{
|
|
display: inline-block;
|
|
padding-right: 5px;
|
|
min-width: 60px;
|
|
}
|
|
|
|
.charsheet div.sheet-stress input[type="text"]{
|
|
width: 44px;
|
|
border-style: solid;
|
|
}
|
|
/* ------ weapons section ------- */
|
|
div.sheet-weapons {
|
|
grid-area: weapons;
|
|
display: grid;
|
|
grid-template-columns: 3fr repeat(11, 1fr);
|
|
grid-template-rows: repeat(3, 1fr);
|
|
}
|
|
|
|
div.sheet-weapons span{
|
|
text-align: center;
|
|
}
|
|
|
|
.charsheet div.sheet-weapons input[type="text"]{
|
|
width: 120px;
|
|
}
|
|
.charsheet div.sheet-weapons input[type="number"]{
|
|
width: 30px;
|
|
}
|
|
.charsheet div.sheet-weapons input[type="number"].sheet-ammo{
|
|
width: 42px;
|
|
}
|
|
|
|
.charsheet div.sheet-weapons input[type="text"],
|
|
.charsheet div.sheet-weapons input[type="number"]{
|
|
border: 1px solid var(--mythic-light-red);
|
|
border-radius: 0px;
|
|
}
|
|
|
|
.charsheet div.sheet-weapons select{
|
|
width: 50px;
|
|
}
|
|
|
|
.charsheet div.sheet-weapons button[type="roll"].sheet-d6-dice:before{
|
|
width: 30px;
|
|
font-family: 'dicefontd6';
|
|
content: 'F';
|
|
color: var(--mythic-red);
|
|
}
|
|
|
|
.charsheet div.sheet-weapons button[type="roll"].sheet-d6-dice:before:hover{
|
|
border: 2px solid black;
|
|
border-radius: 9px;
|
|
}
|
|
|
|
|
|
/* ------ armor section ------- */
|
|
div.sheet-armor {
|
|
grid-area: armor;
|
|
}
|
|
|
|
div.sheet-armor div{
|
|
padding: 2px;
|
|
}
|
|
|
|
div.sheet-armor label{
|
|
margin-bottom: 0px;
|
|
}
|
|
|
|
/* ------ equipment section ------- */
|
|
div.sheet-equipment {
|
|
grid-area:equipment;
|
|
}
|
|
|
|
div.sheet-equipment textarea{
|
|
width: 95%;
|
|
}
|
|
|
|
/* ------ rules section ------- */
|
|
div.sheet-rules {
|
|
grid-area: rules;
|
|
}
|
|
|
|
|
|
/* -------------------------- Page 2 ----------------------- */
|
|
|
|
div.sheet-pg2 textarea{
|
|
height: 140px;
|
|
}
|
|
|
|
/* -------------------------- Page 3 ----------------------- */
|
|
|
|
div.sheet-pg3 input[type="number"]{
|
|
height: 24px;
|
|
}
|
|
|
|
div.sheet-pg3 span.sheet-dice{
|
|
margin-top: 5px;
|
|
}
|
|
|
|
|
|
/*------------------------------------*\
|
|
#PAGE TABS/BUTTONS
|
|
\*------------------------------------*/
|
|
|
|
|
|
|
|
/* Defines core layout of each page */
|
|
|
|
div.sheet-pg1 {
|
|
display: grid;
|
|
grid-gap: 4px;
|
|
grid-template-columns: 13fr 5fr 4fr;
|
|
grid-template-rows: 1fr minmax(0.2fr, 2.5fr) 1.5fr 4fr 3fr 2fr 2fr 1fr;
|
|
grid-template-areas:"common common common "
|
|
"archetype archetype archetype "
|
|
"attributes attributes attributes"
|
|
"skills skills skills "
|
|
"powers stress stress "
|
|
"weapons armor armor "
|
|
"equipment equipment advantage"
|
|
"rules rules rules ";
|
|
width: 800px;
|
|
height: 1300px;
|
|
position: relative;
|
|
}
|
|
|
|
div.sheet-pg2 {
|
|
display: grid;
|
|
width: 750px;
|
|
position: relative;
|
|
}
|
|
|
|
|
|
|
|
div.sheet-pg3 {
|
|
display: grid;
|
|
width: 750px;
|
|
position: relative;
|
|
}
|
|
|
|
div.sheet-tab-content { display: none; }
|
|
|
|
|
|
|
|
/* styling/position tab button */
|
|
|
|
input.sheet-tab1:checked ~ div.sheet-tab1,
|
|
input.sheet-tab2:checked ~ div.sheet-tab2,
|
|
input.sheet-tab3:checked ~ div.sheet-tab3
|
|
{
|
|
display: grid;
|
|
}
|
|
|
|
|
|
input.sheet-tab
|
|
{
|
|
width: 150px;
|
|
height: 26px;
|
|
position: relative;
|
|
top: -20px;
|
|
left: 15px;
|
|
|
|
margin: 5px 0px 5px 0px;
|
|
padding: 0px;
|
|
cursor: pointer;
|
|
z-index: 1;
|
|
opacity: 0;
|
|
}
|
|
|
|
input.sheet-tab + span::before
|
|
{
|
|
content: attr(title);
|
|
|
|
width: 150px;
|
|
height: 22px;
|
|
position: absolute;
|
|
top: 50px;
|
|
left: 43px;
|
|
|
|
border: solid 2px grey;
|
|
border-radius: 13px;
|
|
padding-bottom: 2px;
|
|
text-align: center;
|
|
font-size: 18px;
|
|
display: inline-block;
|
|
background: white;
|
|
}
|
|
|
|
input.sheet-tab:checked + span::before
|
|
{
|
|
background: grey;
|
|
}
|
|
|
|
input.sheet-tab2 + span::before
|
|
{
|
|
left: 197px;
|
|
}
|
|
|
|
input.sheet-tab3 + span::before
|
|
{
|
|
left: 352px;
|
|
}
|
|
|
|
/*------------------------------------*\
|
|
#ROLL TEMPLATES
|
|
\*------------------------------------*/
|
|
|
|
/* Smaller margins - remove these if you want the huge default left margin */
|
|
.sheet-rolltemplate-mythicd6 {
|
|
margin-left: -37px;
|
|
}
|
|
.withoutavatars .sheet-rolltemplate-mythicd6 {
|
|
margin-left: -7px;
|
|
}
|
|
|
|
.sheet-rolltemplate-mythicd6 .sheet-container {
|
|
border: 3px solid black;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
/* Header formatting - title and subtitle */
|
|
.sheet-rolltemplate-mythicd6 .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;
|
|
}
|
|
.sheet-rolltemplate-mythicd6 .sheet-title {
|
|
font-size:1.2em;
|
|
font-weight: bold;
|
|
}
|
|
.sheet-rolltemplate-mythicd6 .sheet-subtitle {
|
|
font-size:.9em;
|
|
}
|
|
|
|
/* example colors */
|
|
.sheet-rolltemplate-mythicd6 .sheet-container {
|
|
/* this are the default heaer colors */
|
|
--header-bg-color: #a83521;
|
|
--header-text-color: #FFF;
|
|
}
|
|
|
|
/* alt template colors */
|
|
.sheet-rolltemplate-mythicd6 .sheet-container.sheet-color-green {
|
|
--header-bg-color: #008000;
|
|
}
|
|
.sheet-rolltemplate-mythicd6 .sheet-container.sheet-color-blue {
|
|
--header-bg-color: #0000e0;
|
|
}
|
|
.sheet-rolltemplate-mythicd6 .sheet-container.sheet-color-gold {
|
|
--header-bg-color: #ffdd1f;
|
|
--header-text-color: #000;
|
|
}
|
|
.sheet-rolltemplate-mythicd6 .sheet-container.sheet-color-purple {
|
|
--header-bg-color: #c200c2;
|
|
}
|
|
.sheet-rolltemplate-mythicd6 .sheet-container.sheet-color-black {
|
|
--header-bg-color: #000;
|
|
}
|
|
.sheet-rolltemplate-mythicd6 .sheet-container.sheet-color-white {
|
|
--header-bg-color: #FFF;
|
|
--header-text-color: #000;
|
|
}
|
|
|
|
/* Allprops part */
|
|
.sheet-rolltemplate-mythicd6 .sheet-content {
|
|
display: grid;
|
|
background: #FFF;
|
|
/* Header formatting - modify the column layout below */
|
|
grid-template-columns: auto auto;
|
|
/* Line height to match default roll template */
|
|
line-height:1.4em;
|
|
}
|
|
.sheet-rolltemplate-mythicd6 .sheet-content > div {
|
|
padding: 5px;
|
|
}
|
|
|
|
/* Left column */
|
|
.sheet-rolltemplate-mythicd6 .sheet-content .sheet-key {
|
|
font-weight: bold;
|
|
padding-right: 10px;
|
|
text-align: right;
|
|
}
|
|
|
|
/* Empty rule, use this if you want to change the right column
|
|
.sheet-rolltemplate-mythicd6 .sheet-value {
|
|
}
|
|
*/
|
|
|
|
/* Make even-numbered rows grey */
|
|
.sheet-rolltemplate-mythicd6 .sheet-content :nth-child(4n+3),
|
|
.sheet-rolltemplate-mythicd6 .sheet-content :nth-child(4n) {
|
|
background:#EEE;
|
|
}
|
|
|
|
/* Description field */
|
|
.sheet-rolltemplate-mythicd6 .sheet-desc {
|
|
grid-column: span 2;
|
|
padding: 5px;
|
|
text-align: center;
|
|
}
|
|
|
|
|
|
|
|
|
|
/*------------------------------------*\
|
|
#SPECIAL
|
|
\*------------------------------------*/
|
|
|
|
|
|
/* Hide actual radio */
|
|
input[type="radio"].sheet-checkbox {
|
|
opacity: 0;
|
|
width: 16px;
|
|
height: 16px;
|
|
position: relative;
|
|
top: 2px;
|
|
left: 4px;
|
|
margin: -12px;
|
|
cursor: pointer;
|
|
z-index: 1;
|
|
}
|
|
|
|
/* Fake radio */
|
|
input[type="radio"].sheet-checkbox + span.sheet-checkbox::before {
|
|
margin-right: 4px;
|
|
border: solid 1px black;
|
|
line-height: 14px;
|
|
text-align: center;
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
box-shadow: 0 0 2px #ccc;
|
|
background: #f6f6f6;
|
|
background: radial-gradient(#f6f6f6, #dfdfdf);
|
|
font-family: "Pictos";
|
|
content: "3";
|
|
width: 12px;
|
|
height: 12px;
|
|
font-size: 15px;
|
|
}
|
|
|
|
/* Remove dot from all radios _after_ selected one */
|
|
input[type="radio"].sheet-checkbox:checked ~ input[type="radio"].sheet-checkbox + span.sheet-checkbox::before {
|
|
content: "";
|
|
}
|
|
|
|
input[type="radio"].sheet-zero:checked + span.sheet-checkbox::before
|
|
{
|
|
opacity: 0;
|
|
}
|
|
|
|
input[type="radio"].sheet-zero:hover + span.sheet-checkbox::before
|
|
{
|
|
opacity: 0.25;
|
|
font-size: 12px;
|
|
content: "✖";
|
|
text-indent: 0.5px;
|
|
}
|
|
|
|
input[type="radio"].sheet-zero + span.sheet-checkbox::before
|
|
{
|
|
opacity: 0;
|
|
}
|
|
|
|
/* mobile styling */
|
|
|
|
@media only screen and (max-width: 480px) {
|
|
|
|
.charsheet button[type=roll].sheet-d6-dice::before { /*new die changes die roller to d6*/
|
|
content: '';
|
|
}
|
|
|
|
div.sheet-pg1 {
|
|
display: grid;
|
|
grid-gap: 4px;
|
|
grid-template-columns: 13fr 9fr;
|
|
grid-template-rows: 1fr minmax(0.3fr, 2.5fr) 1.5fr 8fr 3fr 2fr 2fr 2fr 2fr 1fr;
|
|
grid-template-areas:"common common "
|
|
"archetype archetype "
|
|
"attributes attributes"
|
|
"skills skills "
|
|
"powers powers "
|
|
"weapons weapons "
|
|
"armor armor "
|
|
"stress stress "
|
|
"equipment equipment "
|
|
"rules rules ";
|
|
width: 480px;
|
|
height: 1800px;
|
|
position: relative;
|
|
}
|
|
|
|
div.sheet-archetype {
|
|
width: 400px;
|
|
}
|
|
div.sheet-archetype details div{
|
|
flex-direction: column;
|
|
}
|
|
|
|
.charsheet div.sheet-archetype textarea.sheet-featuredesc{
|
|
width: 90%;
|
|
}
|
|
|
|
div.sheet-attributes {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
div.sheet-attributes label.sheet-title{
|
|
text-align: center;
|
|
min-width: 450px;
|
|
width: 450px;
|
|
}
|
|
|
|
div.sheet-attributes div.sheet-rowflex.sheet-nowrap.sheet-middle{
|
|
flex-wrap: wrap;
|
|
width: 350px;
|
|
}
|
|
|
|
div.sheet-skills div.sheet-rowflex{
|
|
flex-direction: column;
|
|
}
|
|
|
|
div.sheet-skills div.sheet-skillgrid{
|
|
display: grid;
|
|
padding: 5px;
|
|
grid-template-rows: repeat(21, 1fr);
|
|
grid-template-columns: 3fr 2fr;
|
|
width: 400px;
|
|
height: 800px;
|
|
}
|
|
|
|
|
|
.charsheet div.sheet-skills button[type="roll"].sheet-red{
|
|
width: 170px;
|
|
}
|
|
|
|
.charsheet button[type="roll"].sheet-skills{
|
|
font-size: 14px;
|
|
padding: 0px;
|
|
margin: 0px;
|
|
width: 145px;
|
|
height: 25px;
|
|
border: 2px solid white;
|
|
color: var(--mythic-light-red);
|
|
text-shadow: none;
|
|
}
|
|
.charsheet button[type="roll"].sheet-skills:hover{
|
|
font-size: 14px;
|
|
padding: 0px;
|
|
margin: 0px;
|
|
width: 145px;
|
|
height: 25px;
|
|
border: 2px solid black;
|
|
border-radius: 9px;
|
|
color: var(--mythic-light-red);
|
|
text-shadow: none;
|
|
}
|
|
.charsheet button[type="roll"].sheet-skills:hover::after{
|
|
content: '';
|
|
}
|
|
|
|
.charsheet div.sheet-skills button[type="roll"].sheet-special{
|
|
width: 25px;
|
|
color: var(--mythic-light-red);
|
|
}
|
|
.charsheet div.sheet-skills button[type="roll"].sheet-special:hover{
|
|
width: 25px;
|
|
color: var(--mythic-light-red);
|
|
}
|
|
.charsheet div.sheet-skills button[type="roll"].sheet-special::after{
|
|
content: 'd6';
|
|
}
|
|
|
|
|
|
} |