0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-09 11:32:39 +00:00

Cleaning up phb.style.less

This commit is contained in:
Trevor Buckner
2021-03-31 12:21:01 -04:00
parent f04df5e297
commit d2cdb18a57

View File

@@ -7,7 +7,7 @@
@headerUnderline : #c9ad6a; @headerUnderline : #c9ad6a;
@horizontalRule : #9c2b1b; @horizontalRule : #9c2b1b;
@headerText : #58180D; @headerText : #58180D;
@monsterStatBackground : #FDF1DC; @monsterStatBackground : #EEDBAB;
@page { margin: 0; } @page { margin: 0; }
body { body {
counter-reset : phb-page-numbers; counter-reset : phb-page-numbers;
@@ -18,6 +18,10 @@ body {
.useSansSerif(){ .useSansSerif(){
font-family : ScalySansRemake; font-family : ScalySansRemake;
font-size : 10pt; font-size : 10pt;
line-height : 1.1em;
p,dl,ul {
line-height : 1.1em;
}
em{ em{
font-style : italic; font-style : italic;
} }
@@ -217,15 +221,18 @@ body {
.monster { .monster {
.useSansSerif(); .useSansSerif();
position : relative; position : relative;
padding : 5px; padding : 0px;
margin : 0px -6px;
font-family : ScalySansRemake; font-family : ScalySansRemake;
font-size : 0.352cm; font-size : 0.352cm;
line-height : 1.1em;
background-color : @monsterStatBackground; background-color : @monsterStatBackground;
border-style : solid; border-style : solid;
border-width : 10px; border-width : 7px 6px;
background-image : @monsterBlockBackground; background-image : @monsterBlockBackground;
border-image : @monsterBorderImage 14 round; border-image : @monsterBorderImage 14 round;
border-image-outset :4px 2px;
background-blend-mode: overlay;
background-attachment: fixed;
box-shadow : 1px 4px 14px #888; box-shadow : 1px 4px 14px #888;
-webkit-transform : translateZ(0); //Prevents shadows from breaking across columns -webkit-transform : translateZ(0); //Prevents shadows from breaking across columns
@@ -274,12 +281,17 @@ body {
border-style : none; border-style : none;
border-image : none; border-image : none;
-webkit-column-span : 1; -webkit-column-span : 1;
tbody{ tbody{
tr:nth-child(odd), tr:nth-child(even){ tr:nth-child(odd), tr:nth-child(even){
background-color : transparent; background-color : transparent;
} }
} }
td,th {
padding: 0px;
}
} }
table{ table{
color : @headerText; color : @headerText;
} }