mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-31 04:02:29 +00:00
338 lines
8.4 KiB
CSS
338 lines
8.4 KiB
CSS
/*-------------- Fontwork ----------------*/
|
|
@import url('https://fonts.googleapis.com/css?family=Aladin:wght@700|Laila&display=swap');
|
|
|
|
.sheet-contentwrapper {font-family: 'Aladin', serif; font-size: 16px;}
|
|
|
|
/*----- Colors
|
|
Blood Red: #ab1d21
|
|
Orange: #e4852a
|
|
gold: #c76200
|
|
----*/
|
|
|
|
.sheet-contentwrapper {
|
|
border: 10px solid black;
|
|
background-image:
|
|
radial-gradient(circle, rgba(70,20,20,0.7) 20%, rgba(15,20,30,1) 100%),
|
|
url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Invisible%20Sun/images/invisible-sun-grungebg2.jpg);
|
|
background-size: 100%;
|
|
border-image: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Invisible%20Sun/images/invisible-sun_scrolltransparent.png') 199 round;
|
|
border-image-width: 100px;
|
|
}
|
|
|
|
.sheet-innerbg {
|
|
text-align: center;
|
|
}
|
|
|
|
Label:hover {cursor: pointer;}
|
|
|
|
.sheet-centerforce {
|
|
margin: auto !important;
|
|
}
|
|
/*-------------- Sheet Tabs --------------*/
|
|
/*Configure the tab buttons*/
|
|
.sheet-front,
|
|
.sheet-side,
|
|
.sheet-back {
|
|
display: none;
|
|
margin: auto;
|
|
}
|
|
|
|
/* show the selected tab */
|
|
.sheet-tabstoggle[value="front"] ~ div.sheet-front,
|
|
.sheet-tabstoggle[value="side"] ~ div.sheet-side,
|
|
.sheet-tabstoggle[value="back"] ~ div.sheet-back {
|
|
display: block;
|
|
}
|
|
.sheet-front {
|
|
width: calc(100% - 40px);
|
|
margin: auto;
|
|
}
|
|
/*----------- Label Styling ------------*/
|
|
.sheet-biglabel {
|
|
font-size: 28px;
|
|
text-align: center;
|
|
color: #ffcc33;
|
|
text-shadow: 0px 0px 6px rgba(255,204,102,0.2), 0px 0px 4px #cc672a, 0px 0px 1px #fff;
|
|
}
|
|
|
|
.sheet-poollabel {
|
|
margin: auto;
|
|
margin: 5px 0px;
|
|
border-radius: 10px 10px 0px 0px;
|
|
background: rgb(83,47,95);
|
|
background: linear-gradient(90deg, rgba(83,47,95,1) 0%, rgba(61,7,24,1) 15%, rgba(153,10,10,1) 35%, rgba(153,10,10,1) 65%, rgba(61,7,24,1) 85%, rgba(89,51,102,1) 100%);
|
|
color: white;
|
|
}
|
|
/*----------- Rest Styling ------------*/
|
|
.sheet-restgroup {
|
|
max-width: 400px;
|
|
margin: auto;
|
|
}
|
|
label {
|
|
display: inline-block;
|
|
width: auto;
|
|
margin: auto;
|
|
padding: 8px;
|
|
text-align: center;
|
|
background-color: #c76200;
|
|
border-radius: 20px;
|
|
color: #ffcc33;
|
|
|
|
text-shadow: 0px 0px 6px rgba(255,255,255,0.7);
|
|
font-size: 16px;
|
|
}
|
|
|
|
input[type='checkbox']:checked + span{
|
|
color: black;
|
|
text-shadow: 2px 2px 0px rgba(0,0,0,0.2);
|
|
}
|
|
|
|
input[type='checkbox'] {
|
|
display: none;
|
|
}
|
|
/*----------- Pool Styling -------------*/
|
|
.sheet-poolcontent {
|
|
text-align: center;
|
|
margin: 8px;
|
|
}
|
|
.sheet-poolcontent input[type="number"] {
|
|
border: #c76200 solid 2px;
|
|
-moz-appearance: textfield;
|
|
margin: auto;
|
|
text-align: center;
|
|
border-radius: 50px;
|
|
font-size: 20px;
|
|
padding: 5px;
|
|
height: 50px;
|
|
width: 50px;
|
|
background-color: #ab1d21;
|
|
background: radial-gradient(circle, rgba(45,1,15,1) 37%, rgba(153,10,10,1) 53%, rgba(89,51,102,1) 66%, rgba(0,0,0,1) 94%);
|
|
color: white;
|
|
}
|
|
|
|
.sheet-poolcontent input[type=number]:focus {
|
|
outline-style: none;
|
|
box-shadow: none;
|
|
border: 2px solid #ab1d21;
|
|
border-width: 0px 4px;
|
|
background: white;
|
|
color: black;
|
|
}
|
|
|
|
input[type="number"]::-webkit-outer-spin-button,
|
|
input[type="number"]::-webkit-inner-spin-button {
|
|
-webkit-appearance: none;
|
|
margin: 0;
|
|
}
|
|
|
|
.sheet-poolcontent input[type="number"].sheet-maxnumber {
|
|
font-size: 16px;
|
|
height: 30px;
|
|
width: 30px;
|
|
margin-left: 10%;
|
|
}
|
|
/*----------- Button Styling------------*/
|
|
button {
|
|
background-color: unset;
|
|
color: white;
|
|
width:40px;
|
|
margin: auto;
|
|
border-color: white;
|
|
}
|
|
|
|
button:hover.sheet-plusbutton {
|
|
background: linear-gradient(0deg, rgba(0,0,0,0) 30%, rgba(142,59,26,.5) 70%, rgba(228,133,42,1) 95%, rgba(255,255,255,1) 100%);
|
|
|
|
|
|
}
|
|
|
|
button:hover.sheet-minusbutton {
|
|
background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(142,59,26,.5) 70%, rgba(228,133,42,1) 95%, rgba(255,255,255,1) 100%);
|
|
|
|
|
|
}
|
|
|
|
button:focus {
|
|
outline-style: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.sheet-plusbutton {
|
|
border-width: 3px 0px 0px 0px;
|
|
border-radius: 100% 100% 0px 0px;
|
|
}
|
|
|
|
.sheet-minusbutton {
|
|
border-width: 0px 0px 3px 0px;
|
|
border-radius: 0px 0px 100% 100%;
|
|
}
|
|
|
|
/*----------- Venture ------------------*/
|
|
.sheet-venturecontainer {
|
|
width: auto;
|
|
margin: auto;
|
|
max-width: 400px;
|
|
|
|
}
|
|
.sheet-venturecontainer input[type='radio'] {
|
|
margin: auto;
|
|
display: none;
|
|
}
|
|
|
|
.sheet-venturecontainer input[type='radio'] + span {
|
|
position: relative;
|
|
bottom: -2px;
|
|
}
|
|
|
|
.sheet-venturecontainer label {
|
|
width: 20px;
|
|
height: 20px;
|
|
vertical-align: baseline;
|
|
background-color: white;
|
|
background: rgb(1,45,23);
|
|
background: radial-gradient(circle, rgba(1,45,23,1) 37%, rgba(10,153,141,1) 53%, rgba(51,51,102,1) 66%, rgba(0,0,0,1) 94%);
|
|
border: 2px solid #994343;
|
|
color: #00cccc;
|
|
font-size: 20px;
|
|
}
|
|
|
|
|
|
|
|
button[type='roll'].sheet-venture-enhance1 {
|
|
background: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Invisible%20Sun/images/enhancement-1.png);
|
|
}
|
|
button[type='roll'].sheet-venture-enhance2 {
|
|
background: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Invisible%20Sun/images/enhancement-2.png);
|
|
}
|
|
button[type='roll'].sheet-venture-enhance3 {
|
|
background: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Invisible%20Sun/images/enhancement-3.png);
|
|
}
|
|
button[type='roll'].sheet-venture-enhance4 {
|
|
background: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Invisible%20Sun/images/enhancement-4.png);
|
|
}
|
|
button[type='roll'].sheet-venture-enhance5 {
|
|
background: url(https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Invisible%20Sun/images/enhancement-5.png);
|
|
}
|
|
|
|
button[type='roll'].sheet-venture-enhance1, button[type='roll'].sheet-venture-enhance2, button[type='roll'].sheet-venture-enhance3, button[type='roll'].sheet-venture-enhance4, button[type='roll'].sheet-venture-enhance5 {
|
|
background-size: contain;
|
|
border: none;
|
|
height: 40px;
|
|
width: 40px;
|
|
margin: 0px;
|
|
}
|
|
|
|
.sheet-venturecontainer input[type='radio']:checked + span{
|
|
color: white;
|
|
}
|
|
|
|
button[type='roll'].sheet-venture {
|
|
background: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Invisible%20Sun/images/btn_venture.png');
|
|
background-size: contain;
|
|
border: none;
|
|
width: 140px;
|
|
height: 40px;
|
|
margin: 0px;
|
|
position: relative;
|
|
color: #00cccc;
|
|
}
|
|
|
|
button[type='roll'].sheet-venture:hover {
|
|
color: white;
|
|
}
|
|
|
|
button[type='roll']:before {
|
|
content: "" !important;
|
|
}
|
|
|
|
/*----------- Flexbox CSS --------------*/
|
|
|
|
.sheet-flexrow {
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
flex: 1;
|
|
border: 1px solid #61191d;
|
|
border-radius: 40px;
|
|
padding: 2px;
|
|
margin: 2px;
|
|
}
|
|
.sheet-flexcol {
|
|
display: flex;
|
|
flex-flow: column;
|
|
flex: 1;
|
|
}
|
|
.sheet-largeflex {
|
|
flex: 2;
|
|
}
|
|
|
|
.sheet-flexjustify {
|
|
justify-content: space-around;
|
|
}
|
|
.sheet-subcontent {width: calc(100% - 24px); margin-left: auto; margin-right: auto; text-align: center;}
|
|
|
|
|
|
/*----------- Roll Template ------------*/
|
|
|
|
.sheet-rolltemplate-rollventure {
|
|
font-family: 'Aladin', serif;
|
|
font-size: 24px;
|
|
margin: auto;
|
|
text-align: center;
|
|
padding: 40px 10px 10px 10px;
|
|
padding-bottom: 10px;
|
|
background: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Invisible%20Sun/images/pathofsuns-rollerbg.jpg') no-repeat;
|
|
background-size: 222px;
|
|
color: #ffcc99;
|
|
border: 5px solid black;
|
|
border-image: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Invisible%20Sun/images/invisible-sun_scrolltransparent.png') 199 round;
|
|
border-image-width: 100px;
|
|
border-radius: 100px;
|
|
}
|
|
.sheet-rolltemplate-rollventure .sheet-venture-description {
|
|
color: white;
|
|
font-family: 'Laila', serif;
|
|
font-size: 12px;
|
|
font-style: oblique;
|
|
|
|
}
|
|
.sheet-rolltemplate-rollventure .sheet-venture-charactername {
|
|
margin-bottom: 20px;
|
|
font-size: 24px;
|
|
}
|
|
.sheet-rolltemplate-rollventure .sheet-venture-roll {
|
|
margin-bottom: 20px;
|
|
margin-top: 20px;
|
|
font-size: 20px;
|
|
}
|
|
.sheet-rolltemplate-rollventure .sheet-venture-roll .inlinerollresult {
|
|
background-color: unset;
|
|
border: none;
|
|
}
|
|
.sheet-rolltemplate-rollventure .sheet-venture-result {
|
|
border: 2px solid #e77c3c;
|
|
padding: 10px 16px;
|
|
margin: 0px auto;
|
|
margin-bottom: 20px;
|
|
width: fit-content;
|
|
border-radius: 20px;
|
|
font-size: 32px;
|
|
font-weight: bolder;
|
|
color: #f3ff88;
|
|
text-shadow: 0px 0px 4px #e77c3c;
|
|
}
|
|
|
|
.sheet-rolltemplate-rollventure .sheet-venture-difficulty {
|
|
color: #f85050;
|
|
text-shadow: 0px 0px 4px #e23d3d;
|
|
}
|
|
|
|
.sheet-rolltemplate-rollventure .sheet-venture-roll .sheet-venture-enhancementresults .inlinerollresult.fullfail {
|
|
color: #3bceb2;
|
|
text-shadow: 0px 0px 4px #66ff99;
|
|
animation-name: magicflux;
|
|
animation-duration: 1s;
|
|
animation-iteration-count: infinite;
|
|
}
|
|
|
|
@keyframes magicflux {100% {color: #1d62c9;}}
|