mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-30 03:40:32 +00:00
374 lines
6.6 KiB
CSS
374 lines
6.6 KiB
CSS
|
|
|
|
/* === GENERAL === */
|
|
|
|
*, *:before, *:after {
|
|
box-sizing: inherit;
|
|
}
|
|
|
|
|
|
.sheet-flex {
|
|
display: flex;
|
|
}
|
|
|
|
.sheet-flex-grow {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.sheet-header {
|
|
padding: 6px;
|
|
background-image: linear-gradient(to right, #2C3F44, #F7C581);
|
|
border-top-right-radius: 15px;
|
|
box-shadow: inset 0 0 15px #3F372D;
|
|
text-align: left;
|
|
color: white;
|
|
font-weight: bold;
|
|
font-size: 1.1em;
|
|
}
|
|
|
|
|
|
.sheet-table-header {
|
|
background-color: #436168; /*#436168; 2C3F44*/
|
|
color:#fff;
|
|
font-size: 10px;
|
|
}
|
|
div.sheet-table-header {
|
|
display: flex;
|
|
}
|
|
.sheet-table-header div {
|
|
padding:4px;
|
|
}
|
|
|
|
.ui-dialog .charsheet button[type=roll].sheet-info-button {
|
|
background-color: transparent;
|
|
border:none;
|
|
box-shadow: none;
|
|
height: 18px;
|
|
}
|
|
.ui-dialog .charsheet button[type=roll].sheet-info-button:before {
|
|
content:"?";
|
|
border: 2px solid #fff;
|
|
border-radius: 9px;
|
|
color: white;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
font-size: 16px;
|
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
height: 19px;
|
|
width: 19px;
|
|
position: relative;
|
|
top:-5px;
|
|
display: inline-block;
|
|
line-height: 16px;
|
|
}
|
|
|
|
|
|
.charsheet {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
input,
|
|
textarea,
|
|
select,
|
|
.uneditable-input {
|
|
margin-bottom: 0px;
|
|
font-size: 12px;
|
|
line-height: 100%;
|
|
padding: 2px;
|
|
}
|
|
|
|
textarea {
|
|
resize: vertical;
|
|
font-size: 11px;
|
|
}
|
|
|
|
select {
|
|
margin: 0;
|
|
height: 20px;
|
|
}
|
|
|
|
input[type=text] {
|
|
width: 100%;
|
|
}
|
|
|
|
/* Override Roll20 Button styling for something less conspicious */
|
|
button {
|
|
height: 25px;
|
|
margin: 0 !important;
|
|
border-radius: 6px !important;
|
|
background-image: none !important;
|
|
border: none !important;
|
|
}
|
|
|
|
|
|
.ui-dialog .charsheet {
|
|
padding: 0px;
|
|
}
|
|
.ui-dialog .charsheet button[type=roll] /* more specificity to overide Roll20 style*/
|
|
{
|
|
background-color: #7D5530; /*#63431E;*/ /*#a00;*/
|
|
color: #CCD;
|
|
font-size: 22px;
|
|
}
|
|
.ui-dialog .charsheet .repcontrol {
|
|
padding: 3px;
|
|
}
|
|
.ui-dialog .charsheet .repcontrol button.btn
|
|
{
|
|
background-color: #2C3F44;
|
|
color: #EEE;
|
|
}
|
|
|
|
.sheet-attrib {
|
|
padding: 3px;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.sheet-subheader {
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.sheet-starting {
|
|
background-color: rgba(184,132,74,0.25);
|
|
}
|
|
|
|
/* === Logo === */
|
|
.sheet-logo {
|
|
background-image: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/mutant_cronicles_3/mcbackground.png");
|
|
padding: 8px;
|
|
box-shadow: inset 0 0 40px #2C3F44;
|
|
border-radius: 15px;
|
|
border:1px solid #2C3F44;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
/* === SECTION LAYOUT === */
|
|
|
|
.sheet-section {
|
|
width: 100%;
|
|
border: 1px solid #2C3F44;
|
|
background-image: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/mutant_cronicles_3/mcbackground.png");
|
|
margin: 0px 0px 10px;
|
|
}
|
|
|
|
|
|
.sheet-sectionA {
|
|
display: grid;
|
|
grid-template-columns: 1fr 250px;
|
|
}
|
|
|
|
.sheet-sectionA-col1 {
|
|
grid-column-start: 1;
|
|
font-weight: bold;
|
|
padding-right: 4px;
|
|
}
|
|
|
|
.sheet-sectionA-col2 {
|
|
grid-column-start: 2;
|
|
}
|
|
|
|
|
|
/* === Character, Damages and Talents === */
|
|
|
|
.sheet-char-identification {
|
|
width:calc(100% - 205px);
|
|
vertical-align:top;
|
|
display: inline-block;
|
|
}
|
|
|
|
/* === STRESS === */
|
|
|
|
.sheet-damage-track {
|
|
display: grid;
|
|
grid-template-columns: 50% 50%;
|
|
background-image: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/mutant_cronicles_3/vitruvianMan.png");
|
|
background-repeat: no-repeat, repeat;
|
|
background-position: center;
|
|
margin-top: 5px;
|
|
margin-bottom: 5px;
|
|
background-color: #F4F3F4; /* Same grey as the image */
|
|
border: 1px solid #2C3F44;
|
|
}
|
|
|
|
.sheet-damage-track td.sheet-header {
|
|
padding: 2px 6px;
|
|
}
|
|
|
|
.sheet-section-DamTrack-col1 {
|
|
grid-column-start: 1;
|
|
}
|
|
|
|
.sheet-section-DamTrack-col2 {
|
|
grid-column-start: 2;
|
|
}
|
|
|
|
.sheet-section-DamTrack-wide {
|
|
grid-column-start: 1;
|
|
grid-column-end: 3;
|
|
}
|
|
|
|
.sheet-section-DamTrack-col1 table,
|
|
.sheet-section-DamTrack-col2 table,
|
|
.sheet-section-DamTrack-wide table {
|
|
margin: 7px auto;
|
|
}
|
|
|
|
|
|
.sheet-damage-location tbody {
|
|
background-color: rgba(255,255,255,0.7);
|
|
border: 1px solid #2C3F44;
|
|
}
|
|
.sheet-damage-location td {
|
|
padding: 1px;
|
|
}
|
|
|
|
|
|
/* === Attributes ans skills === */
|
|
|
|
.sheet-table-header td {
|
|
padding: 2px 1px;
|
|
font-size: 9px;
|
|
color:#fff;
|
|
background-color: #436168;
|
|
}
|
|
|
|
.sheet-skill-table {
|
|
width: 100%;
|
|
}
|
|
|
|
.sheet-skill-table td {
|
|
padding: 3px 1px;
|
|
border-bottom: 1px solid #999999;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.sheet-skill-table td:nth-child(n+2) {
|
|
text-align: center;
|
|
}
|
|
|
|
.sheet-skill-table td:first-child {
|
|
width:100%;
|
|
}
|
|
|
|
.sheet-skill-title {
|
|
font-size: 15px;
|
|
font-weight: bold;
|
|
padding: 3px;
|
|
}
|
|
|
|
.sheet-skill-input-and-roll {
|
|
text-align: right;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.sheet-sectionA-col2 .sheet-skill-table input[type=number] {
|
|
width: 30px;
|
|
}
|
|
|
|
.sheet-skill-table ul {
|
|
list-style-type: none;
|
|
margin-bottom: 0;
|
|
margin-left:18px;
|
|
text-indent: -8px;
|
|
}
|
|
.sheet-skill-table li:before {
|
|
content: '►';
|
|
margin-left: -10px;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
|
|
/* === Repeatables === */
|
|
|
|
.sheet-alternate-bg:nth-child(2n+2),
|
|
.repitem:nth-child(2n+2){
|
|
background-color: rgba(219,174,116,0.5);
|
|
}
|
|
|
|
div.sheet-belonging-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 40px 40px 60px 60px 40px 70px;
|
|
}
|
|
.sheet-belonging-grid div:not(:first-of-type) {
|
|
text-align: center;
|
|
}
|
|
|
|
div.sheet-talents-grid {
|
|
display: grid;
|
|
grid-template-columns: 110px 110px 1fr;
|
|
}
|
|
.sheet-talents-grid textarea {
|
|
height: 50px;
|
|
}
|
|
|
|
div.sheet-events-grid {
|
|
display: grid;
|
|
grid-template-columns: 50% 50%;
|
|
}
|
|
|
|
.sheet-events-grid textarea {
|
|
height: 30px;
|
|
}
|
|
|
|
/* === Rolltables === */
|
|
.sheet-rolltemplate-damage .sheet-inlinerollresult {
|
|
background-color: #FEF68E;
|
|
border: 2px solid #FEF68E;
|
|
padding: 0 3px 0 3px;
|
|
font-weight: bold;
|
|
font-size: 1.1em;
|
|
}
|
|
|
|
.sheet-rolltemplate-container:before,
|
|
.sheet-rolltemplate-container:after {
|
|
content:"";
|
|
height: 0;
|
|
border-left: 20px solid transparent;
|
|
border-right: 20px solid transparent;
|
|
|
|
display: block;
|
|
margin-left: 0;
|
|
margin-right: 37px;
|
|
}
|
|
|
|
.sheet-rolltemplate-container:before {
|
|
border-bottom: 10px solid #60401D;
|
|
}
|
|
|
|
.sheet-rolltemplate-container:after {
|
|
border-top: 10px solid #60401D;
|
|
}
|
|
|
|
.sheet-rolltemplate-content {
|
|
background-image: url("https://raw.githubusercontent.com/Roll20/roll20-character-sheets/master/mutant_cronicles_3/mcTemplateBackground.png");
|
|
padding:6px;
|
|
display: block;
|
|
margin-left: -37px;
|
|
color: #60401D;
|
|
border-radius: 5px;
|
|
border: 1px solid #60401D;
|
|
border-top: 5px solid #60401D;
|
|
border-bottom: 5px solid #60401D;
|
|
}
|
|
.sheet-rolltemplate-content .sheet-rolltemplate-title {
|
|
font-weight: bold;
|
|
font-size: 1em;
|
|
}
|
|
|
|
.sheet-rolltemplate-damage .sheet-no-fullfail .inlinerollresult.fullfail {
|
|
border:none;
|
|
}
|
|
|
|
.sheet-rolltemplate-damage div.sheet-rolltemplate-grid {
|
|
display: grid;
|
|
grid-template-columns: 100px 1fr;
|
|
}
|
|
|
|
.sheet-rolltemplate-damage .sheet-rolltemplate-grid div {
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
|
|
|