Files
roll20-character-sheets-tester/Lotfp/Lotfp.css
T
joesinghaus d2de7a4aed Overhaul LotFP sheet
- Added spells section
- Cleaned up overall styling
2017-10-10 16:42:49 +02:00

397 lines
8.0 KiB
CSS

.charsheet {
width: 842px !important;
margin: 0 auto !important;
}
h3 {
line-height: 27px;
font-size: 17px;
text-align: center;
margin: 0;
margin-bottom: 10px;
padding: 0;
text-transform: uppercase;
}
select {
margin-bottom: 0;
}
h3::after {
display: inline-block;
margin: 0 0 8px 20px;
height: 3px;
content: " ";
text-shadow: none;
background-color: #000;
width: 80px;
}
h3::before {
display: inline-block;
margin: 0 20px 8px 0;
height: 3px;
content: " ";
text-shadow: none;
background-color: #000;
width: 80px;
}
.repitem,
.sheet-rep-header {
display: flex;
align-items: center;
margin-bottom: 3px;
justify-content: space-between;
}
.sheet-hp {
background-color: #ffcc00 !important;
}
.sheet-noborder {
border: none !important;
padding: 15px;
}
.sheet-col-border {
border: 4px solid;
overflow: auto;
width: 100%;
margin-bottom: 10px;
padding: 15px;
}
.sheet-col-1 {
width: calc(45% - 20px) !important;
margin-right: 10px !important;
}
.sheet-col-2 {
width: calc(49% - 20px) !important;
}
.sheet-weapons,
.sheet-spells {
width: calc(98% - 20px) !important;
}
.sheet-logo {
margin: 12px auto;
display: block;
}
input {
border-radius: 0;
border: 1px solid;
}
.sheet-info1 {
width: 11%;
margin-left: 1%;
float: left;
text-align: center;
}
.sheet-info2 {
width: 20%;
margin-left: 1%;
float: left;
text-align: center;
}
.sheet-info3 {
width: 32%;
margin-left: 1%;
float: left;
text-align: center;
}
select.sheet-info3 {
border-radius: none !important;
border: 1px solid !important;
text-align: center !important;
}
.sheet-info {
width: 89%;
margin-left: 1%;
margin-bottom: 5px;
}
.sheet-bottom_line {
border: none;
border-bottom: 1px solid;
}
/* Abilities */
div.sheet-ability-column-value {
float: left;
width: 32%;
text-align: center;
font-weight: bold;
}
div.sheet-ability-column-modifier {
float: left;
width: 50%;
}
div.sheet-ability-column-roll {
float: left;
width: 15%
}
div.sheet-block {
overflow: auto;
}
input.sheet-ability_modifier {
width: 40px !important;
height: 40px !important;
display: block;
border: 1px solid;
border-radius: 20px;
font-size: 20px;
text-align: center !important;
padding: 0;
float: left;
-moz-appearance: textfield;
margin: 25px 0 !important;
}
span.sheet-subtext {
display: block;
width: 118px;
float: left;
margin-top: 25px;
margin-left: 15px;
}
input.sheet-ability_modifier::-webkit-outer-spin-button,
input.sheet-ability_modifier::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
input.sheet-ability_value {
width: 40px;
height: 40px;
font-size: 20px;
text-align: center;
border: 1px solid;
border-radius: 0;
display: block;
margin: 6px auto;
}
button.sheet-ability-button {
width: 40px;
height: 40px;
font-size: 26px !important;
background-color: white;
background-image: none;
color: black;
text-Shadow: none;
margin: 18px auto !important;
display: block;
}
/* SAVINGS */
.sheet-svblock {
width: 20%;
float: left;
text-align: center;
}
.sheet-svbtitle {
font-size: 16px;
display: block;
vertical-align: middle;
height: 34px;
text-align: center;
}
.sheet-svnsubtext {
font-size: 11px;
margin: 0 5%;
text-align: center;
width: 90%;
margin-top: 10px;
min-height: 80px;
display: block;
}
.sheet-savingthrow {
width: 40px !important;
height: 40px !important;
display: block;
border: 1px solid;
border-radius: 20px;
font-size: 20px;
text-align: center !important;
padding: 0;
margin: 10px auto !important;
-moz-appearance: textfield;
}
input.sheet-savingthrow::-webkit-outer-spin-button,
input.sheet-savingthrow::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
.sheet-equipmentname {
width: 87%;
}
.sheet-skillname {
width: 76%;
}
button[type=roll].sheet-skill-button {
width: 30px;
height: 28px;
font-size: 20px !important;
background-color: white;
background-image: none;
color: black;
text-shadow: none;
margin-right: 0;
}
button.sheet-skill-button::before {
font-family: "dicefontd6" !important;
content: "f" !important;
}
select.sheet-encumbrance,
select.sheet-skillvalue {
width: 39px;
}
/* Weapons */
.sheet-weapon_title,
.sheet-spell_title {
display: block;
float: left;
text-align: center;
margin: 2px 0;
font-weight: bold !important;
}
.sheet-weaponname {
width: 31%;
}
.sheet-attackBonus,
.sheet-damage,
.sheet-weapontype {
width: 10%;
text-align: center;
}
button[type=roll].sheet-attack-button {
width: 30px;
height: 28px;
font-size: 20px !important;
background-color: white;
background-image: none;
color: black;
margin-right: 0;
text-Shadow: none;
}
.sheet-dummy-attack-button {
width: 30px;
margin-left: 3px;
}
/* Spells */
.sheet-spells .repitem {
flex-wrap: wrap;
width: 49.5%;
justify-content: space-between;
}
.sheet-spells .repcontainer {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.sheet-spellname {
width: 69%;
}
.sheet-spelltype {
width: 24%;
}
.sheet-spelllevel,
.sheet-spellprepared,
.sheet-spellduration,
.sheet-spellrange {
text-align: center;
}
.sheet-spelllevel {
width: 6%;
}
.sheet-spellprepared-label {
font-weight: bold;
}
.sheet-spellprepared {
width: 23px;
}
.sheet-spellduration {
width: 41%;
}
.sheet-spellrange {
width: 23%;
}
.sheet-spelldescription {
resize: vertical;
box-sizing: border-box;
border-radius: 0;
height: 80px;
margin-bottom: 4px;
min-height: 60px;
}
.sheet-spells-per-level {
display: flex;
align-items: center;
font-weight: bold;
justify-content: space-between;
margin-bottom: 10px;
}
.sheet-spells-per-level > div {
display: flex;
align-items: center;
width: 74px;
justify-content: space-between;
}
.sheet-spells-per-level input[type=number] {
border-radius: 3px;
width: 2em;
padding: 1px 4px;
-moz-appearance: textfield;
border: 1px solid #ccc;
}
.sheet-spells-per-level input[type=number]::-webkit-outer-spin-button,
.sheet-spells-per-level input[type=number]::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
/* sheet roll template for Saga Default */
.sheet-rolltemplate-lotfp_check table {
width: 100%;
font-size: 1em;
font-family: "Helvetica Neue", Helvetica, sans-serif;
border-collapse: separate;
border: solid black 1px;
}
.sheet-rolltemplate-lotfp_check th {
background-color: #000000;
color: #ffffff;
padding: 2px;
line-height: 1.6em;
font-size: 1.2em;
border-top: none;
}
.sheet-rolltemplate-lotfp_check .sheet-subheader {
background-color: #333333;
color: #ffffff;
font-size: 1em;
font-style: italic;
text-align: center;
}
.sheet-rolltemplate-lotfp_check .sheet-tcat {
font-weight: bold;
}
.sheet-rolltemplate-lotfp_check td {
padding: 5px;
border: 1px solid black;
text-align: center;
}
.sheet-rolltemplate-lotfp_check tr:nth-child(odd) {
background-color: #ffffff;
}
.sheet-rolltemplate-lotfp_check tr:nth-child(even) {
background-color: #ededed;
}
.sheet-rolltemplate-lotfp_check .inlinerollresult {
display: inline-block;
min-width: 1.5em;
text-align: center;
border: 2px solid #a7a8aa; /*Cool Gray 6 C*/
background-color: #c5c6c7; /*Cool Gray 6 C*/
}
.sheet-rolltemplate-lotfp_check .inlinerollresult.fullcrit {
background-color: #3FB315;
color: white;
}
.sheet-rolltemplate-lotfp_check .inlinerollresult.fullfail {
background-color: #B31515;
color: white;
}
.sheet-rolltemplate-lotfp_check .inlinerollresult.importantroll {
background-color: #4A57ED;
color: white;
}
.sheet-rolltemplate-lotfp_check div {
width: 100%;
max-width: 400px;
}