mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-31 12:12:30 +00:00
447 lines
12 KiB
SCSS
447 lines
12 KiB
SCSS
/* Helpers */
|
|
@mixin font-family-sans-serif {
|
|
font-family: Georgia, Times, "Times New Roman", serif;
|
|
}
|
|
|
|
.sheet-4colrow {
|
|
display: block;
|
|
clear: both;
|
|
.sheet-col {
|
|
width: calc(25% - 26px);
|
|
margin-right: 30px;
|
|
}
|
|
}
|
|
|
|
/* Styles */
|
|
.sheet-section {
|
|
/* Fields */
|
|
input,
|
|
select {
|
|
max-width: 100%;
|
|
width: auto;
|
|
}
|
|
textarea {
|
|
max-height: 75px;
|
|
}
|
|
img {
|
|
height: auto;
|
|
max-width: 100%;
|
|
}
|
|
table {
|
|
width: 100%;
|
|
tr {
|
|
th,
|
|
td {
|
|
padding-top: 5px;
|
|
padding-bottom: 5px;
|
|
&:nth-child(1) {
|
|
width: 52%;
|
|
}
|
|
&:nth-child(2) {
|
|
width: 48%;
|
|
}
|
|
input {
|
|
&[type="text"] {
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.sheet-note {
|
|
color: #999999;
|
|
font-size: 11px;
|
|
line-height: 125%;
|
|
display: block;
|
|
}
|
|
|
|
/* Sections */
|
|
&.sheet-section-general {
|
|
.sheet-logo {
|
|
height: 48px;
|
|
line-height: 48px;
|
|
text-align: center;
|
|
img {
|
|
max-width: 100%;
|
|
height: 38px;
|
|
}
|
|
}
|
|
.sheet-wheel {
|
|
height: 120px;
|
|
line-height: 120px;
|
|
text-align: center;
|
|
img {
|
|
max-width: 100%;
|
|
height: 120px;
|
|
}
|
|
}
|
|
.sheet-callout {
|
|
background: #EFEFEF;
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
font-size: 9px;
|
|
label {
|
|
margin-bottom: 2px;
|
|
}
|
|
}
|
|
.sheet-conditions {
|
|
background: #EFEFEF;
|
|
.sheet-field {
|
|
overflow: hidden;
|
|
}
|
|
h4 {
|
|
color: #FFFFFF;
|
|
right: -10px;
|
|
left: -10px;
|
|
background: #666666;
|
|
display: block;
|
|
height: 20px;
|
|
position: relative;
|
|
text-align: center;
|
|
line-height: 20px;
|
|
margin-bottom: 5px;
|
|
width: calc(100% + 20px);
|
|
}
|
|
table {
|
|
tr {
|
|
th,
|
|
td {
|
|
vertical-align: top;
|
|
}
|
|
}
|
|
}
|
|
input {
|
|
&[type="checkbox"] {
|
|
float: left;
|
|
margin-right: 5px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
&.sheet-section-traits {
|
|
table {
|
|
tr {
|
|
th,
|
|
td {
|
|
text-align: left;
|
|
vertical-align: top;
|
|
&:nth-child(1) {
|
|
width: 45%;
|
|
}
|
|
&:nth-child(2),
|
|
&:nth-child(3),
|
|
&:nth-child(4) {
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
width: 20%;
|
|
}
|
|
&:nth-child(3) {
|
|
width: 15%;
|
|
}
|
|
&:nth-child(4) {
|
|
width: 20%;
|
|
}
|
|
select {
|
|
width: 100%;
|
|
}
|
|
}
|
|
th {
|
|
@include font-family-sans-serif;
|
|
font-size: 10px;
|
|
text-align: left;
|
|
text-transform: uppercase;
|
|
&:nth-child(3),
|
|
&:nth-child(4) {
|
|
text-align: center;
|
|
}
|
|
}
|
|
td {
|
|
text-align: center;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
&.sheet-section-abilities {
|
|
table {
|
|
tr {
|
|
th,
|
|
td {
|
|
text-align: left;
|
|
vertical-align: top;
|
|
&:nth-child(1) {
|
|
padding-right: 10px;
|
|
width: 35%;
|
|
}
|
|
&:nth-child(2) {
|
|
width: 30%;
|
|
}
|
|
&:nth-child(3) {
|
|
width: 35%;
|
|
}
|
|
}
|
|
}
|
|
thead {
|
|
tr {
|
|
th {
|
|
@include font-family-sans-serif;
|
|
font-size: 10px;
|
|
text-transform: uppercase;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
&.sheet-section-nature {
|
|
table {
|
|
tr {
|
|
th,
|
|
td {
|
|
font-size: 11px;
|
|
text-align: left;
|
|
&:nth-child(1) {
|
|
width: 15%;
|
|
}
|
|
&:nth-child(2) {
|
|
width: 85%;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
&.sheet-section-wises {
|
|
table {
|
|
tr {
|
|
th,
|
|
td {
|
|
text-align: left;
|
|
vertical-align: top;
|
|
&:nth-child(1) {
|
|
padding-right: 30px;
|
|
width: 45%;
|
|
}
|
|
&:nth-child(2) {
|
|
padding-right: 10px;
|
|
width: 10%;
|
|
}
|
|
&:nth-child(3) {
|
|
padding-right: 10px;
|
|
width: 10%;
|
|
}
|
|
&:nth-child(4) {
|
|
padding-right: 10px;
|
|
width: 10%;
|
|
}
|
|
&:nth-child(5) {
|
|
padding-right: 10px;
|
|
width: 10%;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
&.sheet-section-skills {
|
|
table {
|
|
tr {
|
|
th,
|
|
td {
|
|
text-align: left;
|
|
vertical-align: top;
|
|
&:nth-child(1) {
|
|
padding-right: 10px;
|
|
width: 35%;
|
|
}
|
|
&:nth-child(2) {
|
|
width: 30%;
|
|
}
|
|
&:nth-child(3) {
|
|
width: 35%;
|
|
}
|
|
}
|
|
}
|
|
thead {
|
|
tr {
|
|
th {
|
|
@include font-family-sans-serif;
|
|
font-size: 10px;
|
|
text-transform: uppercase;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
&.sheet-section-inventory {
|
|
table.single {
|
|
tr {
|
|
td {
|
|
&:nth-child(1) {
|
|
width: 100%;
|
|
padding-right: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
table {
|
|
margin-bottom: 5px;
|
|
tr {
|
|
td {
|
|
&:nth-child(1) {
|
|
width: 20%;
|
|
vertical-align: middle;
|
|
padding-right: 10px;
|
|
}
|
|
&:nth-child(2) {
|
|
width: 80%;
|
|
}
|
|
&.sheet-note {
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
padding: 5px;
|
|
}
|
|
border: 1px solid black;
|
|
}
|
|
th {
|
|
width: 100%;
|
|
border: 1px solid black;
|
|
}
|
|
label {
|
|
text-align: right;
|
|
font-size: 13px;
|
|
color: #777;
|
|
}
|
|
}
|
|
thead {
|
|
margin-bottom: 5px;
|
|
tr {
|
|
th {
|
|
@include font-family-sans-serif;
|
|
font-size: 10px;
|
|
text-transform: uppercase;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
&.sheet-section-mental-inventory {
|
|
h4 {text-align:center;}
|
|
table {
|
|
thead {
|
|
tr {
|
|
th {
|
|
text-align: center;
|
|
}
|
|
}
|
|
}
|
|
tr {
|
|
th,
|
|
td {
|
|
text-align: center;
|
|
vertical-align: top;
|
|
&:nth-child(1) {
|
|
width: 20%;
|
|
}
|
|
&:nth-child(2) {
|
|
width: 20%;
|
|
}
|
|
&:nth-child(3) {
|
|
width: 20%;
|
|
}
|
|
&:nth-child(4) {
|
|
width: 20%;
|
|
}
|
|
&:nth-child(5) {
|
|
width: 20%;
|
|
}
|
|
select {
|
|
width: 100%;
|
|
}
|
|
}
|
|
th {
|
|
@include font-family-sans-serif;
|
|
font-size: 10px;
|
|
text-align: left;
|
|
text-transform: uppercase;
|
|
border: 1px solid black;
|
|
}
|
|
td {
|
|
text-align: center;
|
|
border: 1px solid black;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
&.sheet-section-traveling-spellbook {
|
|
table {
|
|
tr {
|
|
label{
|
|
text-align: center;
|
|
}
|
|
th,
|
|
td {
|
|
@include font-family-sans-serif;
|
|
font-size: 8px;
|
|
vertical-align: top;
|
|
text-align: center;
|
|
text-transform: uppercase;
|
|
&:nth-child(1) {
|
|
width: 25%;
|
|
}
|
|
&:nth-child(2) {
|
|
width: 15%;
|
|
}
|
|
&:nth-child(3) {
|
|
width: 60%;
|
|
}
|
|
select {
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
&.sheet-section-level-req-ben {
|
|
table {
|
|
thead {
|
|
tr {
|
|
th {
|
|
text-align: center;
|
|
}
|
|
}
|
|
}
|
|
tr {
|
|
label{
|
|
text-align: center;
|
|
}
|
|
th,
|
|
td {
|
|
text-align: center;
|
|
vertical-align: top;
|
|
&:nth-child(1) {
|
|
width: 5%;
|
|
}
|
|
&:nth-child(2) {
|
|
width: 5%;
|
|
}
|
|
&:nth-child(3) {
|
|
width: 5%;
|
|
}
|
|
&:nth-child(4) {
|
|
width: 85%;
|
|
}
|
|
select {
|
|
width: 100%;
|
|
}
|
|
}
|
|
th {
|
|
@include font-family-sans-serif;
|
|
font-size: 10px;
|
|
text-align: center;
|
|
text-transform: uppercase;
|
|
}
|
|
td {
|
|
text-align: center;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|