Files
roll20-character-sheets/GoddessSaveTheQueen/goddesssavethequeen.css
T

915 lines
17 KiB
CSS

/*----------------- MAIN CONTAINER DEFINITIONS ------------------*/
@import url('https://fonts.googleapis.com/css?family=Special+Elite|Italianno&display=swap');
.sheet-main-container {
min-width: 600px;
max-width: 1000px;
background-color: #f0f2f1;
padding: 30px 30px 0px 30px;
display: flex;
flex-direction: column;
}
.sheet-main-container input {
height: 28px;
border: 0px;
border-bottom: 1px solid black;
border-radius: 0px;
padding: 0px;
height: auto;
}
.sheet-main-container select {
width: auto;
height: 25px;
margin: 0px;
background: none;
}
.sheet-main-container input[type=text] {
width: 10px;
flex-grow: 1;
background: none;
}
.sheet-main-container input[type=number] {
width: 40px;
text-align: center;
background: none;
}
.sheet-main-container textarea {
box-sizing: border-box;
margin: 0px;
height: auto;
flex-grow: 1;
background: none;
}
.sheet-main-container button {
margin: 0px !important;
}
/*----------------- GENERAL CSS ------------------*/
.sheet-main-font {
font-family: 'Special Elite';
}
.sheet-secondary-font {
font-family: 'Italianno';
}
.sheet-title1 {
font-size: 20px;
}
.sheet-title2 {
font-size: 30px;
}
.sheet-flex-row {
display: flex;
flex-direction: row;
}
.sheet-flex-column {
display: flex;
flex-direction: column;
}
.sheet-grow {
flex-grow: 1;
}
.sheet-label {
font-size: 0.5fr;
margin-right: 5px;
line-height: 1;
}
.sheet-row-item-margin {
margin-right: 5px !important;
}
/*----------------- SHEET PARTS ------------------*/
.sheet-header {
display: flex;
flex-direction: column;
margin-bottom: 10px;
}
.sheet-header-row {
margin-bottom: 10px;
display: flex;
flex-direction: row;
align-items: center;
}
.sheet-header-row span {
font-size: 13px !important;
}
.sheet-header-right-margin {
margin-right: 10px !important;
}
.sheet-logo {
background-image: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/GoddessSaveTheQueen/img/goddess-logo.png');
background-repeat: no-repeat;
background-size: 195px 172px;
width: 195px;
height: 172px;
margin-top: 20px;
}
.sheet-help {
border: 1px dotted black;
width: 20px;
height: 20px;
text-align: center;
}
.sheet-buttons-section {
display: flex;
flex-direction: row;
justify-content: flex-end;
align-items: center;
}
.sheet-buttons-section button {
margin-right: 5px !important;
}
.sheet-tab-panel {
/*display: flex;*/
display: none;
flex-direction: row;
}
.sheet-dice-row {
display: flex;
flex-direction: row;
align-items: center;
margin-bottom: 5px;
}
.sheet-actions {
display: flex;
flex-direction: column;
justify-content: space-between;
}
.sheet-dice-row-margin {
margin-right: 3px;
}
.sheet-middle {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: auto auto;
column-gap: 10px;
}
.sheet-middle textarea {
min-height: 6em;
}
.sheet-middle-column {
display: flex;
flex-direction: column;
flex-grow: 1;
}
.sheet-karma-row {
display: flex;
flex-direction: row;
margin-bottom: 20px;
}
.sheet-independence {
display: flex;
flex-direction: column;
align-items: center;
}
.sheet-notes-box {
flex-grow: 1;
}
.sheet-footer {
text-align: right;
font-style: italic;
}
.sheet-box {
margin-bottom: 10px;
padding: 10px;
}
.sheet-box-title {
margin-bottom: 10px;
}
.sheet-repeatable-item {
display: flex;
flex-direction: column;
margin-bottom: 10px;
}
.sheet-repeatable-row {
display: flex;
flex-direction: row;
align-items: flex-end;
margin-bottom: 5px;
}
.sheet-repeatable-row-box {
display: flex;
flex-direction: column;
align-items: center;
}
.sheet-repeatable-dice-row {
align-items: center;
display: flex;
flex-direction: row;
}
.sheet-dice-roller-row {
display: grid;
grid-auto-flow: column;
justify-items: center;
align-items: center;
margin: 20px 0px 20px 0px;
line-height: 1;
}
.sheet-dice-roller-row input {
border: none;
background: none;
margin-left: 12px;
}
.sheet-dice-roller-row span {
font-size: 23px;
}
.sheet-dice-roller-row .sheet-plus, .sheet-dice-roller-row button {
margin-top: 20px !important;
}
.sheet-dice-row-circle {
background-image: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/GoddessSaveTheQueen/img/goddes-circle.png');
background-repeat: no-repeat;
background-size: 40px 40px;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
}
.sheet-plus {
font-size: 20px;
}
.sheet-dice-roller-box {
display: flex;
flex-direction: column;
align-items: center;
}
.sheet-traumas {
flex-grow: 1;
display: flex;
flex-direction: column;
}
.sheet-traumas-box {
display: grid;
gap: 5px;
grid-template-columns: 1fr 1fr;
grid-template-rows: 1fr 1fr;
flex-grow: 1;
}
.sheet-traumas-box textarea {
margin-right: 10px;
}
.sheet-die-icon {
background-image: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/GoddessSaveTheQueen/img/goddes-die.png');
background-repeat: no-repeat;
background-size: 20px 22px;
width: 20px;
min-width: 20px;
height: 22px;
min-height: 22px;
}
/*----------------- SPECIALTY SELECTION ------------------*/
.sheet-specialty-selected:not([value="custom"]) ~ .sheet-custom-specialty {
display:none;
}
/*----------------- TAB CONTROL ------------------*/
/*Configure the tab buttons*/
.sheet-profiletab,
.sheet-configurationtab,
.sheet-journaltab {
display: none;
}
/* show the selected tab */
.sheet-tabcontrol[value="profile"] ~ div.sheet-profiletab,
.sheet-tabcontrol[value="configuration"] ~ div.sheet-configurationtab,
.sheet-tabcontrol[value="journal"] ~ div.sheet-journaltab {
display: block;
}
/*----------------- ROLL BUTTON ------------------*/
.sheet-main-container button[type=roll] {
border: 0px;
font-size: 35px;
width: 25px;
height: 25px;
background: transparent !important;
text-shadow: none !important;
box-shadow: none !important;
padding: 0px;
}
.sheet-main-container button[type=roll]::before {
content: 'f';
font-family: 'dicefontd6' !important;
}
.sheet-main-container button[type=roll]:hover {
opacity: 0.5;
}
/*------------- REPEATABLE SECTIONS BUTTONS -------------*/
.repcontrol>.btn {
background-color: transparent;
font-size: 2px;
background-image: none;
text-shadow: none;
box-shadow: none;
display: inline-block;
position: relative;
border: 0px;
}
.repcontrol>.btn:hover {
opacity: 0.5;
}
.repcontrol>.btn.repcontrol_add::before {
content: "&";
color: #616280;
font-size: 20px;
font-family: 'Pictos' !important;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
.repcontrol>.btn.repcontrol_edit::before {
content: "(";
color: #616280;
font-size: 20px;
font-family: 'Pictos' !important;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
/* change the 'Done' text after clicking 'Modify' */
.editmode ~ .repcontrol>.repcontrol_edit::before {
content: ')';
}
/*------------- REPEATABLE SECTIONS TOGGLE SHOW/HIDE -------------*/
.sheet-showhidebutton {
display: flex;
align-items: center;
justify-content: center;
}
.sheet-showhidebutton input[type=checkbox] {
width: 20px;
position: absolute;
opacity: 0;
}
.sheet-showhidebutton:hover {
opacity: 0.5;
}
.sheet-showhidebutton input[type=checkbox]:checked ~ span::before {
content: '▲';
}
.sheet-showhidebutton span {
color: black;
font-size: 20px;
}
.sheet-showhidebutton span::before {
content: '▼';
}
.sheet-toggle-checkbox {
display: none;
}
.sheet-showhide {
display: none;
}
.sheet-toggle-checkbox:checked ~ .sheet-showhide {
display: block;
}
/*------------- SHEET ROLL TEMPLATE -------------*/
.sheet-rolltemplate-main .sheet-template-container {
display: flex;
flex-direction: column;
border: 2px solid black;
font-family: Paytone One;
text-align: center;
}
.sheet-rolltemplate-main p {
font-family: Paytone One;
text-align: left;
}
.sheet-rolltemplate-main .sheet-template-row {
display: flex;
flex-direction: column;
border-bottom: 1px solid black;
padding: 5px;
justify-content: center;
align-items: center;
}
.sheet-rolltemplate-main .sheet-template-header {
flex-direction: row !important;
background-color: black;
color: white;
}
.sheet-rolltemplate-main .sheet-template-label {
font-weight: bold;
text-transform: uppercase;
margin-bottom: 5px;
}
.sheet-rolltemplate-main .sheet-template-success {
color: green;
}
.sheet-rolltemplate-main .sheet-template-fail {
color: red;
}
/*------------- KARMA CLOCK -------------*/
.sheet-karma-clock {
margin: 5px;
min-width: 44px;
min-height: 44px;
max-width: 44px;
max-height: 44px;
position: relative;
}
.sheet-karma-clock .sheet-clock-div {
background-color: black;
height: 45px;
width: 2px;
position: absolute;
z-index: 2;
}
.sheet-karma-clock .sheet-clock-0deg{
background-color: black;
transform: translateX(22px);
}
.sheet-karma-clock .sheet-clock-90deg {
background-color: black;
transform: translateX(22px) rotate(90deg);
}
.sheet-karma-clock .sheet-clock-input {
position: absolute;
width: 20px !important;
height: 20px !important;
z-index: 2;
opacity: 0;
}
.sheet-karma-clock input[value="1"] {
right: 0px;
top: 2px;
bottom: 0px;
}
.sheet-karma-clock input[value="2"] {
right: 0px;
bottom: 0px;
}
.sheet-karma-clock input[value="3"] {
bottom: 0px;
left: 2px;
}
.sheet-karma-clock input[value="4"] {
top: 2px;
left: 2px;
}
/* Clock Zero Button */
.sheet-karma-clock input[value="0"] {
width: 15px !important;
height: 15px !important;
bottom: -11px;
left: -11px;
}
.sheet-karma-clock span {
position: absolute;
min-width: 15px !important;
min-height: 15px !important;
max-width: 15px !important;
max-height: 15px !important;
bottom: -11px;
left: -11px;
border: 1px solid black;
border-radius: 50%;
}
.sheet-karma-clock > span::before {
position: absolute;
content: "";
background: black;
width: 1px;
height: 15px;
transform: translateX(7px) rotate(45deg);
}
.sheet-karma-clock span::after {
position: absolute;
content: "";
background: black;
width: 1px;
height: 15px;
transform: translateX(7px) rotate(135deg);
}
/* Clock painting programming */
.sheet-karma-clock .sheet-clock-paint {
position: absolute;
min-width: 44px;
min-height: 44px;
max-width: 44px;
max-height: 44px;
border: 1px solid black;
border-radius: 50%;
z-index: 0;
}
.sheet-karma-clock input[value="0"]:checked ~ span {
display: none;
}
.sheet-karma-clock input[value="1"]:checked ~ .sheet-clock-paint {
background-image: linear-gradient(90deg, #f0f2f1 50%, transparent 50%), linear-gradient(180deg, red 50%, #f0f2f1 50%);
}
.sheet-karma-clock input[value="2"]:checked ~ .sheet-clock-paint {
background-image: linear-gradient(90deg, #f0f2f1 50%, red 50%);
}
.sheet-karma-clock input[value="3"]:checked ~ .sheet-clock-paint {
background-image: linear-gradient(180deg, transparent 50%, red 50%), linear-gradient(90deg, #f0f2f1 50%, red 50%);
}
.sheet-karma-clock input[value="4"]:checked ~ .sheet-clock-paint {
background: red;
}
/*------------- IMPETUS CLOCK -------------*/
.sheet-impetus-clock-container {
position: relative;
margin: 0px 25px 50px 50px;
}
.sheet-impetus-clock {
margin: 5px;
min-width: 100px;
min-height: 100px;
max-width: 100px;
max-height: 100px;
position: relative;
}
.sheet-impetus-clock .sheet-clock-div {
background-color: black;
width: 2px;
position: absolute;
z-index: 1;
}
.sheet-impetus-clock .sheet-clock-45deg{
height: 115px;
background-color: black;
transform: translateX(40px) translateY(-3px) rotate(65.5deg)
}
.sheet-impetus-clock .sheet-clock-90deg {
height: 115px;
background-color: black;
transform: translateX(40px) translateY(-12px) rotate(112.5deg);
}
.sheet-impetus-clock .sheet-clock-135deg {
height: 140px;
background-color: black;
transform: translateX(50px) translateY(-20px) rotate(157.5deg);
}
.sheet-impetus-clock .sheet-clock-180deg {
height: 140px;
background-color: black;
transform: translateX(50px) translateY(-20px) rotate(202.5deg);
}
.sheet-impetus-clock .sheet-clock-input {
position: absolute;
width: 25px !important;
height: 25px !important;
z-index: 2;
opacity: 0;
}
.sheet-impetus-clock input[value="1"] {
right: 15px;
top: 15px;
}
.sheet-impetus-clock input[value="2"] {
right: 5px;
top: 38px;
}
.sheet-impetus-clock input[value="3"] {
bottom: 15px;
right: 15px;
}
.sheet-impetus-clock input[value="4"] {
bottom: 5px;
right: 37px;
}
.sheet-impetus-clock input[value="5"] {
bottom: 14px;
left: 15px;
}
.sheet-impetus-clock input[value="6"] {
bottom: 37px;
left: 5px;
}
.sheet-impetus-clock input[value="7"] {
top: 13px;
left: 15px;
}
/* Clock Zero Button */
.sheet-impetus-clock input[value="0"] {
width: 15px !important;
height: 15px !important;
top: 10px;
left: 42px;
z-index: 3;
}
.sheet-impetus-clock span {
position: absolute;
min-width: 15px !important;
min-height: 15px !important;
max-width: 15px !important;
max-height: 15px !important;
top: 10px;
left: 42px;
border: 1px solid black;
border-radius: 50%;
z-index: 2;
}
.sheet-impetus-clock > span::before {
position: absolute;
content: "";
background: black;
width: 1px;
height: 15px;
transform: translateX(7px) rotate(45deg);
}
.sheet-impetus-clock span::after {
position: absolute;
content: "";
background: black;
width: 1px;
height: 15px;
transform: translateX(7px) rotate(135deg);
}
/* Clock painting programming */
.sheet-impetus-clock .sheet-clock-paint {
position: absolute;
min-width: 100px;
min-height: 100px;
max-width: 100px;
max-height: 100px;
border: 1px solid black;
border-radius: 50%;
z-index: 0;
}
.sheet-impetus-clock .sheet-clock-paint::before {
content: "";
position: absolute;
min-width: 90px;
min-height: 90px;
max-width: 90px;
max-height: 90px;
border: 2px solid black;
border-radius: 50%;
z-index: 0;
left: 3px;
top: 3px;
}
.sheet-impetus-clock .sheet-clock-paint::after {
content: "";
position: absolute;
min-width: 96px;
min-height: 96px;
max-width: 96px;
max-height: 96px;
border: 2px solid #f0f2f1;
border-radius: 50%;
z-index: 2;
}
.sheet-impetus-clock input[value="0"]:checked ~ span {
display: none;
}
.sheet-impetus-clock input[value="1"]:checked ~ .sheet-clock-paint::before {
background-image: linear-gradient(112.5deg, #f0f2f1 50%, transparent 50%), linear-gradient(157.5deg, red 50%, #f0f2f1 50%);
}
.sheet-impetus-clock input[value="2"]:checked ~ .sheet-clock-paint::before {
background-image: linear-gradient(112.5deg, #f0f2f1 50%, transparent 50%), linear-gradient(202.5deg, red 50%, #f0f2f1 50%);
}
.sheet-impetus-clock input[value="3"]:checked ~ .sheet-clock-paint::before {
background-image: linear-gradient(112.5deg, #f0f2f1 50%, transparent 50%), linear-gradient(247.5deg, red 50%, #f0f2f1 50%);
}
.sheet-impetus-clock input[value="4"]:checked ~ .sheet-clock-paint::before {
background: linear-gradient(112.5deg, #f0f2f1 50%, transparent 50%), linear-gradient(292.5deg, red 50%, #f0f2f1 50%);
}
.sheet-impetus-clock input[value="5"]:checked ~ .sheet-clock-paint::before {
background: linear-gradient(337.5deg, red 50%, transparent 50%), linear-gradient(112.5deg, #f0f2f1 50%, red 50%);
}
.sheet-impetus-clock input[value="6"]:checked ~ .sheet-clock-paint::before {
background: linear-gradient(382.5deg, red 50%, transparent 50%), linear-gradient(112.5deg, #f0f2f1 50%, red 50%);
}
.sheet-impetus-clock input[value="7"]:checked ~ .sheet-clock-paint::before {
background-image: linear-gradient(-112.5deg, transparent 50%, red 50%), linear-gradient(112.5deg, #f0f2f1 50%, red 50%);
}
/* Clock labels */
.sheet-impetus-label {
font-size: 10px;
}
.sheet-impetus-die-number {
font-size: 15px;
}
.sheet-impetus-die-box {
display: flex;
flex-direction: row;
align-items: stretch;
}
.sheet-impetus-die-icon {
background-image: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/GoddessSaveTheQueen/img/goddes-die.png');
background-repeat: no-repeat;
background-size: 16px 18px;
width: 16px;
min-width: 16px;
height: 18px;
min-height: 18px;
}
.sheet-determined {
position: absolute;
top: -50px;
transform: translateX(85px) translateY(100px) rotate(270deg);
}
.sheet-tired {
position: absolute;
top: -50px;
transform: translateX(35px) translateY(170px);
}
.sheet-weak {
position: absolute;
top: -50px;
transform: translateX(-15px) translateY(145px) rotate(45deg);
}
.sheet-shaken {
position: absolute;
top: -50px;
transform: translateX(-50px) translateY(100px) rotate(0deg);
}
.sheet-shaken span {
transform: translateX(-9px) rotate(270deg);
}
.sheet-trauma {
position: absolute;
top: -50px;
transform: translateX(-5px) translateY(55px) rotate(-45deg);
}
/*------------- INDEPENDENCE CHECKBOXES -------------*/
.sheet-circle-box {
margin: 0px 5px 0px 5px;
}
.sheet-independence-circle-size {
width: 15px;
height: 15px;
}
.sheet-independence-checkbox {
opacity: 0;
z-index: 1;
position: absolute;
margin: 0px !important;
width: 15px !important;
height: 15px !important;
}
.sheet-circle {
border: 2px solid black;
border-radius: 50%;
width: 100%;
height: 100%;
}
.sheet-black-circle {
display: none;
background-color: black;
}
.sheet-independence-checkbox:checked ~ div.sheet-black-circle {
display: inline-block;
}
.sheet-independence-checkbox:checked ~ div.sheet-blank-circle {
display: none;
}