Files
roll20-character-sheets/WOIN/WOIN.css
T
2023-09-20 21:46:15 -04:00

855 lines
20 KiB
CSS

/* ==== ==== === */
input.sheet-new:checked ~ div.sheet-all {
background: url('http://cache4.asset-cache.net/xt/467257053.jpg?v=1&g=fs1%7C0%7CSKP186%7C57%7C053&s=1&b=QTQ4');
width:840px;
height: 800px;
}
input.sheet-old:checked ~ div.sheet-all {
background: url('http://cache4.asset-cache.net/xt/467257053.jpg?v=1&g=fs1%7C0%7CSKP186%7C57%7C053&s=1&b=QTQ4');
width:840px;
height: 800px;
}
input.sheet-new:checked ~ input.sheet-title {
background:transparent;
color: black;
font-size: 2em;
text-shadow: 0px 0px 2px white, 0px 0px 2px white, 0px 0px 2px white;
font-weight:bold;
border: none;
box-shadow: none;
margin-left:10px;
}
input.sheet-old:checked ~ input.sheet-title {
background:transparent;
color: #2D2A23;
font-size: 2em;
text-shadow: 0px 0px 2px white, 0px 0px 2px white, 0px 0px 2px white;
font-weight:bold;
border: none;
box-shadow: none;
margin-left:10px;
}
table.sheet-attrib {
width:830px;
}
table.sheet-skill {
border:1px solid blue;
border-radius:15px;
}
input.sheet-old:checked ~ table.sheet-skill,
table.sheet-skillold {
border:1px solid #2D2A23;
border-radius:15px;
}
table.sheet-skill td {
border:1px solid blue;
}
input.sheet-old:checked ~ table.sheet-skill td,
table.sheet-skillold td {
border:1px solid #2D2A23;
}
div.sheet-header {
font-variant:small-caps;
font-size:1.2em;
margin-left:10px;
color:blue;
}
input.sheet-old:checked ~ div.sheet-header,
div.sheet-headerold {
font-variant:small-caps;
font-size:1.2em;
margin-left:10px;
color:#2D2A23;
}
div.sheet-header2 {
font-variant:small-caps;
font-size:1.2em;
margin-left:10px;
margin-right:10px;
width:100%;
text-align:center;
color:blue;
}
input.sheet-old:checked ~ div.sheet-header2,
div.sheet-headerold2 {
font-variant:small-caps;
font-size:1.2em;
margin-left:10px;
margin-right:10px;
width:100%;
text-align:center;
color:#2D2A23;
}
/* ==== ==== === */
.sheet-text1 {
background:transparent;
color: black;
font-size: 1.1em;
text-shadow: 0px 0px 2px white, 0px 0px 2px white, 0px 0px 2px white;
font-weight:bold;
border: 1px dotted black;
border-radius: 15px;
box-shadow: none;
}
.sheet-text2 {
background:transparent;
color: black;
font-size: 1em;
text-shadow: 0px 0px 2px white, 0px 0px 2px white, 0px 0px 2px white;
font-weight:normal;
border-top: none;
border-left: none;
border-right: none;
border-bottom: 1px solid black;
border-radius: 0px;
box-shadow: none;
}
.sheet-text3 {
background:transparent;
color: black;
font-size: 0.9em;
text-shadow: 0px 0px 2px white, 0px 0px 2px white, 0px 0px 2px white;
font-weight:normal;
border-top: none;
border-left: none;
border-right: none;
border-bottom: 1px solid black;
border-radius: 0px;
box-shadow: none;
}
div.sheet-octo {
margin-left:30px;
margin-right:-30px;
}
.sheet-octo input[type="number"].sheet-number1 {
position:relative;
left:65px;
top:-10px;
z-index:5;
}
input[type="number"].sheet-number1 {
background:transparent;
position:relative;
left:35px;
top:0px;
text-align:center;
border:none;
box-shadow:none
}
input[type="number"].sheet-number2 {
text-align:center;
border:none;
background:rgba(0,0, 0, 0.2);
color: black;
font-weight:bold;
border-radius:3px;
}
input[type="number"].sheet-number3 {
text-align:center;
border:none;
background:rgba(0,0, 0, 0.2);
color: black;
font-weight:bold;
border-radius:3px;
width:150px;
}
input[type="number"].sheet-number4 {
text-align:center;
border-left:none;
border-right:none;
border-top:none;
border-bottom:1px solid black;
background:transparent;
color: black;
font-weight:bold;
border-radius:3px;
}
input[type="number"].sheet-bignumber {
text-align:center;
border-left:none;
border-right:none;
border-top:none;
background:transparent;
color: black;
font-weight:bold;
border:none;
font-size:4em;
}
input[type=number].sheet-bignumber::-webkit-inner-spin-button,
input[type=number].sheet-bignumber::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
.sheet-describe {
text-align:center;
font-style:italic;
margin-right:10%;
margin-left:10%;
}
div.sheet-header {
font-variant:small-caps;
font-size:1.2em;
margin-left:10px;
color:blue;
}
div.sheet-header_old {
font-variant:small-caps;
font-size:1.2em;
margin-left:10px;
color:#2D2A23;
}
select.sheet-select1 {
background:transparent;
width:100px;
margin-bottom:0px;
}
select.sheet-select2 {
background:transparent;
width:250px;
margin-bottom:-2px;
}
hr {
background:blue;
}
textarea.sheet-textarea {
resize:vertical;
width:570px;
height:45px;
background:rgba(0,0, 0, 0.2);
border-radius:5px;
}
textarea.sheet-textarea::placeholder {
color:white;
font-style:italic;
}
input.sheet-block1:not(:checked) ~ .sheet-block1,
input.sheet-block2:not(:checked) ~ .sheet-block2,
input.sheet-block3:not(:checked) ~ .sheet-block3,
input.sheet-block4:not(:checked) ~ .sheet-block4,
input.sheet-block5:not(:checked) ~ .sheet-block5 {
display: none;
}
/*========== tabs ==========*/
input.sheet-tab1:not(:checked) ~ .sheet-tab1,
input.sheet-tab2:not(:checked) ~ .sheet-tab2,
input.sheet-tab3:not(:checked) ~ .sheet-tab3,
input.sheet-tab4:not(:checked) ~ .sheet-tab4,
input.sheet-tab5:not(:checked) ~ .sheet-tab5 {
display: none;
}
input.sheet-tab1[type=radio],
input.sheet-tab2[type=radio],
input.sheet-tab3[type=radio],
input.sheet-tab4[type=radio],
input.sheet-tab5[type=radio] {
display:none;
}
input.sheet-tab {
width: 150px;
line-height: 20px;
outline: none !important;
position: relative;
cursor: pointer;
z-index: 1;
}
input.sheet-tab1 {
margin-left: 1px;
}
input.sheet-new:checked ~ input.sheet-tab[type=radio] + label {
content: attr(title);
display: inline;
line-height: 20px;
padding: 5px;
background: white;
border: solid 2px blue;
font-size: 14px;
font-weight: bold;
text-align: center;
color: blue;
font-family:"Trebuchet MS", Helvetica, sans-serif;
text-shadow: none;
width: 120px;
height: 30px;
}
input.sheet-old:checked ~ input.sheet-tab[type=radio] + label {
content: attr(title);
display: inline;
line-height: 20px;
padding: 5px;
background: white;
border: solid 2px #2D2A23;
font-size: 14px;
font-weight: bold;
text-align: center;
color: #2D2A23;
font-family:"Trebuchet MS", Helvetica, sans-serif;
text-shadow: none;
width: 120px;
height: 30px;
}
input.sheet-new:checked ~ input.sheet-tab[type=radio]:checked + label {
border: solid 2px blue;
background: blue;
line-height: 30px;
color:white;
text-shadow: 0px 0px 2px blue;
-moz-box-shadow: inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);
}
input.sheet-old:checked ~ input.sheet-tab[type=radio]:checked + label {
border: solid 2px #2D2A23;
background: #2D2A23;
line-height: 30px;
color:white;
text-shadow: 0px 0px 2px blue;
-moz-box-shadow: inset 0 2px 4px rgba(0,0,0,0.15),0 1px 2px rgba(0,0,0,0.05);
}
input.sheet-new:checked ~ .sheet-tab-content {
background: url('http://cache4.asset-cache.net/xt/467257053.jpg?v=1&g=fs1%7C0%7CSKP186%7C57%7C053&s=1&b=QTQ4');
width: 832px;
padding:5px;
box-shadow: inset 0px 0px 5px blue;
border-radius:15px;
border:1px solid blue;
}
input.sheet-old:checked ~ .sheet-tab-content {
background: url('http://cache4.asset-cache.net/xt/467257053.jpg?v=1&g=fs1%7C0%7CSKP186%7C57%7C053&s=1&b=QTQ4');
width: 832px;
padding:5px;
box-shadow: inset 0px 0px 5px #2D2A23;
border-radius:15px;
border:1px solid #2D2A23;
}
.sheet-tab-br {
margin-bottom: 4px;
margin-top: 1px;
}
.sheet-hidden {
display: none;
}
div.sheet-body {
display: none;
}
input.sheet-hider:checked ~ div.sheet-body {
display: block;
}
/**/
/* button */
input.sheet-new:checked ~ table.sheet-attrib div.sheet-octo {
position:relative;
left:-10px;
top:0px;
transform: rotate(90deg);
-ms-transform: rotate(90deg); /* IE 9 */
-webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */
width:60px;
height:60px;
}
input.sheet-old:checked ~ table.sheet-attrib div.sheet-octo {
position:relative;
left:-10px;
top:0px;
transform: rotate(90deg);
-ms-transform: rotate(90deg); /* IE 9 */
-webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */
width:60px;
height:60px;
}
input.sheet-new:checked ~ table.sheet-attrib div.sheet-octo:before {
content:'F';
font-family: "Pictos";
color: blue;
font-size:60px;
width:60px;
height:60px;
font-weight:lighter;
}
input.sheet-old:checked ~ table.sheet-attrib div.sheet-octo:before {
content:'F';
font-family: "Pictos";
color: #2D2A23;
font-size:60px;
width:60px;
height:60px;
font-weight:lighter;
}
input.sheet-new:checked ~ table.sheet-attrib div.sheet-octo_inner {
transform: rotate(-90deg);
-ms-transform: rotate(-90deg); /* IE 9 */
-webkit-transform: rotate(-90deg); /* Chrome, Safari, Opera */
}
input.sheet-old:checked ~ table.sheet-attrib div.sheet-octo_inner {
transform: rotate(-90deg);
-ms-transform: rotate(-90deg); /* IE 9 */
-webkit-transform: rotate(-90deg); /* Chrome, Safari, Opera */
}
/**/
/*-----sheet-normal radio boxes-----*/
/* -----Hide actual radio----- */
input.sheet-radio1[type="radio"]
{
opacity: 0;
width: 16px;
height: 16px;
position: relative;
top: 5px;
left: 6px;
margin: -10px;
cursor: pointer;
z-index: 1;
}
/* -----Fake radio----- */
input.sheet-radio1[type="radio"] + span::before
{
margin-right: 2px;
border: solid 1px #a8a8a8;
line-height: 16px;
text-align: center;
display: inline-block;
vertical-align: middle;
border:1px solid black;
-moz-box-shadow: 0 0 5px black;
-webkit-box-shadow: 0 0 5px black;
box-shadow: inset 0 0 5px black;
background:white;
content: "";
width: 16px;
height: 16px;
font-size: 3em;
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
border-radius: 50%;
}
input.sheet-radio1[type="radio"]:checked + span::before {
background:black;
} /* -----Hide actual radio----- */
input.sheet-radio2[type="radio"]
{
opacity: 0;
width: 16px;
height: 16px;
position: relative;
top: 5px;
left: 6px;
margin: -10px;
cursor: pointer;
z-index: 1;
}
/* -----Fake radio----- */
input.sheet-radio2[type="radio"] + span::before
{
margin-right: 2px;
border: solid 1px #a8a8a8;
line-height: 16px;
text-align: center;
display: inline-block;
vertical-align: middle;
border:1px solid black;
-moz-box-shadow: 0 0 5px black;
-webkit-box-shadow: 0 0 5px black;
box-shadow: inset 0 0 5px black;
background:black;
content: "";
width: 16px;
height: 16px;
font-size: 3em;
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
border-radius: 50%;
}
input.sheet-radio2[type="radio"]:checked + span::before {
background:black;
}
/* -----Remove dot from all radios _after_ selected one----- */
input.sheet-radio2[type="radio"]:checked ~ input.sheet-radio2[type="radio"] + span::before
{
content: "";
background: white;
}
/*------------empty traits-----------*/
input.sheet-zero[type="radio"]:checked + span::before
{
opacity: 0;
}
input.sheet-zero[type="radio"]:hover + span::before
{
opacity: 1;
}
input.sheet-zero[type="radio"] + span::before
{
color:black;
font-size: 1em;
content: "✖";
opacity: 0.25;
}
/* -----Hide actual radio----- */
input.sheet-type[type="radio"]
{
opacity: 0;
width: 30px;
height: 15px;
position: relative;
top: 0px;
left: 15px;
margin: -15px;
cursor: pointer;
z-index: 1;
box-shadow: inset 0px 0px 5px green;
}
/* -----Fake radio----- */
input.sheet-type[type="radio"] + span::before
{
margin-right: 2px;
border: solid 1px #a8a8a8;
width: 30px;
height: 15px;
text-align: center;
display: inline-block;
vertical-align: middle;
border:1px solid black;
-moz-box-shadow: 0 0 5px black;
-webkit-box-shadow: 0 0 5px black;
box-shadow: inset 0 0 5px black;
background:white;
content: "";
width: 30px;
height: 15px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
}
input.sheet-type[type="radio"]:checked + span::before {
background:black;
}
/* button */
button:before {
content: ""!important;
display: none;
}
input.sheet-new:checked ~button[type="roll"].sheet-rollatrrib,
input.sheet-new:checked ~ table.sheet-attrib button[type="roll"].sheet-rollatrrib {
width: 60px;
height:30px;
vertical-align: middle;
padding-left: 2px;
padding-right: 2px;
padding-top: 2px;
padding-bottom: 2px;
margin: 0;
display: inline-block;
font-weight: 400;
text-align: center;
vertical-align: middle;
cursor: pointer;
background: blue;
border: 3px outset gray;
color:white;
}
input.sheet-old:checked ~ button[type="roll"].sheet-rollatrrib,
input.sheet-old:checked ~ table.sheet-attrib button[type="roll"].sheet-rollatrrib {
width: 60px;
height:30px;
vertical-align: middle;
padding-left: 2px;
padding-right: 2px;
padding-top: 2px;
padding-bottom: 2px;
margin: 0;
display: inline-block;
font-weight: 400;
text-align: center;
vertical-align: middle;
cursor: pointer;
background: #2D2A23;
border: 3px outset gray;
color:white;
}
input.sheet-new:checked ~ button[type="roll"].sheet-rollatrrib:hover,
input.sheet-new:checked ~ table.sheet-attrib button[type="roll"].sheet-rollatrrib:hover {
background:blue;
color:white;
border: 3px inset gray;
padding-left: 4px;
padding-right: 0px;
padding-top: 2px;
padding-bottom: 0px;
}
input.sheet-old:checked ~ button[type="roll"].sheet-rollatrrib:hover,
input.sheet-old:checked ~ table.sheet-attrib button[type="roll"].sheet-rollatrrib:hover {
background:#2D2A23;
color:white;
border: 3px inset gray;
padding-left: 4px;
padding-right: 0px;
padding-top: 2px;
padding-bottom: 0px;
}
input.sheet-new:checked ~ button[type="roll"].sheet-rollatrrib:active,
input.sheet-new:checked ~ table.sheet-attrib button[type="roll"].sheet-rollatrrib:active {
background:white;
color:blue;
border: 3px inset gray;
border: 3px inset gray;
padding-left: 4px;
padding-right: 0px;
padding-top: 2px;
padding-bottom: 0px;
}
input.sheet-old:checked ~ button[type="roll"].sheet-rollatrrib:active,
input.sheet-old:checked ~ table.sheet-attrib button[type="roll"].sheet-rollatrrib:active {
background:white;
color:#2D2A23;
border: 3px inset gray;
border: 3px inset gray;
padding-left: 4px;
padding-right: 0px;
padding-top: 2px;
padding-bottom: 0px;
}
/* button */
button[type="roll"].sheet-rollskill {
width: 20px;
height:20px;
vertical-align: middle;
padding-left: 2px;
padding-right: 2px;
padding-top: 2px;
padding-bottom: 2px;
margin: 0;
display: inline-block;
font-weight: 400;
text-align: center;
vertical-align: middle;
cursor: pointer;
background: blue;
border: 3px outset gray;
color:white;
}
/* button */
button[type="roll"].sheet-rollskillold {
width: 20px;
height:20px;
vertical-align: middle;
padding-left: 2px;
padding-right: 2px;
padding-top: 2px;
padding-bottom: 2px;
margin: 0;
display: inline-block;
font-weight: 400;
text-align: center;
vertical-align: middle;
cursor: pointer;
background: #2D2A23;
border: 3px outset gray;
color:white;
}
button[type="roll"].sheet-rollskill:hover {
background:blue;
color:white;
border: 3px inset gray;
padding-left: 4px;
padding-right: 0px;
padding-top: 2px;
padding-bottom: 2px;
}
button[type="roll"].sheet-rollskillold:hover {
background:#2D2A23;
color:white;
border: 3px inset gray;
padding-left: 4px;
padding-right: 0px;
padding-top: 2px;
padding-bottom: 2px;
}
button[type="roll"].sheet-rollskill:active {
background:white;
color:blue;
border: 3px inset gray;
padding-left: 4px;
padding-right: 0px;
padding-top: 2px;
padding-bottom: 2px;
}
button[type="roll"].sheet-rollskillold:active {
background:white;
color:#2D2A23;
border: 3px inset gray;
padding-left: 4px;
padding-right: 0px;
padding-top: 2px;
padding-bottom: 2px;
}
/**/
/* button */
button[type="roll"].sheet-rollluck {
width: 80px;
height:24px;
vertical-align: middle;
padding-left: 2px;
padding-right: 2px;
padding-top: 2px;
padding-bottom: 4px;
margin-left: 0;
margin-bottom: 2px;
display: inline-block;
font-weight: 900;
text-align: center;
vertical-align: middle;
cursor: pointer;
background: transparent;
border: 3px outset gray;
color:blue;
font-size:12px;
}
input.sheet-old:checked ~ .sheet-rollluck {
color:#2D2A23;
}
input.sheet-old:checked ~ button[type="roll"].sheet-rollluck:active {
color:#2D2A23;
}
button[type="roll"].sheet-rollluck:hover {
background:gray;
color:white;
border: 3px inset gray;
padding-left: 4px;
padding-right: 0px;
padding-top: 4px;
padding-bottom: 2px;
}
button[type="roll"].sheet-rollluck:active {
background:white;
color:blue;
border: 3px inset gray;
padding-left: 4px;
padding-right: 0px;
padding-top: 4px;
padding-bottom: 2px;
}
.sheet-rolltemplate-custom {
margin-left: -37px;
}
.withoutavatars .sheet-rolltemplate-custom {
margin-left: -7px;
}
.sheet-rolltemplate-custom .sheet-container {
border: 1px solid;
/* by default, the border is the same color as the header. You can change this here, e.g. to black */
border-color: var(--header-bg-color);
}
/* Header formatting - title and subtitle */
.sheet-rolltemplate-custom .sheet-header {
background-color: var(--header-bg-color);
/* change text-align to center to center the header text */
text-align: left;
color: var(--header-text-color);
padding: 5px;
}
.sheet-rolltemplate-custom .sheet-title {
font-size:1.1em;
}
.sheet-rolltemplate-custom .sheet-subtitle {
font-size:.9em;
}
/* example colors */
.sheet-rolltemplate-custom .sheet-container {
/* this is the default color */
--header-bg-color: rgba(112,32,130,1);
--header-text-color: #FFF;
}
.sheet-rolltemplate-custom .sheet-container.sheet-color-red {
--header-bg-color: #F00;
}
.sheet-rolltemplate-custom .sheet-container.sheet-color-green {
--header-bg-color: #0F0;
--header-text-color: #000;
}
/* Allprops part */
.sheet-rolltemplate-custom .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-custom .sheet-content > div {
padding: 5px;
}
/* Left column */
.sheet-rolltemplate-custom .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-custom .sheet-value {
}
*/
/* Make even-numbered rows grey */
.sheet-rolltemplate-custom .sheet-content :nth-child(4n+3),
.sheet-rolltemplate-custom .sheet-content :nth-child(4n) {
background:#EEE;
}
/* Description field */
.sheet-rolltemplate-custom .sheet-desc {
grid-column: span 2;
padding: 5px;
text-align: center;
}