mirror of
https://github.com/Nighthawk42/roll20-character-sheets.git
synced 2026-08-30 11:42:29 +00:00
2102 lines
45 KiB
CSS
2102 lines
45 KiB
CSS
/*-------------------------------------------*/
|
|
/*------------- SWD6 Main CSS----------------*/
|
|
/*-------------------------------------------*/
|
|
.charsheet {
|
|
background-image: url(https://cdn.pixabay.com/photo/2015/09/29/15/12/stars-964022_960_720.png); /*black space with tiny white stars*/
|
|
background-color: black;
|
|
background-repeat: repeat;
|
|
color:white;
|
|
}
|
|
|
|
.charsheet :is(label, h1, h2, h3, h4, h5){
|
|
color:white;
|
|
}
|
|
|
|
.charsheet table{
|
|
border-collapse:separate;
|
|
border-spacing:4px;
|
|
}
|
|
.charsheet textarea{
|
|
resize:none;
|
|
}
|
|
|
|
.charsheet :is(p, .txtcenter){
|
|
text-align: center;
|
|
}
|
|
|
|
.charsheet .toppad{
|
|
padding:2px;
|
|
}
|
|
|
|
.charsheet .section{
|
|
border-top: 5px dotted white;
|
|
padding:10px;
|
|
width: 100%;
|
|
}
|
|
|
|
|
|
.charsheet .flex-box{
|
|
display: flex;
|
|
}
|
|
.charsheet .flex-row-nowrap{
|
|
flex-flow: row nowrap;
|
|
}
|
|
.charsheet .flex-col-nowrap{
|
|
flex-flow: column nowrap;
|
|
}
|
|
.charsheet .flex-gap{
|
|
gap: 15px;
|
|
}
|
|
.charsheet .flex-grow{
|
|
flex: 1;
|
|
}
|
|
|
|
|
|
.charsheet input:not(:valid) {
|
|
background-color: #ffcccb;
|
|
}
|
|
|
|
.charsheet input[type=number].p60{
|
|
width: 60px;
|
|
text-align: center;
|
|
padding-top:2px;
|
|
padding-bottom:2px;
|
|
display: inline-block;
|
|
float:right;
|
|
}
|
|
|
|
.charsheet .p90{
|
|
width: 90px;
|
|
}
|
|
|
|
.charsheet input[type=number].mediumnumber{
|
|
width:60px;
|
|
}
|
|
|
|
.charsheet input[type=number].credits,
|
|
.charsheet span.credits {
|
|
width: 80px;
|
|
padding-top: 2px;
|
|
padding-bottom: 2px;
|
|
text-align: center;
|
|
}
|
|
.charsheet input[type=number].totalcredits{
|
|
width: 60%;
|
|
float: right;
|
|
}
|
|
|
|
|
|
.charsheet input[type=text].smalltext{
|
|
width:60px;
|
|
margin:0;
|
|
}
|
|
|
|
.charsheet input[type=text].mediumtext{
|
|
width:80px;
|
|
margin:0;
|
|
}
|
|
|
|
.charsheet input[type=text].reduce-padd{
|
|
padding-top:2px;
|
|
padding-bottom:2px;
|
|
}
|
|
|
|
.charsheet input[type=text].skilltext{
|
|
width:115px;
|
|
padding:2px;
|
|
margin-left:3px;
|
|
}
|
|
|
|
.charsheet .right{
|
|
float:right;
|
|
}
|
|
|
|
.charsheet .left{
|
|
float:left;
|
|
}
|
|
|
|
.charsheet .bold{
|
|
font-size: 12pt;
|
|
margin-bottom: 10px;
|
|
}
|
|
.charsheet .bold2{
|
|
font-weight: bold;
|
|
}
|
|
|
|
.charsheet span.num {
|
|
background: white;
|
|
color: black;
|
|
border-radius: 2px;
|
|
padding: 4px;
|
|
margin: 5px;
|
|
height: 28px;
|
|
width: 50px;
|
|
}
|
|
|
|
|
|
.charsheet .tdborder{
|
|
border: 2px solid white;
|
|
vertical-align:top;
|
|
padding:5px;
|
|
margin: 5px;
|
|
}
|
|
|
|
.charsheet .rightmargin{
|
|
margin-right:0;
|
|
}
|
|
|
|
.charsheet select.smallselect{
|
|
width:60px;
|
|
height:25px;
|
|
padding-top:2px;
|
|
padding-bottom:2px;
|
|
margin:0;
|
|
display: inline-block;
|
|
float:right;
|
|
text-align: center;
|
|
}
|
|
|
|
.charsheet select.mediumselect{ /*Used for Wound levels dropdown select*/
|
|
width:100px;
|
|
height:25px;
|
|
padding-top:2px;
|
|
padding-bottom:2px;
|
|
margin:0;
|
|
display: inline-block;
|
|
float:right;
|
|
}
|
|
|
|
.charsheet label.areaLabel{
|
|
margin:0;
|
|
}
|
|
|
|
.charsheet input[type="text"].60p{
|
|
width: 60%;
|
|
}
|
|
|
|
.charsheet .lineblock{
|
|
display:inline-block;
|
|
}
|
|
|
|
/*-----------------------------------------*/
|
|
/*----------Roll Buttons classes-----------*/
|
|
|
|
.charsheet button[type=roll].d6-dice::before { /*new die changes die roller to d6*/
|
|
font-family: 'dicefontd6', arial, sans-serif;
|
|
content: 'F ';
|
|
color: red;
|
|
}
|
|
|
|
|
|
.charsheet button[type=roll].txt::before {
|
|
content: '';
|
|
}
|
|
.charsheet button[type=roll].txt{
|
|
padding: 2px 6px;
|
|
}
|
|
.charsheet button[type=roll].txt:hover{
|
|
border: 3px solid blue;
|
|
}
|
|
|
|
.charsheet .forcebutton{
|
|
width:90px;
|
|
padding-right:5px;
|
|
}
|
|
|
|
.charsheet .redtxt{
|
|
font-size: 8px;
|
|
color: red;
|
|
font-family: 'Arial', sans-serif;
|
|
}
|
|
|
|
|
|
/* writing the letter 't' with this font shows an impact icon signifying physical damage */
|
|
.charsheet button.physical{
|
|
font-family: 'Pictos Custom';
|
|
}
|
|
/* writing the letter 'e' with this font shows e bolt icon signifying energy damage */
|
|
.charsheet button.energy{
|
|
font-family: 'Pictos';
|
|
}
|
|
|
|
.charsheet span.physical{
|
|
font-family: 'Pictos Custom';
|
|
font-size: large;
|
|
content: 't';
|
|
}
|
|
/* writing the letter 'e' with this font shows e bolt icon signifying energy damage */
|
|
.charsheet span.energy{
|
|
font-family: 'Pictos';
|
|
font-size: large;
|
|
content: 'e';
|
|
}
|
|
|
|
|
|
/*-------------------------------------------*/
|
|
/*-----Main Settings and hide classes--------*/
|
|
|
|
.charsheet .main-settings .container{
|
|
width: 850px;
|
|
}
|
|
.charsheet .main-settings .input-row label {
|
|
display: inline-block;
|
|
width: auto;
|
|
}
|
|
|
|
.charsheet .main-settings .input-row input {
|
|
margin-right: 30px;
|
|
}
|
|
.charsheet .main-settings .input-row input[type="checkbox"] {
|
|
display: inline-block;
|
|
height: 28px;
|
|
width: 44px;
|
|
}
|
|
.charsheet .main-settings .input-row select {
|
|
width: 45%;
|
|
margin-right: 15px;
|
|
}
|
|
|
|
.charsheet input.main-options.options-flag + span,/*displays the cog icon*/
|
|
.charsheet input[type=radio]:checked ~ .master-container input.options-flag + span {
|
|
font-family: pictos;
|
|
font-style: normal;
|
|
}
|
|
|
|
.charsheet div.main-settings {
|
|
display: none;
|
|
position: relative;
|
|
margin-left: 0;
|
|
background: black;
|
|
border: 2px solid grey;
|
|
border-radius: 0.5em;
|
|
}
|
|
|
|
.charsheet input.options-flag:checked ~ div.main-settings {
|
|
display: inline-block;
|
|
width: 600px;
|
|
height: 500px;
|
|
}
|
|
|
|
.charsheet input.selector-switch ,
|
|
.charsheet input.options-flag:checked ~ div.main-container {
|
|
display: none;
|
|
}
|
|
|
|
/* all hide options using option menu checkboxes*/
|
|
|
|
.charsheet .master-container :is(.pc, .npc, .ship, .shop-inventory, .vehicle) {
|
|
display: none;
|
|
}
|
|
|
|
.charsheet input.toggle[value="0"] ~ .master-container .pc,
|
|
.charsheet input.toggle[value="1"] ~ .master-container .npc,
|
|
.charsheet input.toggle[value="2"] ~ .master-container .ship,
|
|
.charsheet input.toggle[value="3"] ~ .master-container .shop-inventory,
|
|
.charsheet input.toggle[value="4"] ~ .master-container .vehicle,
|
|
.charsheet input.credittotal:checked ~ .master-container .credittotal{
|
|
display: block;
|
|
}
|
|
|
|
.charsheet input.toggle[value="2"] ~ .master-container .ship.shipblock,
|
|
.charsheet input.toggle[value="4"] ~ .master-container .vehicle.vehicleblock{
|
|
display: grid;
|
|
}
|
|
|
|
.charsheet input.toggle[value="4"] ~ .master-container .vehicle.vehicleheader,
|
|
.charsheet input.toggle[value="2"] ~ .master-container .ship.shipheader{
|
|
display: flex;
|
|
}
|
|
|
|
.charsheet input.background:checked ~ .master-container .background-hide,
|
|
.charsheet input.force:checked ~ .master-container .force-hide,
|
|
.charsheet input.equipment:checked ~ .master-container .equipment-hide,
|
|
.charsheet input.gmroll:checked ~ .master-container .gmroll-hide,
|
|
.charsheet input.rollmod:checked ~ .master-container .rollmod,
|
|
.charsheet input.rollmod:not(:checked) ~ .master-container .rollmod-no,
|
|
.charsheet input.cptracker:checked ~ .master-container .cptracker-hide,
|
|
.charsheet input.credittracker:checked ~ .master-container .credittracker-hide,
|
|
.charsheet input.credittotal:checked ~ .master-container .credittotal-hide,
|
|
.charsheet input.cptotal:checked ~ .master-container .cptotal-hide,
|
|
.charsheet input.credittotal:not(:checked) ~ .master-container .credittotal,
|
|
.charsheet input.cptotal:not(:checked) ~ .master-container .cptotal {
|
|
display: none;
|
|
}
|
|
|
|
/*-------------------------------------------*/
|
|
/*------ Title & Logo Section ---------------*/
|
|
.charsheet div.version-top{
|
|
position: absolute;
|
|
right: 465px;
|
|
top: 50px;
|
|
}
|
|
|
|
.charsheet div.logo{
|
|
display: inline-block;
|
|
position: absolute;
|
|
left: 150px;
|
|
padding-bottom: 50px;
|
|
}
|
|
.charsheet img.logo{
|
|
max-height: 80px;
|
|
}
|
|
|
|
.charsheet input.options-flag:checked ~ div.main-settings.settings-title {
|
|
width: 80px;
|
|
height: 2em;
|
|
}
|
|
|
|
.charsheet div.sheettype-title{
|
|
position: absolute;
|
|
right: 300px;
|
|
top:-35px;
|
|
}
|
|
.charsheet div.settings-title{
|
|
height: 2em;
|
|
width: 80px;
|
|
top: 0px;
|
|
right: 325px;
|
|
}
|
|
.charsheet div.settings-title h2
|
|
|
|
|
|
|
|
/*-------------------------------------------*/
|
|
/*------------- General Styles---------------*/
|
|
|
|
.charsheet input[type=number].txtfield::-webkit-inner-spin-button,
|
|
.charsheet input[type=number].txtfield::-webkit-outer-spin-button {
|
|
-webkit-appearance: none;
|
|
margin: 0;
|
|
}
|
|
.charsheet input[type=number].txtfield {
|
|
-moz-appearance: textfield;
|
|
}
|
|
|
|
.charsheet .master-container {
|
|
position: relative;
|
|
padding: 0;
|
|
display: inline-block;
|
|
background-image: url(https://cdn.pixabay.com/photo/2015/09/29/15/12/stars-964022_960_720.png); /*black space with tiny stars*/
|
|
background-color: black;
|
|
background-repeat: repeat;
|
|
width: 860px;
|
|
top: -10px;
|
|
}
|
|
|
|
.charsheet .container {
|
|
padding: 5px;
|
|
margin-left: -25px;
|
|
position: relative;
|
|
}
|
|
|
|
.charsheet .main-container {
|
|
display: inline-block;
|
|
padding-top: 75px;
|
|
margin-left: 0;
|
|
background-color: unset;
|
|
}
|
|
|
|
/*-------------------------------------------*/
|
|
/*------------- Options Toggles--------------*/
|
|
|
|
.charsheet input.options-flag,
|
|
.charsheet input.options-flag + span {
|
|
position: absolute;
|
|
top: 2px;
|
|
right: 2px;
|
|
width: 15px;
|
|
height: 15px;
|
|
}
|
|
|
|
.charsheet input.options-flag {
|
|
z-index: 99;
|
|
opacity: 0;
|
|
}
|
|
|
|
.charsheet input.options-flag + span {
|
|
margin-top: 0;
|
|
display: none;
|
|
white-space: nowrap;
|
|
line-height: 15px;
|
|
font-size: 17px;
|
|
color: white;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.charsheet input.options-flag.main-options {
|
|
width: 30px;
|
|
height: 30px;
|
|
top: 20px;
|
|
left: 20px;
|
|
z-index: 3;
|
|
}
|
|
|
|
.charsheet input.options-flag.main-options + span {
|
|
width: 30px;
|
|
height: 30px;
|
|
top: 20px;
|
|
left: 20px;
|
|
font-size: 34px;
|
|
z-index: 2;
|
|
line-height: 30px;
|
|
opacity: .5;
|
|
display: block;
|
|
}
|
|
|
|
.charsheet input.options-flag.main-options:hover + span {
|
|
opacity: 1;
|
|
}
|
|
|
|
.charsheet input.options-flag:checked + span {
|
|
color: white;
|
|
display: block;
|
|
}
|
|
|
|
.charsheet input.selector-switch:checked ~ .master-container .content .options,
|
|
.charsheet input.selector-switch:checked ~ .master-container .content .options-flag:checked ~ .display {
|
|
display: none;
|
|
}
|
|
|
|
.charsheet input.selector-switch:checked ~ .master-container .content .options-flag:checked ~ .options {
|
|
display: block;
|
|
}
|
|
|
|
|
|
/*-------------------------------------------*/
|
|
/*--------------- PC Section-----------------*/
|
|
|
|
.charsheet .physical-params {
|
|
display: flex;
|
|
margin-top: 25px;
|
|
}
|
|
|
|
.charsheet .physical-params label {
|
|
text-align: center;
|
|
}
|
|
|
|
.charsheet .physical-params input {
|
|
display: block;
|
|
width: 100% !important;
|
|
text-align: center;
|
|
}
|
|
|
|
.charsheet textarea.description{
|
|
height:6em;
|
|
width:97%
|
|
}
|
|
.charsheet textarea.description-phys{
|
|
height: 6em;
|
|
width: 97%;
|
|
margin-top: 3px;
|
|
}
|
|
|
|
/* Player Secondary Info */
|
|
|
|
.charsheet .sheet-col-smaller{
|
|
margin-right: 20px;
|
|
}
|
|
.charsheet .sheet-col-wider{
|
|
margin-right: 20px;
|
|
width: calc(33%);
|
|
}
|
|
|
|
.charsheet textarea.specabilities{
|
|
width: 95%;
|
|
height: 12em;
|
|
}
|
|
|
|
.charsheet .wound-row{
|
|
justify-content: space-between;
|
|
}
|
|
.charsheet label.wound{
|
|
text-decoration: underline;
|
|
margin-top: 3px;
|
|
width: 130px;
|
|
min-width: 100px;
|
|
}
|
|
.charsheet select.wound{
|
|
width: 125px;
|
|
align-self: flex-end;
|
|
}
|
|
|
|
.charsheet .custom-roll-table {
|
|
display: table;
|
|
width: 100%;
|
|
}
|
|
|
|
.charsheet .custom-roll-table button.d6-dice {
|
|
width: 35px;
|
|
height: 18px;
|
|
}
|
|
|
|
.charsheet th.init{
|
|
vertical-align: top;
|
|
}
|
|
.charsheet td.init{
|
|
padding-left: 6px;
|
|
padding-bottom: 10px;
|
|
}
|
|
.charsheet label input[type="number"].init,
|
|
.charsheet input[type="number"].init{
|
|
width: 40px;
|
|
}
|
|
|
|
/*-------------------------------------------*/
|
|
/*--------------- NPC Section ---------------*/
|
|
.charsheet div.section.npc div.first-col{
|
|
display: inline-block;
|
|
}
|
|
.charsheet div.section.npc .npcname{
|
|
width: 65%;
|
|
}
|
|
|
|
/*-------------------------------------------*/
|
|
/*------- Attributes & Skill Section --------*/
|
|
|
|
.charsheet .attributes {
|
|
border: 2px solid white;
|
|
margin: 5px;
|
|
padding: 10px;
|
|
}
|
|
|
|
.charsheet .attribute {
|
|
display: flex;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
/* Unified Dice */
|
|
.charsheet .unified-dice {
|
|
width: 32px;
|
|
height: 34px;
|
|
line-height: 34px;
|
|
}
|
|
.charsheet .unified-dice-text {
|
|
flex-grow: 1;
|
|
height: 40px;
|
|
margin: 0;
|
|
padding: 0 5px;
|
|
font-size: 20px;
|
|
vertical-align: top;
|
|
line-height: 40px;
|
|
}
|
|
|
|
.charsheet button[type=roll].unified-dice-roll {
|
|
margin: 0;
|
|
}
|
|
|
|
.charsheet input[type="number"].unified-dice-input {
|
|
font-size: large;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
width: 46px;
|
|
padding: 2px 4px;
|
|
}
|
|
|
|
.charsheet .unified-dice-middle {
|
|
display: inline-flex;
|
|
width: 32px;
|
|
height: 40px;
|
|
padding: 0 2px;
|
|
line-height: 40px;
|
|
font-size: 1.6em;
|
|
vertical-align: top;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.charsheet input[type="number"].unified-dice-pip {
|
|
font-size: large;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
width: 46px;
|
|
padding: 2px 4px;
|
|
}
|
|
|
|
.charsheet .attributes button[type=roll].unified-dice-roll {
|
|
margin: 0 5px 0 0;
|
|
}
|
|
|
|
/* Skill */
|
|
.charsheet .skill {
|
|
display: flex;
|
|
height: 28px;
|
|
margin: 4px 0;
|
|
}
|
|
.charsheet .skill * {
|
|
height: 28px;
|
|
line-height: 26px;
|
|
}
|
|
.charsheet .skill input[type="text"]{
|
|
flex-grow: 1;
|
|
width: inherit;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.charsheet .skill label {
|
|
padding: 0 1px;
|
|
}
|
|
|
|
.charsheet .skill .unified-dice-text {
|
|
display: inline-flex;
|
|
width: calc(100% - 260px);
|
|
height: 28px;
|
|
font-size: medium;
|
|
font-weight: normal;
|
|
vertical-align: top;
|
|
line-height: 28px;
|
|
}
|
|
|
|
.charsheet .skill button[type=roll].unified-dice-roll {
|
|
width: 32px;
|
|
height: 24px;
|
|
padding-top: 0;
|
|
}
|
|
|
|
.charsheet .skill input[type="number"].unified-dice-input {
|
|
width: 46px;
|
|
height: 28px;
|
|
font-size: inherit;
|
|
text-align: center;
|
|
}
|
|
|
|
.charsheet .skill .unified-dice-middle {
|
|
display: inline-flex;
|
|
width: 25px;
|
|
height: 28px;
|
|
margin: 0 2px;
|
|
padding-left: 4px;
|
|
padding-right: 3px;
|
|
font-size: medium;
|
|
vertical-align: top;
|
|
line-height: 28px;
|
|
}
|
|
|
|
.charsheet .repcontrol {
|
|
height: 28px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.charsheet .skill input[type="number"].unified-dice-pip {
|
|
display: inline-flex;
|
|
width: 46px;
|
|
height: 28px;
|
|
font-size: inherit;
|
|
text-align: center;
|
|
}
|
|
|
|
.charsheet .redtxt {
|
|
bottom: -3px;
|
|
right: 5px;
|
|
}
|
|
|
|
|
|
/* Edit Mode */
|
|
.charsheet .editmode .skill {
|
|
margin: 4px 36px 4px 34px
|
|
}
|
|
|
|
.charsheet .editmode :is(.unified-dice-roll, .unified-dice-input, .unified-dice-middle, .unified-dice-pip) {
|
|
display: none !important;
|
|
}
|
|
|
|
.charsheet .editmode .unified-dice-text {
|
|
width: 100% !important;
|
|
}
|
|
.charsheet .editmode .armor.sheet-row:not(:first-of-type) .cell:not(:first-of-type),
|
|
.charsheet .editmode .weapon.sheet-row:not(:first-of-type) .cell:not(:first-of-type) {
|
|
display: none;
|
|
}
|
|
.charsheet .editmode .armor.sheet-row:not(:first-of-type) .cell:first-of-type,
|
|
.charsheet .editmode .weapon.sheet-row:not(:first-of-type) .cell:first-of-type {
|
|
width: 100%;
|
|
}
|
|
.charsheet .force .editmode .skill input[type=checkbox] {
|
|
display: none;
|
|
}
|
|
|
|
|
|
.charsheet .overflow-auto {
|
|
overflow: auto;
|
|
padding-top: 15px;
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
/*-------------------------------------------*/
|
|
/*-------------- Weapons & Armor ------------*/
|
|
.charsheet .armor.sheet-row,
|
|
.charsheet .weapon.sheet-row {
|
|
display: flex;
|
|
width: 100%;
|
|
}
|
|
.charsheet :not(input.gmroll:checked) .weapon.sheet-row ,
|
|
.charsheet :not(input.gmroll:checked) .armor.sheet-row {
|
|
width: 1800px;
|
|
}
|
|
.charsheet .armor.sheet-row:first-of-type .cell,
|
|
.charsheet .weapon.sheet-row:first-of-type .cell {
|
|
height: 36px;
|
|
border-bottom: 5px solid white;
|
|
}
|
|
.charsheet .armor.sheet-row:first-of-type .cell-4,
|
|
.charsheet .weapon.sheet-row:first-of-type .cell-4 {
|
|
vertical-align: bottom;
|
|
}
|
|
.charsheet .cell {
|
|
display: inline-block;
|
|
margin: 0 4px;
|
|
text-align: center;
|
|
}
|
|
.charsheet .cell:first-of-type {
|
|
margin-left: 0;
|
|
}
|
|
.charsheet .cell:last-of-type {
|
|
margin-right: 0;
|
|
}
|
|
.charsheet .armor.sheet-row:first-of-type .cell,
|
|
.charsheet .weapon.sheet-row:first-of-type .cell {
|
|
vertical-align: top;
|
|
line-height: 36px;
|
|
font-weight: bold;
|
|
}
|
|
.charsheet .armor.sheet-row:first-of-type .cell-name,
|
|
.charsheet .weapon.sheet-row:first-of-type .cell-name {
|
|
width: 180px;
|
|
flex-grow: 1;
|
|
}
|
|
.charsheet .weapon.sheet-row:first-of-type .cell.cell-4 {
|
|
line-height: inherit;
|
|
}
|
|
.charsheet .cell-name {
|
|
min-width: 50px;
|
|
max-width: 300px;
|
|
flex-grow: 1;
|
|
}
|
|
.charsheet .cell-name .unified-dice-text {
|
|
width: 100%;
|
|
}
|
|
.charsheet .cell-dice {
|
|
width: 220px;
|
|
}
|
|
.charsheet :not(input.gmroll:checked) .cell-dice {
|
|
width: 220px;
|
|
}
|
|
.charsheet .cell-1 {
|
|
width: 50px;
|
|
}
|
|
.charsheet .cell-2 {
|
|
width: 120px;
|
|
}
|
|
.charsheet :not(input.gmroll:checked) .cell-2 {
|
|
width: 120px;
|
|
}
|
|
.charsheet .cell-4 {
|
|
width: 200px;
|
|
}
|
|
.charsheet .cell-4 .part {
|
|
display: inline-block;
|
|
width: 40px;
|
|
}
|
|
.charsheet .cell-5 {
|
|
width: 219px;
|
|
}
|
|
|
|
.charsheet .repcontainer[data-groupname="repeating_weapons"] > .repitem input[type="text"].name,
|
|
.charsheet .repcontainer[data-groupname="repeating_armors"] > .repitem input[type="text"].name{
|
|
width: 150px;
|
|
}
|
|
.charsheet .repcontainer[data-groupname="repeating_weapons"] > .repitem input[type="number"].40px,
|
|
.charsheet .repcontainer[data-groupname="repeating_armors"] > .repitem input[type="number"].40px{
|
|
width: 150px;
|
|
}
|
|
|
|
/*-------------------------------------------*/
|
|
/*------------------ Force ------------------*/
|
|
.charsheet .force .skill .unified-dice-text {
|
|
width: calc(100% - 139px);
|
|
}
|
|
|
|
.charsheet .force .skill input[type=checkbox],
|
|
.charsheet .powers input[type=checkbox] {
|
|
display: inline-block;
|
|
height: 28px;
|
|
width: 44px;
|
|
}
|
|
.charsheet .force-powers-description {
|
|
width: 96%;
|
|
height: 14em;
|
|
resize: vertical;
|
|
}
|
|
.charsheet table.powers {
|
|
width: 100%;
|
|
}
|
|
.charsheet table.powers td {
|
|
text-align: end;
|
|
}
|
|
.charsheet .force-hide .weapon.sheet-row {
|
|
width: 100%;
|
|
}
|
|
.charsheet :not(input.gmroll:checked) .force-hide .weapon.sheet-row {
|
|
width: 100%;
|
|
}
|
|
.charsheet .force-hide .weapon .cell.cell-name {
|
|
width: 150px;
|
|
flex-grow: 0.2;
|
|
}
|
|
|
|
|
|
/*-------------------------------------------*/
|
|
/* -------- Equipment & Background -------- */
|
|
|
|
.charsheet div.section.equipment-hide textarea,
|
|
.charsheet div.section.background-hide textarea{
|
|
height: 7em;
|
|
width: 96%;
|
|
}
|
|
|
|
/*-------------------------------------------*/
|
|
/* ------ Char point & credit tracking ---- */
|
|
|
|
.charsheet span.credits-display{
|
|
min-width: 20px;
|
|
padding: 4px 8px;
|
|
}
|
|
|
|
.charsheet .repcontainer[data-groupname="repeating_cptable"] > .repitem div,
|
|
.charsheet .repcontainer[data-groupname="repeating_credittable"] > .repitem div{
|
|
padding-top: 8px;
|
|
}
|
|
.charsheet .repcontainer[data-groupname="repeating_cptable"] > .repitem input[type="text"],
|
|
.charsheet .repcontainer[data-groupname="repeating_credittable"] > .repitem input[type="text"]{
|
|
width:80%;
|
|
}
|
|
.charsheet .repcontainer[data-groupname="repeating_credittable"] > .repitem input[type="number"]{
|
|
width:100px;
|
|
}
|
|
|
|
/*-------------------------------------------*/
|
|
/*------------- Ship Section-----------------*/
|
|
|
|
.charsheet .shipinfo span {
|
|
display: inline-block;
|
|
margin: 5px 10px 5px 10px;
|
|
}
|
|
|
|
.charsheet div.ship .wborder{
|
|
border: 2px solid white;
|
|
padding: 5px;
|
|
}
|
|
|
|
.charsheet div.shipheader{
|
|
display: flex;
|
|
justify-content: center;
|
|
flex-flow: row nowrap;
|
|
padding-bottom: 0px;
|
|
}
|
|
|
|
.charsheet div.shipheader span:nth-child(1) input[type="text"]{
|
|
width: 300px;
|
|
}
|
|
.charsheet div.shipheader span:nth-child(2) input[type="text"],
|
|
.charsheet div.shipheader span:nth-child(3) input[type="text"]{
|
|
width: 150px;
|
|
}
|
|
|
|
.charsheet div.shipblock{
|
|
padding: 5px;
|
|
display: grid;
|
|
grid-template-columns: 2fr 8fr;
|
|
grid-template-rows: 1fr 1fr 1fr 1fr;
|
|
grid-template-areas: "price perf "
|
|
"price sensor "
|
|
"dura dura "
|
|
"hyperdrive hyperdrive";
|
|
height: 680px;
|
|
}
|
|
|
|
.charsheet div.shipblock h3{
|
|
text-align: center;
|
|
}
|
|
.charsheet div.shipblock label{
|
|
margin-bottom: 1px;
|
|
}
|
|
|
|
.charsheet div.shipblock div.price{
|
|
grid-area: price;
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.charsheet div.shipblock div.price span{
|
|
width: 70px;
|
|
}
|
|
|
|
.charsheet div.shipblock div.price div{
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.charsheet div.shipblock div.priceblock div.flex-row{
|
|
flex-flow: row nowrap;
|
|
justify-content: space-around;
|
|
margin: 3px;
|
|
}
|
|
|
|
.charsheet div.shipblock .unified-dice {
|
|
width: 32px;
|
|
height: 34px;
|
|
line-height:34px;
|
|
}
|
|
|
|
.charsheet div.shipblock .unified-dice-text {
|
|
flex-grow: 1;
|
|
height: 25px;
|
|
margin: 0;
|
|
padding: 0 5px;
|
|
font-size: 12px;
|
|
vertical-align: top;
|
|
line-height: 25px;
|
|
}
|
|
|
|
.charsheet div.shipblock input[type="number"].unified-dice-input {
|
|
font-size: medium;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
width: 40px;
|
|
padding: 2px 4px;
|
|
}
|
|
|
|
.charsheet div.shipblock .unified-dice-middle {
|
|
display: inline-flex;
|
|
width: 32px;
|
|
height: 34px;
|
|
padding: 0 2px;
|
|
line-height: 34px;
|
|
font-size: 1.0em;
|
|
vertical-align: top;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.charsheet div.shipblock input[type="number"].unified-dice-pip {
|
|
font-size: medium;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
width: 40px;
|
|
padding: 2px 4px;
|
|
}
|
|
|
|
/* Performance */
|
|
.charsheet div.shipblock div.perf{
|
|
grid-area: perf;
|
|
padding: 5px;
|
|
}
|
|
|
|
.charsheet div.shipblock div.perf .medium,
|
|
.charsheet div.shipblock div.sensor .medium,
|
|
.charsheet div.shipblock div.hyperdrive input[type="text"],
|
|
.charsheet div.shipblock div.price input[type="text"]{
|
|
width: 80px;
|
|
}
|
|
|
|
.charsheet div.shipblock div.perf label{
|
|
font-size: 0.8em;
|
|
}
|
|
|
|
.charsheet div.shipblock div.perf div.perf,
|
|
.charsheet div.shipblock div.perf-block div.flex-row{
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
border-width: 3px 0 0 0;
|
|
border-style: solid;
|
|
border-color: transparent;
|
|
padding-top: 5px;
|
|
padding-right: 5px;
|
|
}
|
|
|
|
.charsheet div.shipblock div.perf div.perf-block{
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
justify-content: space-between;
|
|
padding: 5px;
|
|
}
|
|
.charsheet div.shipblock div.perf div.perf-block div.perf-grid{
|
|
display: grid;
|
|
grid-template-columns:3fr 1fr 1fr 1fr;
|
|
grid-template-rows: .5fr 1fr;
|
|
padding: 5px;
|
|
}
|
|
.charsheet div.shipblock div.perf-block div.flex-col.wborder {
|
|
width:280px;
|
|
border-width: 3px;
|
|
border-color: white;
|
|
}
|
|
|
|
/* Sensors */
|
|
.charsheet div.shipblock div.sensor{
|
|
grid-area: sensor;
|
|
border: 2px solid white;
|
|
}
|
|
|
|
.charsheet div.shipblock div.sensor div.flex-row{
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
}
|
|
|
|
.charsheet div.shipblock div.sensor div.grid{
|
|
display: grid;
|
|
grid-template-columns:75px 40px 180px;
|
|
grid-template-rows: repeat(5, 40px);
|
|
grid-column-gap:15px;
|
|
border: 2px solid white;
|
|
padding: 5px;
|
|
width: 400px;
|
|
}
|
|
|
|
.charsheet div.shipblock div.sensor div.grid label{
|
|
font-size: 0.8em;
|
|
}
|
|
/* Hyperdrive */
|
|
.charsheet div.shipblock div.hyperdrive{
|
|
grid-area: hyperdrive;
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
}
|
|
|
|
.charsheet div.shipblock div.hyperdrive div{
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
font-size: 0.8em;
|
|
}
|
|
|
|
.charsheet div.shipblock div.hyperdrive .crew{
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
}
|
|
|
|
.charsheet div.shipblock div.hyperdrive .hyper-grid{
|
|
display: grid;
|
|
grid-template-columns: repeat(5, 1fr);
|
|
grid-template-rows: repeat(2, 1fr);
|
|
border: 2px solid white;
|
|
padding: 5px;
|
|
width: 600px;
|
|
}
|
|
|
|
.charsheet div.shipblock div.hyper-grid label{
|
|
width: 110px;
|
|
}
|
|
|
|
.charsheet div.shipblock div.hyperdrive input[type="text"]{
|
|
height: 22px;
|
|
width: 44px;
|
|
}
|
|
|
|
.charsheet div.shipblock div.hyperdrive input[type="number"]{
|
|
height: 22px;
|
|
width: 44px;
|
|
}
|
|
|
|
|
|
.charsheet div.shipblock div.consume{
|
|
grid-area: consume;
|
|
}
|
|
.charsheet div.shipblock div.consume input[type="text"]{
|
|
flex-grow: 0;
|
|
flex-shrink: 0;
|
|
width: 250px;
|
|
height: 28px;
|
|
}
|
|
|
|
.charsheet div.shipblock div.dura{
|
|
grid-area: dura;
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
}
|
|
|
|
.charsheet div.shipblock div.dura div.flex-row{
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
}
|
|
.charsheet div.shipblock div.dura .dura-grid{
|
|
display: grid;
|
|
grid-template-rows: 1fr 1fr;
|
|
grid-template-columns: 1fr 2fr 1fr 2fr;
|
|
}
|
|
|
|
.charsheet div.shipblock div.dura label{
|
|
width:60px;
|
|
}
|
|
|
|
|
|
/* Ship Weapons */
|
|
|
|
.charsheet .repcontainer[data-groupname="repeating_shipweapon"] > .repitem {
|
|
border: 2px solid white;
|
|
margin-bottom: 5px;
|
|
padding: 5px;
|
|
}
|
|
.charsheet .repcontainer[data-groupname="repeating_shipweapon"] > .repitem .weapon-info input[type="text"]{
|
|
width: 200px;
|
|
height: 27px;
|
|
flex-grow: 1;
|
|
padding-bottom: 3px;
|
|
}
|
|
.charsheet .repcontainer[data-groupname="repeating_shipweapon"] > .repitem .weapon-info label{
|
|
width: unset;
|
|
margin: 5px 0px 0px 5px;
|
|
grid
|
|
}
|
|
|
|
.charsheet .repcontainer[data-groupname="repeating_shipweapon"] > .repitem .weapon-grid{
|
|
display: grid;
|
|
grid-template-areas: "label value";
|
|
grid-template-columns: 1fr 3fr
|
|
}
|
|
|
|
.charsheet .repcontainer[data-groupname="repeating_shipweapon"] > .repitem .range {
|
|
display: inline-block;
|
|
width: 60px;
|
|
text-align: center;
|
|
border: none;
|
|
}
|
|
.charsheet .repcontainer[data-groupname="repeating_shipweapon"] > .repitem div{
|
|
margin-bottom:3px;
|
|
}
|
|
.charsheet .repcontainer[data-groupname="repeating_shipweapon"] > .repitem span.range{
|
|
margin-left: 15px;
|
|
}
|
|
|
|
/* Other ship stats */
|
|
.charsheet .ship .cargo{
|
|
width: 122px;
|
|
flex-shrink: 0;
|
|
}
|
|
.charsheet div.section.ship div.other{
|
|
margin-bottom: 7px;
|
|
}
|
|
|
|
|
|
/* Generic Ship & Vehicle section */
|
|
|
|
.charsheet div.section.ship h3{
|
|
padding-top: 4px;
|
|
padding-bottom: 4px;
|
|
text-align: center;
|
|
}
|
|
.charsheet div.section.ship input[type="text"]{
|
|
width: 95%;
|
|
margin-bottom:5px;
|
|
}
|
|
.charsheet div.section.ship textarea{
|
|
width: 97%;
|
|
height: 17em;
|
|
}
|
|
|
|
/* Footer */
|
|
.charsheet div.footer{
|
|
padding-top:10px;
|
|
}
|
|
|
|
/* misc sheet styling */
|
|
|
|
.charsheet input[type=number].p40{
|
|
width: 40px;
|
|
}
|
|
|
|
|
|
/*-------------------------------------------*/
|
|
/*------------- Ship Section-----------------*/
|
|
|
|
.charsheet .shipinfo span {
|
|
display: inline-block;
|
|
margin: 5px 10px 5px 10px;
|
|
}
|
|
|
|
.charsheet div.ship .wborder{
|
|
border: 2px solid white;
|
|
padding: 5px;
|
|
}
|
|
|
|
.charsheet div.shipheader{
|
|
display: flex;
|
|
justify-content: center;
|
|
flex-flow: row nowrap;
|
|
padding-bottom: 0px;
|
|
}
|
|
|
|
.charsheet div.shipheader span:nth-child(1) input[type="text"]{
|
|
width: 300px;
|
|
}
|
|
.charsheet div.shipheader span:nth-child(2) input[type="text"],
|
|
.charsheet div.shipheader span:nth-child(3) input[type="text"]{
|
|
width: 150px;
|
|
}
|
|
|
|
.charsheet div.shipblock{
|
|
padding: 5px;
|
|
display: grid;
|
|
grid-template-columns: 2fr 8fr;
|
|
grid-template-rows: 1fr 1fr 1fr 1fr;
|
|
grid-template-areas: "price perf "
|
|
"price sensor "
|
|
"dura dura "
|
|
"hyperdrive hyperdrive";
|
|
height: 680px;
|
|
}
|
|
|
|
.charsheet div.shipblock h3{
|
|
text-align: center;
|
|
}
|
|
.charsheet div.shipblock label{
|
|
margin-bottom: 1px;
|
|
}
|
|
|
|
.charsheet div.shipblock div.price{
|
|
grid-area: price;
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.charsheet div.shipblock div.price span{
|
|
width: 70px;
|
|
}
|
|
|
|
.charsheet div.shipblock div.price div{
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.charsheet div.shipblock div.priceblock div.flex-row{
|
|
flex-flow: row nowrap;
|
|
justify-content: space-around;
|
|
margin: 3px;
|
|
}
|
|
|
|
.charsheet div.shipblock .unified-dice {
|
|
width: 32px;
|
|
height: 34px;
|
|
line-height:34px;
|
|
}
|
|
|
|
.charsheet div.shipblock .unified-dice-text {
|
|
flex-grow: 1;
|
|
height: 25px;
|
|
margin: 0;
|
|
padding: 0 5px;
|
|
font-size: 12px;
|
|
vertical-align: top;
|
|
line-height: 25px;
|
|
}
|
|
|
|
.charsheet div.shipblock input[type="number"].unified-dice-input {
|
|
font-size: medium;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
width: 40px;
|
|
padding: 2px 4px;
|
|
}
|
|
|
|
.charsheet div.shipblock .unified-dice-middle {
|
|
display: inline-flex;
|
|
width: 32px;
|
|
height: 34px;
|
|
padding: 0 2px;
|
|
line-height: 34px;
|
|
font-size: 1.0em;
|
|
vertical-align: top;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.charsheet div.shipblock input[type="number"].unified-dice-pip {
|
|
font-size: medium;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
width: 40px;
|
|
padding: 2px 4px;
|
|
}
|
|
|
|
/* Performance */
|
|
.charsheet div.shipblock div.perf{
|
|
grid-area: perf;
|
|
padding: 5px;
|
|
}
|
|
|
|
.charsheet div.shipblock div.perf .medium,
|
|
.charsheet div.shipblock div.sensor .medium,
|
|
.charsheet div.shipblock div.hyperdrive input[type="text"],
|
|
.charsheet div.shipblock div.price input[type="text"]{
|
|
width: 80px;
|
|
}
|
|
|
|
.charsheet div.shipblock div.perf label{
|
|
font-size: 0.8em;
|
|
}
|
|
|
|
.charsheet div.shipblock div.perf div.perf,
|
|
.charsheet div.shipblock div.perf-block div.flex-row{
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
border-width: 3px 0 0 0;
|
|
border-style: solid;
|
|
border-color: transparent;
|
|
padding-top: 5px;
|
|
padding-right: 5px;
|
|
}
|
|
|
|
.charsheet div.shipblock div.perf div.perf-block{
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
justify-content: space-between;
|
|
padding: 5px;
|
|
}
|
|
.charsheet div.shipblock div.perf div.perf-block div.perf-grid{
|
|
display: grid;
|
|
grid-template-columns:3fr 1fr 1fr 1fr;
|
|
grid-template-rows: .5fr 1fr;
|
|
padding: 5px;
|
|
}
|
|
.charsheet div.shipblock div.perf-block div.flex-col.wborder {
|
|
width:280px;
|
|
border-width: 3px;
|
|
border-color: white;
|
|
}
|
|
|
|
/* Sensors */
|
|
.charsheet div.shipblock div.sensor{
|
|
grid-area: sensor;
|
|
border: 2px solid white;
|
|
}
|
|
|
|
.charsheet div.shipblock div.sensor div.flex-row{
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
}
|
|
|
|
.charsheet div.shipblock div.sensor div.grid{
|
|
display: grid;
|
|
grid-template-columns:75px 40px 180px;
|
|
grid-template-rows: repeat(5, 40px);
|
|
grid-column-gap:15px;
|
|
border: 2px solid white;
|
|
padding: 5px;
|
|
width: 400px;
|
|
}
|
|
|
|
.charsheet div.shipblock div.sensor div.grid label{
|
|
font-size: 0.8em;
|
|
}
|
|
/* Hyperdrive */
|
|
.charsheet div.shipblock div.hyperdrive{
|
|
grid-area: hyperdrive;
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
}
|
|
|
|
.charsheet div.shipblock div.hyperdrive div{
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
font-size: 0.8em;
|
|
}
|
|
|
|
.charsheet div.shipblock div.hyperdrive .crew{
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
}
|
|
|
|
.charsheet div.shipblock div.hyperdrive .hyper-grid{
|
|
display: grid;
|
|
grid-template-columns: repeat(5, 1fr);
|
|
grid-template-rows: repeat(2, 1fr);
|
|
border: 2px solid white;
|
|
padding: 5px;
|
|
width: 600px;
|
|
}
|
|
|
|
.charsheet div.shipblock div.hyper-grid label{
|
|
width: 110px;
|
|
}
|
|
|
|
.charsheet div.shipblock div.hyperdrive input[type="text"]{
|
|
height: 22px;
|
|
width: 44px;
|
|
}
|
|
|
|
.charsheet div.shipblock div.hyperdrive input[type="number"]{
|
|
height: 22px;
|
|
width: 44px;
|
|
}
|
|
|
|
|
|
.charsheet div.shipblock div.consume{
|
|
grid-area: consume;
|
|
}
|
|
.charsheet div.shipblock div.consume input[type="text"]{
|
|
flex-grow: 0;
|
|
flex-shrink: 0;
|
|
width: 250px;
|
|
height: 28px;
|
|
}
|
|
|
|
.charsheet div.shipblock div.dura{
|
|
grid-area: dura;
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
}
|
|
|
|
.charsheet div.shipblock div.dura div.flex-row{
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
}
|
|
.charsheet div.shipblock div.dura .dura-grid{
|
|
display: grid;
|
|
grid-template-rows: 1fr 1fr;
|
|
grid-template-columns: 1fr 2fr 1fr 2fr;
|
|
}
|
|
|
|
.charsheet div.shipblock div.dura label{
|
|
width:60px;
|
|
}
|
|
|
|
|
|
/* Ship Weapons */
|
|
|
|
.charsheet .repcontainer[data-groupname="repeating_shipweapon"] > .repitem {
|
|
border: 2px solid white;
|
|
margin-bottom: 5px;
|
|
padding: 5px;
|
|
}
|
|
.charsheet .repcontainer[data-groupname="repeating_shipweapon"] > .repitem .weapon-info input[type="text"]{
|
|
width: 200px;
|
|
height: 27px;
|
|
flex-grow: 1;
|
|
padding-bottom: 3px;
|
|
}
|
|
.charsheet .repcontainer[data-groupname="repeating_shipweapon"] > .repitem .weapon-info label{
|
|
width: unset;
|
|
margin: 5px 0px 0px 5px;
|
|
grid
|
|
}
|
|
|
|
.charsheet .repcontainer[data-groupname="repeating_shipweapon"] > .repitem .weapon-grid{
|
|
display: grid;
|
|
grid-template-areas: "label value";
|
|
grid-template-columns: 1fr 3fr
|
|
}
|
|
|
|
.charsheet .repcontainer[data-groupname="repeating_shipweapon"] > .repitem .range {
|
|
display: inline-block;
|
|
width: 60px;
|
|
text-align: center;
|
|
border: none;
|
|
}
|
|
.charsheet .repcontainer[data-groupname="repeating_shipweapon"] > .repitem div{
|
|
margin-bottom:3px;
|
|
}
|
|
.charsheet .repcontainer[data-groupname="repeating_shipweapon"] > .repitem span.range{
|
|
margin-left: 15px;
|
|
}
|
|
|
|
/* Other ship stats */
|
|
.charsheet .ship .cargo{
|
|
width: 122px;
|
|
flex-shrink: 0;
|
|
}
|
|
.charsheet div.section.ship div.other{
|
|
margin-bottom: 7px;
|
|
}
|
|
|
|
|
|
/* Generic Ship & Vehicle section */
|
|
|
|
.charsheet div.section.ship h3{
|
|
padding-top: 4px;
|
|
padding-bottom: 4px;
|
|
text-align: center;
|
|
}
|
|
.charsheet div.section.ship input[type="text"]{
|
|
width: 95%;
|
|
margin-bottom:5px;
|
|
}
|
|
.charsheet div.section.ship textarea{
|
|
width: 97%;
|
|
height: 17em;
|
|
}
|
|
|
|
/* Footer */
|
|
.charsheet div.footer{
|
|
padding-top:10px;
|
|
}
|
|
|
|
/* misc sheet styling */
|
|
|
|
.charsheet input[type=number].p40{
|
|
width: 40px;
|
|
}
|
|
|
|
/*-------------------------------------------*/
|
|
/*------------- vehicle Section-----------------*/
|
|
|
|
.charsheet .vehicleinfo span {
|
|
display: inline-block;
|
|
margin: 5px 10px 5px 10px;
|
|
}
|
|
|
|
.charsheet div.vehicle .wborder{
|
|
border: 2px solid white;
|
|
padding: 5px;
|
|
}
|
|
|
|
.charsheet div.vehicleheader{
|
|
display: flex;
|
|
justify-content: center;
|
|
flex-flow: row nowrap;
|
|
padding-bottom: 0px;
|
|
}
|
|
|
|
.charsheet div.vehicleheader span:nth-child(1) input[type="text"]{
|
|
width: 300px;
|
|
}
|
|
.charsheet div.vehicleheader span:nth-child(2) input[type="text"],
|
|
.charsheet div.vehicleheader span:nth-child(3) input[type="text"]{
|
|
width: 150px;
|
|
}
|
|
|
|
.charsheet div.vehicleblock{
|
|
padding: 5px;
|
|
display: grid;
|
|
grid-template-columns: 2fr 8fr;
|
|
grid-template-rows: 1fr 1fr 1fr;
|
|
grid-template-areas: "price perf "
|
|
"dura dura ";
|
|
height: 450px;
|
|
}
|
|
|
|
.charsheet div.vehicleblock h3{
|
|
text-align: center;
|
|
}
|
|
.charsheet div.vehicleblock label{
|
|
margin-bottom: 1px;
|
|
}
|
|
|
|
.charsheet div.vehicleblock div.price{
|
|
grid-area: price;
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.charsheet div.vehicleblock div.price span{
|
|
width: 70px;
|
|
}
|
|
|
|
.charsheet div.vehicleblock div.price div{
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.charsheet div.vehicleblock div.priceblock div.flex-row{
|
|
flex-flow: row nowrap;
|
|
justify-content: space-around;
|
|
margin: 3px;
|
|
}
|
|
|
|
.charsheet div.vehicleblock .unified-dice {
|
|
width: 32px;
|
|
height: 34px;
|
|
line-height:34px;
|
|
}
|
|
|
|
.charsheet div.vehicleblock .unified-dice-text {
|
|
flex-grow: 1;
|
|
height: 25px;
|
|
margin: 0;
|
|
padding: 0 5px;
|
|
font-size: 12px;
|
|
vertical-align: top;
|
|
line-height: 25px;
|
|
}
|
|
|
|
.charsheet div.vehicleblock input[type="number"].unified-dice-input {
|
|
font-size: medium;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
width: 40px;
|
|
padding: 2px 4px;
|
|
}
|
|
|
|
.charsheet div.vehicleblock .unified-dice-middle {
|
|
display: inline-flex;
|
|
width: 32px;
|
|
height: 34px;
|
|
padding: 0 2px;
|
|
line-height: 34px;
|
|
font-size: 1.0em;
|
|
vertical-align: top;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.charsheet div.vehicleblock input[type="number"].unified-dice-pip {
|
|
font-size: medium;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
width: 40px;
|
|
padding: 2px 4px;
|
|
}
|
|
|
|
/* Performance */
|
|
.charsheet div.vehicleblock div.perf{
|
|
grid-area: perf;
|
|
padding: 5px;
|
|
}
|
|
|
|
.charsheet div.vehicleblock div.perf .medium,
|
|
.charsheet div.vehicleblock div.sensor .medium,
|
|
.charsheet div.vehicleblock div.hyperdrive input[type="text"],
|
|
.charsheet div.vehicleblock div.price input[type="text"]{
|
|
width: 80px;
|
|
}
|
|
|
|
.charsheet div.vehicleblock div.perf label{
|
|
font-size: 0.8em;
|
|
}
|
|
|
|
.charsheet div.vehicleblock div.perf div.perf,
|
|
.charsheet div.vehicleblock div.perf-block div.flex-row{
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
border-width: 3px 0 0 0;
|
|
border-style: solid;
|
|
border-color: transparent;
|
|
padding-top: 5px;
|
|
padding-right: 5px;
|
|
}
|
|
|
|
.charsheet div.vehicleblock div.perf div.perf-block{
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
justify-content: space-between;
|
|
padding: 5px;
|
|
}
|
|
.charsheet div.vehicleblock div.perf div.perf-block div.perf-grid{
|
|
display: grid;
|
|
grid-template-columns:3fr 1fr 1fr;
|
|
grid-template-rows: .5fr 1fr;
|
|
padding: 5px;
|
|
}
|
|
.charsheet div.vehicleblock div.perf-block div.flex-col.wborder {
|
|
width:280px;
|
|
border-width: 3px;
|
|
border-color: white;
|
|
}
|
|
|
|
/* Sensors */
|
|
.charsheet div.vehicleblock div.sensor{
|
|
grid-area: sensor;
|
|
border: 2px solid white;
|
|
}
|
|
|
|
.charsheet div.vehicleblock div.sensor div.flex-row{
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
}
|
|
|
|
.charsheet div.vehicleblock div.sensor div.grid{
|
|
display: grid;
|
|
grid-template-columns:75px 40px 180px;
|
|
grid-template-rows: repeat(5, 40px);
|
|
grid-column-gap:15px;
|
|
border: 2px solid white;
|
|
padding: 5px;
|
|
width: 400px;
|
|
}
|
|
|
|
.charsheet div.vehicleblock div.sensor div.grid label{
|
|
font-size: 0.8em;
|
|
}
|
|
/* Hyperdrive */
|
|
.charsheet div.vehicleblock div.hyperdrive{
|
|
grid-area: hyperdrive;
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
}
|
|
|
|
.charsheet div.vehicleblock div.hyperdrive div{
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
font-size: 0.8em;
|
|
}
|
|
|
|
.charsheet div.vehicleblock div.hyperdrive .crew{
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
}
|
|
|
|
.charsheet div.vehicleblock div.hyperdrive .hyper-grid{
|
|
display: grid;
|
|
grid-template-columns: repeat(5, 1fr);
|
|
grid-template-rows: repeat(2, 1fr);
|
|
border: 2px solid white;
|
|
padding: 5px;
|
|
width: 600px;
|
|
}
|
|
|
|
.charsheet div.vehicleblock div.hyper-grid label{
|
|
width: 110px;
|
|
}
|
|
|
|
.charsheet div.vehicleblock div.hyperdrive input[type="text"]{
|
|
height: 22px;
|
|
width: 44px;
|
|
}
|
|
|
|
.charsheet div.vehicleblock div.hyperdrive input[type="number"]{
|
|
height: 22px;
|
|
width: 44px;
|
|
}
|
|
|
|
|
|
.charsheet div.vehicleblock div.consume{
|
|
grid-area: consume;
|
|
}
|
|
.charsheet div.vehicleblock div.consume input[type="text"]{
|
|
flex-grow: 0;
|
|
flex-shrink: 0;
|
|
width: 250px;
|
|
height: 28px;
|
|
}
|
|
|
|
.charsheet div.vehicleblock div.dura{
|
|
grid-area: dura;
|
|
display: flex;
|
|
flex-flow: column nowrap;
|
|
}
|
|
|
|
.charsheet div.vehicleblock div.dura div.flex-row{
|
|
display: flex;
|
|
flex-flow: row nowrap;
|
|
}
|
|
.charsheet div.vehicleblock div.dura .dura-grid{
|
|
display: grid;
|
|
grid-template-rows: 1fr 1fr;
|
|
grid-template-columns: 1fr 2fr 1fr 2fr;
|
|
}
|
|
|
|
.charsheet div.vehicleblock div.dura label{
|
|
width:60px;
|
|
}
|
|
|
|
|
|
/* vehicle Weapons */
|
|
|
|
.charsheet .repcontainer[data-groupname="repeating_vehicleweapon"] > .repitem {
|
|
border: 2px solid white;
|
|
margin-bottom: 5px;
|
|
padding: 5px;
|
|
}
|
|
.charsheet .repcontainer[data-groupname="repeating_vehicleweapon"] > .repitem .weapon-info input[type="text"]{
|
|
width: 200px;
|
|
height: 27px;
|
|
flex-grow: 1;
|
|
padding-bottom: 3px;
|
|
}
|
|
.charsheet .repcontainer[data-groupname="repeating_vehicleweapon"] > .repitem .weapon-info label{
|
|
width: unset;
|
|
margin: 5px 0px 0px 5px;
|
|
grid
|
|
}
|
|
|
|
.charsheet .repcontainer[data-groupname="repeating_vehicleweapon"] > .repitem .weapon-grid{
|
|
display: grid;
|
|
grid-template-areas: "label value";
|
|
grid-template-columns: 1fr 3fr
|
|
}
|
|
|
|
.charsheet .repcontainer[data-groupname="repeating_vehicleweapon"] > .repitem .range {
|
|
display: inline-block;
|
|
width: 60px;
|
|
text-align: center;
|
|
border: none;
|
|
}
|
|
.charsheet .repcontainer[data-groupname="repeating_vehicleweapon"] > .repitem div{
|
|
margin-bottom:3px;
|
|
}
|
|
.charsheet .repcontainer[data-groupname="repeating_vehicleweapon"] > .repitem span.range{
|
|
margin-left: 15px;
|
|
}
|
|
|
|
/* Other vehicle stats */
|
|
.charsheet .vehicle .cargo{
|
|
width: 122px;
|
|
flex-shrink: 0;
|
|
}
|
|
.charsheet div.section.vehicle div.other{
|
|
margin-bottom: 7px;
|
|
}
|
|
|
|
|
|
/* Generic vehicle & Vehicle section */
|
|
|
|
.charsheet div.section.vehicle h3{
|
|
padding-top: 4px;
|
|
padding-bottom: 4px;
|
|
text-align: center;
|
|
}
|
|
.charsheet div.section.vehicle input[type="text"]{
|
|
width: 95%;
|
|
margin-bottom:5px;
|
|
}
|
|
.charsheet div.section.vehicle textarea{
|
|
width: 97%;
|
|
height: 17em;
|
|
}
|
|
|
|
/* Footer */
|
|
.charsheet div.footer{
|
|
padding-top:10px;
|
|
}
|
|
|
|
/* misc sheet styling */
|
|
|
|
.charsheet input[type=number].p40{
|
|
width: 40px;
|
|
}
|
|
|
|
|
|
/*-------------------------------------------*/
|
|
/*------------- Roll Templates---------------*/
|
|
|
|
|
|
/* new */
|
|
|
|
/* Smaller margins - remove these if you want the huge default left margin */
|
|
.sheet-rolltemplate-swd6 {
|
|
margin-left: -37px;
|
|
}
|
|
.withoutavatars .sheet-rolltemplate-swd6 {
|
|
margin-left: -7px;
|
|
}
|
|
|
|
.sheet-rolltemplate-swd6 .sheet-container {
|
|
border: 3px solid black;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
/* Header formatting - title and subtitle */
|
|
.sheet-rolltemplate-swd6 .sheet-header {
|
|
background-color: var(--header-bg-color);
|
|
color: var(--header-text-color);
|
|
text-align: left;
|
|
text-transform: capitalize;
|
|
padding: 5px;
|
|
border-bottom: 2px solid black;
|
|
}
|
|
.sheet-rolltemplate-swd6 .sheet-name {
|
|
font-size:1.2em;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.sheet-rolltemplate-swd6 .sheet-subtitle {
|
|
font-size:.9em;
|
|
}
|
|
|
|
/* example colors */
|
|
.sheet-rolltemplate-swd6 .sheet-container {
|
|
/* this is the default color */
|
|
--header-bg-color: #a83521;
|
|
--header-text-color: #FFF;
|
|
}
|
|
|
|
/* alt template colors */
|
|
.sheet-rolltemplate-swd6 .sheet-container.sheet-color-green {
|
|
--header-bg-color: #008000;
|
|
}
|
|
.sheet-rolltemplate-swd6 .sheet-container.sheet-color-red {
|
|
--header-bg-color: rgba(204, 0, 0,1);
|
|
}
|
|
.sheet-rolltemplate-swd6 .sheet-container.sheet-color-black {
|
|
--header-bg-color: #000;
|
|
}
|
|
.sheet-rolltemplate-swd6 .sheet-container.sheet-color-purple {
|
|
--header-bg-color: rgba(112,32,130,1);
|
|
}
|
|
.sheet-rolltemplate-swd6 .sheet-container.sheet-color-white {
|
|
--header-bg-color: #FFF;
|
|
--header-text-color: #000;
|
|
}
|
|
|
|
/* Allprops part */
|
|
.sheet-rolltemplate-swd6 .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-swd6 .sheet-content > div {
|
|
padding: 5px;
|
|
}
|
|
|
|
/* Left column */
|
|
.sheet-rolltemplate-swd6 .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-swd6 .sheet-value {
|
|
}
|
|
*/
|
|
|
|
/* Make even-numbered rows grey */
|
|
.sheet-rolltemplate-swd6 .sheet-content :nth-child(4n+3),
|
|
.sheet-rolltemplate-swd6 .sheet-content :nth-child(4n) {
|
|
background:#EEE;
|
|
}
|
|
|
|
/* Description field */
|
|
.sheet-rolltemplate-swd6 .sheet-desc {
|
|
grid-column: span 2;
|
|
padding: 5px;
|
|
text-align: center;
|
|
}
|
|
|
|
|
|
/* old */
|
|
|
|
/* ----------- BLUE -----------*/
|
|
.sheet-rolltemplate-blue table {
|
|
width:100%;
|
|
background-color:white;
|
|
border:1px solid rgba(51, 51, 255,1);
|
|
}
|
|
.sheet-rolltemplate-blue caption {
|
|
background-color:rgba(51, 51, 255,1);
|
|
color:white;
|
|
font-family:"Helvetica Neue",Helvetica,sans-serif;
|
|
font-weight:600;
|
|
text-align:center;
|
|
font-size:1.1em;
|
|
padding:5px;
|
|
}
|
|
.sheet-rolltemplate-blue td {
|
|
padding:5px;
|
|
line-height:1.4em;
|
|
vertical-align:top;
|
|
}
|
|
.sheet-rolltemplate-blue td:first-child {
|
|
font-weight:bold;
|
|
text-align:right;
|
|
min-width:50px;
|
|
padding-right:10px;
|
|
}
|
|
.sheet-rolltemplate-blue tr:nth-child(even) {
|
|
background-color:#eee;
|
|
}
|
|
/* ----------- GREEN -----------*/
|
|
.sheet-rolltemplate-green table {
|
|
width:100%;
|
|
background-color:white;
|
|
border:1px solid rgba(0, 153, 51,1);
|
|
}
|
|
.sheet-rolltemplate-green caption {
|
|
background-color:rgba(0, 153, 51,1);
|
|
color:white;
|
|
font-family:"Helvetica Neue",Helvetica,sans-serif;
|
|
font-weight:600;
|
|
text-align:center;
|
|
font-size:1.1em;
|
|
padding:5px;
|
|
}
|
|
.sheet-rolltemplate-green td {
|
|
padding:5px;
|
|
line-height:1.4em;
|
|
vertical-align:top;
|
|
}
|
|
.sheet-rolltemplate-green td:first-child {
|
|
font-weight:bold;
|
|
text-align:right;
|
|
min-width:50px;
|
|
padding-right:10px;
|
|
}
|
|
.sheet-rolltemplate-green tr:nth-child(even) {
|
|
background-color:#eee;
|
|
}
|
|
/* ----------- RED -----------*/
|
|
.sheet-rolltemplate-red table {
|
|
width:100%;
|
|
background-color:white;
|
|
border:1px solid rgba(204, 0, 0,1);
|
|
}
|
|
.sheet-rolltemplate-red caption {
|
|
background-color:rgba(204, 0, 0,1);
|
|
color:white;
|
|
font-family:"Helvetica Neue",Helvetica,sans-serif;
|
|
font-weight:600;
|
|
text-align:center;
|
|
font-size:1.1em;
|
|
padding:5px;
|
|
}
|
|
.sheet-rolltemplate-red td {
|
|
padding:5px;
|
|
line-height:1.4em;
|
|
vertical-align:top;
|
|
}
|
|
.sheet-rolltemplate-red td:first-child {
|
|
font-weight:bold;
|
|
text-align:right;
|
|
min-width:50px;
|
|
padding-right:10px;
|
|
}
|
|
.sheet-rolltemplate-red tr:nth-child(even) {
|
|
background-color:#eee;;
|
|
}
|
|
/* ----------- BLACK -----------*/
|
|
.sheet-rolltemplate-black table {
|
|
width:100%;
|
|
background-color:white;
|
|
border:1px solid rgba(0, 0, 0,1);
|
|
}
|
|
.sheet-rolltemplate-black caption {
|
|
background-color:rgba(0, 0, 0,1);
|
|
color:white;
|
|
font-family:"Helvetica Neue",Helvetica,sans-serif;
|
|
font-weight:600;
|
|
text-align:center;
|
|
font-size:1.1em;
|
|
padding:5px;
|
|
}
|
|
.sheet-rolltemplate-black td {
|
|
padding:5px;
|
|
line-height:1.4em;
|
|
vertical-align:top;
|
|
}
|
|
.sheet-rolltemplate-black td:first-child {
|
|
font-weight:bold;
|
|
text-align:right;
|
|
min-width:50px;
|
|
padding-right:10px;
|
|
}
|
|
.sheet-rolltemplate-black tr:nth-child(even) {
|
|
background-color:#eee;
|
|
}
|
|
|
|
© 2022 GitHub, Inc.
|
|
|
|
Terms
|
|
Privacy
|
|
Security
|
|
Status
|
|
Docs
|
|
Contact GitHub
|
|
Pricing
|
|
API
|
|
Training
|
|
Blog
|
|
About
|
|
|