mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-30 03:40:32 +00:00
396 lines
9.6 KiB
CSS
Executable File
396 lines
9.6 KiB
CSS
Executable File
@import url("https://fonts.googleapis.com/css2?family=Eagle+Lake&family=Lemonada:wght@400;700&display=swap");
|
|
|
|
.charsheet .wrapper {
|
|
/* background: transparent url(title.jpg) no-repeat scroll center top;
|
|
-moz-background-clip: initial;
|
|
-moz-background-origin: initial;
|
|
-moz-background-inline-policy: initial; */
|
|
max-width: 620px;
|
|
padding: 0 5px 5px 5px;
|
|
border: 2px solid #000;
|
|
font-family: "Lemonada", cursive;
|
|
font-size: 12px;
|
|
margin: auto;
|
|
}
|
|
|
|
.charsheet .logo {
|
|
background-image: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Qin%20Warring%20States/images/logo.png");
|
|
background-position: left;
|
|
background-repeat: no-repeat;
|
|
background-size:cover;
|
|
margin: 0 -5px 5px -5px;
|
|
height: 155px;
|
|
width: calc(100% + 10px);
|
|
outline: 2px solid #000;
|
|
}
|
|
|
|
.charsheet label {
|
|
display: inline;
|
|
font-weight: normal;
|
|
padding: 0 2px 0 2px;
|
|
line-height: 2.25em;
|
|
margin: auto;
|
|
}
|
|
|
|
.charsheet .field-small {
|
|
width: 35px;
|
|
}
|
|
|
|
.charsheet button + .field-small {
|
|
height: 40px;
|
|
width: 45px;
|
|
}
|
|
|
|
.charsheet .field-smaller {
|
|
width: 40px;
|
|
}
|
|
|
|
.charsheet .field-medium {
|
|
width: 100px;
|
|
}
|
|
|
|
.charsheet .field-large {
|
|
width: 200px;
|
|
}
|
|
|
|
.charsheet .field-auto {
|
|
width: 100%;
|
|
max-width: -webkit-fill-available;
|
|
max-width: -moz-available;
|
|
}
|
|
|
|
.charsheet input[type="checkbox"] {
|
|
width: 20px;
|
|
}
|
|
|
|
.charsheet select {
|
|
padding: 0 0 0 0;
|
|
margin: auto;
|
|
}
|
|
|
|
.charsheet .armored {
|
|
background: white;
|
|
border-collapse: separate;
|
|
/* IE7 and lower */
|
|
border-spacing: 0;
|
|
border-bottom-left-radius: 25px;
|
|
border-bottom-right-radius: 25px;
|
|
border: 1px solid black;
|
|
text-align: right;
|
|
width: 30%;
|
|
font-size: 0.8em;
|
|
padding: 0;
|
|
}
|
|
|
|
.charsheet .header {
|
|
font-family: "Eagle Lake", serif;
|
|
font-variant: small-caps;
|
|
font-size: 1.2em;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.charsheet div.health {
|
|
width: 20px;
|
|
height: 20px;
|
|
position: relative;
|
|
}
|
|
|
|
.charsheet input.health {
|
|
margin: 0;
|
|
opacity: 00;
|
|
width: 20px;
|
|
height: 20px;
|
|
position: absolute;
|
|
z-index: 1;
|
|
}
|
|
|
|
.charsheet span.health {
|
|
margin: 0;
|
|
display: none;
|
|
}
|
|
|
|
.charsheet input.square {
|
|
z-index: 2;
|
|
}
|
|
|
|
.charsheet input.square:checked + input.slash,
|
|
.charsheet input.slash:checked + input.exe {
|
|
z-index: 3;
|
|
}
|
|
|
|
.charsheet input.square:checked ~ span.square,
|
|
.charsheet input.slash:checked ~ span.slash,
|
|
.charsheet input.exe:checked ~ span.exe {
|
|
display: inline-block;
|
|
}
|
|
|
|
.charsheet .square {
|
|
width: 20px;
|
|
height: 20px;
|
|
background: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Qin%20Warring%20States/images/square.png") no-repeat 0 0;
|
|
background-size: 100%;
|
|
}
|
|
|
|
.charsheet .slash {
|
|
width: 20px;
|
|
height: 20px;
|
|
background: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Qin%20Warring%20States/images/slash.png") no-repeat 0 0;
|
|
background-size: 100%;
|
|
}
|
|
|
|
.charsheet .exe {
|
|
width: 20px;
|
|
height: 20px;
|
|
background: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Qin%20Warring%20States/images/red_x.png") no-repeat 0 0;
|
|
background-size: 100%;
|
|
}
|
|
|
|
.charsheet .grid {
|
|
margin-bottom: 25px;
|
|
}
|
|
|
|
.charsheet div.tab-contents {
|
|
display: none;
|
|
}
|
|
|
|
.charsheet input.tab1:checked ~ div.tab1,
|
|
.charsheet input.tab2:checked ~ div.tab2,
|
|
.charsheet input.tab3:checked ~ div.tab3,
|
|
.charsheet input.tab4:checked ~ div.tab4,
|
|
.charsheet input.tab5:checked ~ div.tab5 {
|
|
display: block;
|
|
}
|
|
|
|
.charsheet input.tab {
|
|
cursor: pointer;
|
|
height: 30px;
|
|
opacity: 0;
|
|
position: relative;
|
|
width: 120px;
|
|
z-index: 1;
|
|
}
|
|
|
|
.charsheet input[type="radio"].tab + span {
|
|
background: #fff;
|
|
background: -moz-linear-gradient(to top, #c8c8c8, #fff, #c8c8c8);
|
|
background: -webkit-linear-gradient(to top, #c8c8c8, #fff, #c8c8c8);
|
|
background: -ms-linear-gradient(to top, #c8c8c8, #fff, #c8c8c8);
|
|
background: -o-linear-gradient(to top, #c8c8c8, #fff, #c8c8c8);
|
|
background: linear-gradient(to top, #c8c8c8, #fff, #c8c8c8);
|
|
border: solid 1px #a8a8a8;
|
|
border-bottom-color: black;
|
|
box-shadow: 2px 2px 2px #000;
|
|
/* content: attr(title); */
|
|
display: inline-block;
|
|
font-weight: bold;
|
|
height: 22px;
|
|
margin-left: -120px;
|
|
padding: 4px 0 0 0;
|
|
position: absolute;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
width: 120px;
|
|
}
|
|
|
|
.charsheet input[type="radio"].tab:checked + span {
|
|
background: #dcdcdc;
|
|
background: -moz-linear-gradient(to top, #fcfcfc, #dcdcdc, #fcfcfc);
|
|
background: -webkit-linear-gradient(to top, #fcfcfc, #dcdcdc, #fcfcfc);
|
|
background: -ms-linear-gradient(to top, #fcfcfc, #dcdcdc, #fcfcfc);
|
|
background: -o-linear-gradient(to top, #fcfcfc, #dcdcdc, #fcfcfc);
|
|
background: linear-gradient(to top, #fcfcfc, #dcdcdc, #fcfcfc);
|
|
border-bottom-color: #fff;
|
|
}
|
|
|
|
.charsheet input.tab:not(:first-child) + span {
|
|
border-left: none;
|
|
}
|
|
|
|
.charsheet input.tab2 + span {
|
|
background: #fff;
|
|
background: -moz-linear-gradient(to top, #c8c8c8, #fff, #c8c8c8);
|
|
background: -webkit-linear-gradient(to top, #c8c8c8, #fff, #c8c8c8);
|
|
background: -ms-linear-gradient(to top, #c8c8c8, #fff, #c8c8c8);
|
|
background: -o-linear-gradient(to top, #c8c8c8, #fff, #c8c8c8);
|
|
background: linear-gradient(to top, #c8c8c8, #fff, #c8c8c8);
|
|
}
|
|
|
|
.charsheet input.tab2:checked + span {
|
|
background: #dcdcdc;
|
|
background: -moz-linear-gradient(to top, #fcfcfc, #dcdcdc, #fcfcfc);
|
|
background: -webkit-linear-gradient(to top, #fcfcfc, #dcdcdc, #fcfcfc);
|
|
background: -ms-linear-gradient(to top, #fcfcfc, #dcdcdc, #fcfcfc);
|
|
background: -o-linear-gradient(to top, #fcfcfc, #dcdcdc, #fcfcfc);
|
|
background: linear-gradient(to top, #fcfcfc, #dcdcdc, #fcfcfc);
|
|
border-bottom-color: #fff;
|
|
}
|
|
|
|
.charsheet div.tab-contents {
|
|
border: 1px solid #a8a8a8;
|
|
border-top-color: #000;
|
|
margin: 2px 0 0 5px;
|
|
padding: 5px;
|
|
width: auto;
|
|
}
|
|
|
|
.charsheet div.tab2 {
|
|
background-color: #dcdcdc;
|
|
}
|
|
|
|
.charsheet th img,
|
|
.charsheet button[type="roll"].roll img {
|
|
width: 50px;
|
|
}
|
|
|
|
.charsheet button[type="roll"].roll::before {
|
|
content: "";
|
|
}
|
|
|
|
.charsheet .background-fire,
|
|
.charsheet .background-metal,
|
|
.charsheet .background-earth,
|
|
.charsheet .background-wood,
|
|
.charsheet .background-water {
|
|
background-position: left;
|
|
background-size: contain;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
.charsheet .background-fire {
|
|
background-image: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Qin%20Warring%20States/images/fire.png");
|
|
}
|
|
|
|
.charsheet .background-metal {
|
|
background-image: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Qin%20Warring%20States/images/metal.png");
|
|
}
|
|
|
|
.charsheet .background-earth {
|
|
background-image: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Qin%20Warring%20States/images/earth.png");
|
|
}
|
|
|
|
.charsheet .background-wood {
|
|
background-image: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Qin%20Warring%20States/images/wood.png");
|
|
}
|
|
|
|
.charsheet .background-water {
|
|
background-image: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Qin%20Warring%20States/images/water.png");
|
|
}
|
|
|
|
.charsheet .grid-3col button,
|
|
.charsheet .grid-3col select {
|
|
background-color: #fff;
|
|
opacity: 1;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.charsheet button[type="roll"].roll {
|
|
border-radius: 4px;
|
|
box-shadow: 2px 2px 4px #000;
|
|
margin: 0 0 4px 0;
|
|
padding: 0 5px 0 10px;
|
|
height: 50px;
|
|
width: 90px;
|
|
text-align: right;
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
.charsheet button[type="roll"].roll:hover,
|
|
.charsheet button[type="roll"].roll:focus {
|
|
transform: scale(1.05) perspective(1px);
|
|
}
|
|
|
|
.charsheet .grid-2x2 {
|
|
display: grid;
|
|
grid-column-gap: 20px;
|
|
grid-template-columns: 1fr 1fr;
|
|
grid-template-rows: 2em 2em;
|
|
margin: auto;
|
|
width: min-content;
|
|
}
|
|
|
|
.charsheet .grid-3x3 {
|
|
display: grid;
|
|
grid-column-gap: 20px;
|
|
grid-template-columns: 1fr 1fr 1fr;
|
|
grid-template-rows: 2em 2em 2em;
|
|
margin: auto;
|
|
width: min-content;
|
|
}
|
|
|
|
.charsheet .grid-3col {
|
|
background-image: url('https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/Qin%20Warring%20States/images/yin_and_yang.png');
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
background-size: contain;
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr 1fr;
|
|
height: 200px;
|
|
padding: 35px 0 35px 35px;
|
|
width: auto;
|
|
}
|
|
|
|
.charsheet .grid-skills {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
|
|
.charsheet .grid-skills span,
|
|
.charsheet .grid-skills label {
|
|
display: flex;
|
|
}
|
|
|
|
.charsheet .grid-skills div {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
height: min-content;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.charsheet .tab2 .grid-skills .repcontrol,
|
|
.charsheet .tab3 .repcontrol,
|
|
.charsheet .tab4 .repcontrol,
|
|
.charsheet .tab5 .repcontrol {
|
|
margin-top: 14px;
|
|
}
|
|
|
|
.charsheet .grid-skills div .repcontainer .repitem {
|
|
height: 2.25em;
|
|
}
|
|
|
|
.charsheet .grid-skills img {
|
|
height: 54px;
|
|
width: 54px;
|
|
}
|
|
|
|
.charsheet .grid-tao {
|
|
display: grid;
|
|
grid-template-columns: 2fr 4em 2em 2em 3fr;
|
|
}
|
|
|
|
.charsheet .grid-10col {
|
|
display: inline-grid;
|
|
grid-template-columns: repeat(10, 1fr);
|
|
width: fit-content;
|
|
margin: auto;
|
|
padding: 5px 5px 15px 5px;
|
|
}
|
|
|
|
.charsheet .grid-span-all {
|
|
grid-column: 1/-1;
|
|
}
|
|
|
|
.charsheet .grid-span-9 {
|
|
grid-column: 1/10;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.charsheet .grid-span-9 + span {
|
|
text-align: center;
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.charsheet .grid-span-all label,
|
|
.charsheet .grid-span-9 label {
|
|
line-height: normal;
|
|
} |