Files
roll20-character-sheets/Plusch_Power_Plunder/ppp.css
T

464 lines
7.9 KiB
CSS

/*3rd*/
@import url("https://fonts.googleapis.com/css?family=Open+Sans&display=swap");
/*elements*/
* {
font-family: "Open Sans", sans-serif;
font-size: 1.5rem;
color: #3c3c3c;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: "Shadows Into Light";
text-transform: uppercase;
}
h1 {
font-size: 3rem;
}
h2 {
font-size: 2.5rem;
}
label {
line-height: 1;
font-weight: 300;
}
input {
border: none;
background-color: rgb(255 255 255 / 0.4);
border-bottom: 3px solid #5d5d5d;
border-radius: 0;
font-weight: 600;
}
input:focus {
border-color: #ffacac;
outline: 1px solid #ffacac;
}
input:read-only {
background-color: #ffffff00;
}
/*grid*/
.sheet-grid {
display: grid;
grid-template-columns: 10% 10% 10% 10% 10% 10% 10% 10% 10% 10%;
align-items: center;
}
.sheet-grid--height-3 {
grid-template-rows: 33.333% 33.333% 33.333%;
height: 200px;
}
.sheet-grid--height-5 {
grid-template-rows: 20% 20% 20% 20% 20%;
height: 200px;
}
.sheet-grid--height-8 {
grid-template-rows: 12.5% 12.5% 12.5% 12.5% 12.5% 12.5% 12.5% 12.5%;
height: 300px;
}
.sheet-grid__item {
width: auto;
padding-right: 1.5rem;
margin-bottom: 1rem;
}
.sheet-grid__item input {
width: 100%;
}
.sheet-grid__item * {
height: 100%;
}
.sheet-grid__item--width-full {
grid-column-start: 1;
grid-column-end: 11;
}
.sheet-grid__item--width-half-1 {
grid-column-start: 1;
grid-column-end: 6;
}
.sheet-grid__item--width-half-2 {
grid-column-start: 6;
grid-column-end: 11;
}
.sheet-grid__item--width-1-2 {
grid-column-start: 1;
grid-column-end: 3;
}
.sheet-grid__item--width-1-3 {
grid-column-start: 1;
grid-column-end: 4;
}
.sheet-grid__item--width-1-5 {
grid-column-start: 1;
grid-column-end: 6;
}
.sheet-grid__item--width-3-5 {
grid-column-start: 3;
grid-column-end: 6;
}
.sheet-grid__item--width-4-5 {
grid-column-start: 4;
grid-column-end: 6;
}
.sheet-grid__item--width-6 {
grid-column-start: 6;
grid-column-end: 7;
}
.sheet-grid__item--width-6-7 {
grid-column-start: 6;
grid-column-end: 8;
}
.sheet-grid__item--width-6-8 {
grid-column-start: 6;
grid-column-end: 9;
}
.sheet-grid__item--width-7 {
grid-column-start: 7;
grid-column-end: 8;
}
.sheet-grid__item--width-7-9 {
grid-column-start: 7;
grid-column-end: 10;
}
.sheet-grid__item--width-8 {
grid-column-start: 8;
grid-column-end: 9;
}
.sheet-grid__item--width-8-9 {
grid-column-start: 8;
grid-column-end: 10;
}
.sheet-grid__item--width-8-10 {
grid-column-start: 8;
grid-column-end: 11;
}
.sheet-grid__item--width-9 {
grid-column-start: 9;
grid-column-end: 10;
}
.sheet-grid__item--width-9-10 {
grid-column-start: 9;
grid-column-end: 11;
}
.sheet-grid__item--width-10 {
grid-column-start: 10;
grid-column-end: 11;
}
.sheet-grid__item--height-1 {
grid-row-start: 1;
grid-row-end: 2;
}
.sheet-grid__item--height-2 {
grid-row-start: 2;
grid-row-end: 3;
}
.sheet-grid__item--height-3 {
grid-row-start: 3;
grid-row-end: 4;
}
.sheet-grid__item--height-4 {
grid-row-start: 4;
grid-row-end: 5;
}
.sheet-grid__item--height-5 {
grid-row-start: 5;
grid-row-end: 6;
}
.sheet-grid__item--height-2-3 {
grid-row-start: 2;
grid-row-end: 4;
}
.sheet-grid__item--height-2-4 {
grid-row-start: 2;
grid-row-end: 5;
}
.sheet-grid__item--height-3-4 {
grid-row-start: 3;
grid-row-end: 5;
}
.sheet-grid__item--height-3-8 {
grid-row-start: 3;
grid-row-end: 9;
}
.sheet-grid__item--height-4-5 {
grid-row-start: 4;
grid-row-end: 6;
}
.sheet-grid__item--height-5-7 {
grid-row-start: 5;
grid-row-end: 8;
}
.sheet-grid__item--height-7-8 {
grid-row-start: 7;
grid-row-end: 9;
}
.sheet-grid-flex {
display: flex;
}
.sheet-grid-flex > * {
margin-right: 1rem;
}
.sheet-grid-flex--wrap {
flex-wrap: wrap;
}
.sheet-grid-flex > *:last-child {
margin-right: 0 !important;
}
/*elements*/
.sheet-switch[type="checkbox"] {
display: none;
}
.sheet-switch[type="checkbox"] + .sheet-switch__slider {
position: relative;
display: inline-flex;
cursor: pointer;
}
.sheet-switch[type="checkbox"] + .sheet-switch__slider:before {
content: "";
width: 40px;
height: 16px;
border-radius: 30px;
border: 2px solid #5d5d5d;
background-color: #5d5d5d;
transition: background-color 0.5s linear;
}
.sheet-switch[type="checkbox"] + .sheet-switch__slider:after {
content: "";
position: absolute;
left: 2px;
top: 2px;
width: 16px;
height: 16px;
border-radius: 30px;
background-color: #ececec;
transition: margin 0.1s linear;
}
.sheet-switch[type="checkbox"]:checked + .sheet-switch__slider:before {
background-color: #d49090;
border: 2px solid #d49090;
}
.sheet-switch[type="checkbox"]:checked + .sheet-switch__slider:after {
margin: 0 0 0 25px;
}
.sheet-icon--pictos {
font-family: "pictos";
}
.sheet-icon--pictos-three {
font-family: "pictos three";
}
.sheet-separator {
border-top: 1px solid #ab9393;
padding-top: 10px;
}
/*components*/
.sheet-head {
background-color: #d49090;
padding: 2rem;
border-top-right-radius: 12px;
border-top-left-radius: 12px;
}
.sheet-head h1 {
margin-right: 1rem;
}
.sheet-head input {
vertical-align: text-bottom;
}
.sheet-body {
padding: 3rem 0;
background-color: #dadada;
overflow: hidden;
}
.sheet-accordion {
background-color: #e0e0e0;
-webkit-box-shadow: 0px -2px 5px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 0px -2px 5px 0px rgba(0,0,0,0.75);
box-shadow: 0px -1px 10px 0px rgb(0 0 0 / 28%);
overflow: hidden;
border-bottom-left-radius: 20px;
border-bottom-right-radius: 20px;
}
.sheet-accordion__selector {
position: absolute;
top: -9999px;
left: -9999px;
}
.sheet-accordion__label {
display: block;
float: left;
height: 100vh;
width: 30px;
overflow: hidden;
background: #ab9393;
text-align: center;
font-size: 14px;
line-height: 30px;
margin: 0;
padding: 0;
transition: background 300ms ease;
}
.sheet-accordion .sheet-accordion__group:nth-child(even) > .sheet-accordion__label {
background:#c7b1b1;
}
.sheet-accordion__label:hover,
.sheet-accordion .sheet-accordion__group:nth-child(even) > .sheet-accordion__label:hover {
background: #ffacac;
cursor: pointer;
}
.sheet-accordion__selector:checked + .sheet-accordion__label,
.sheet-accordion .sheet-accordion__group:nth-child(even) > .sheet-accordion__selector:checked + .sheet-accordion__label {
background: #d49090;
cursor: default !important;
}
.sheet-accordion__slide {
display: block;
height: 100%;
width: 0px;
float: left;
overflow-x: hidden;
transition: all 700ms ease;
}
.sheet-accordion__slide__content {
padding: 30px 10px;
}
.sheet-accordion__selector__titel {
display: block;
font-size: 1.2em;
white-space: nowrap;
transform: rotate(90deg);
}
.sheet-accordion__selector:checked ~ .sheet-accordion__label > * {
color: white;
}
.sheet-accordion > .sheet-accordion__group > .sheet-accordion__selector:checked ~ .sheet-accordion__slide {
width: calc(100% - 90px);
}
.sheet-form-group {
margin-bottom: 1rem;
}
.sheet-form-group > label {
width: 150px;
min-width: 150px;
padding-top: 1rem;
text-align: right;
display: inline-block;
}
.sheet-form-group__input-group {
display: inline;
}
.sheet-form-group__input-group > * {
float: right;
}
/*utilities*/
.sheet-text-center {
text-align: center;
}
.sheet-text-right {
text-align: right;
}
.sheet-bbr--round {
border-bottom-right-radius: 20px;
}
.sheet-bbl--round {
border-bottom-left-radius: 20px;
}
.sheet-d-inline {
display: inline;
}
.sheet-mb--1 {
margin-bottom: 1rem;
}
.sheet-mb--4 {
margin-bottom: 4rem;
}
.sheet-full-width {
width: 100%;
}