mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-22 03:37:04 +00:00
lint css
This commit is contained in:
1 parent
8a372c1454
commit
38f6eb000f
37 files changed
+3025
-5622
No files matched your search
@@ -25,16 +25,16 @@ body { counter-reset : phb-page-numbers; }
|
||||
}
|
||||
}
|
||||
.useColumns(@multiplier : 1) {
|
||||
column-count : 2;
|
||||
column-fill : auto;
|
||||
column-gap : 1cm;
|
||||
-webkit-column-width : 8cm * @multiplier;
|
||||
-moz-column-width : 8cm * @multiplier;
|
||||
column-width : 8cm * @multiplier;
|
||||
-webkit-column-count : 2;
|
||||
-moz-column-count : 2;
|
||||
-webkit-column-width : 8cm * @multiplier;
|
||||
-moz-column-width : 8cm * @multiplier;
|
||||
column-count : 2;
|
||||
column-fill : auto;
|
||||
-webkit-column-gap : 1cm;
|
||||
-moz-column-gap : 1cm;
|
||||
column-gap : 1cm;
|
||||
}
|
||||
.phb, .page {
|
||||
.useColumns();
|
||||
@@ -43,8 +43,11 @@ body { counter-reset : phb-page-numbers; }
|
||||
box-sizing : border-box;
|
||||
width : 215.9mm;
|
||||
height : 279.4mm;
|
||||
contain-intrinsic-size : auto none;
|
||||
padding : 1.0cm 1.7cm;
|
||||
padding-bottom : 1.5cm;
|
||||
contain : strict;
|
||||
content-visibility : auto;
|
||||
overflow : hidden;
|
||||
font-family : 'BookSanity';
|
||||
font-size : 0.317cm;
|
||||
@@ -52,11 +55,8 @@ body { counter-reset : phb-page-numbers; }
|
||||
background-color : @background;
|
||||
background-image : @backgroundImage;
|
||||
text-rendering : optimizeLegibility;
|
||||
page-break-before : always;
|
||||
page-break-after : always;
|
||||
contain : strict;
|
||||
content-visibility : auto;
|
||||
contain-intrinsic-size : auto none;
|
||||
break-before : page;
|
||||
break-after : page;
|
||||
}
|
||||
|
||||
.phb {
|
||||
@@ -111,10 +111,10 @@ body { counter-reset : phb-page-numbers; }
|
||||
color : @headerText;
|
||||
}
|
||||
h1 {
|
||||
column-span : all;
|
||||
font-size : 0.987cm;
|
||||
-webkit-column-span : all;
|
||||
-moz-column-span : all;
|
||||
column-span : all;
|
||||
font-size : 0.987cm;
|
||||
& + p::first-letter {
|
||||
float : left;
|
||||
font-family : 'Solberry';
|
||||
@@ -308,7 +308,7 @@ body { counter-reset : phb-page-numbers; }
|
||||
p,blockquote,table {
|
||||
z-index : 15;
|
||||
-webkit-column-break-inside : avoid;
|
||||
page-break-inside : avoid;
|
||||
break-inside : avoid;
|
||||
break-inside : avoid;
|
||||
}
|
||||
//Better spacing for spell blocks
|
||||
@@ -322,7 +322,7 @@ body { counter-reset : phb-page-numbers; }
|
||||
}
|
||||
li {
|
||||
-webkit-column-break-inside : avoid;
|
||||
page-break-inside : avoid;
|
||||
break-inside : avoid;
|
||||
break-inside : avoid;
|
||||
}
|
||||
}
|
||||
@@ -347,7 +347,7 @@ body { counter-reset : phb-page-numbers; }
|
||||
list-style-type : none;
|
||||
break-inside : auto;
|
||||
-webkit-column-break-inside : auto;
|
||||
page-break-inside : auto;
|
||||
break-inside : auto;
|
||||
}
|
||||
}
|
||||
//*****************************
|
||||
@@ -436,7 +436,7 @@ body { counter-reset : phb-page-numbers; }
|
||||
// *****************************/
|
||||
.phb .toc {
|
||||
-webkit-column-break-inside : avoid;
|
||||
page-break-inside : avoid;
|
||||
break-inside : avoid;
|
||||
break-inside : avoid;
|
||||
a {
|
||||
color : black;
|
||||
|
||||
Reference in new issue
Block a user