0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-13 13:02:45 +00:00

Split off the old stlying in a separate file

This commit is contained in:
Scott Tolksdorf
2017-02-13 00:45:17 -05:00
parent 304cd0ffcd
commit bd08858745
8 changed files with 86 additions and 39 deletions

View File

@@ -1,31 +1,33 @@
.phb{
//Double hr for full width elements
hr+hr+blockquote{
column-span : all;
-webkit-column-span : all;
-moz-column-span : all;
}
.brewRendererOld {
.phb_old{
//Double hr for full width elements
hr+hr+blockquote{
column-span : all;
-webkit-column-span : all;
-moz-column-span : all;
}
//*****************************
// * CLASS TABLE
// *****************************/
hr+table{
margin-top : -5px;
margin-bottom : 50px;
padding-top : 10px;
border-collapse : separate;
background-color : white;
border : initial;
border-style : solid;
border-image-outset : 37px 17px;
border-image-repeat : round;
border-image-slice : 150 200 150 200;
border-image-source : @frameBorderImage;
border-image-width : 47px;
}
h5+hr+table{
column-span : all;
-webkit-column-span : all;
-moz-column-span : all;
//*****************************
// * CLASS TABLE
// *****************************/
hr+table{
margin-top : -5px;
margin-bottom : 50px;
padding-top : 10px;
border-collapse : separate;
background-color : white;
border : initial;
border-style : solid;
border-image-outset : 37px 17px;
border-image-repeat : round;
border-image-slice : 150 200 150 200;
border-image-source : @frameBorderImage;
border-image-width : 47px;
}
h5+hr+table{
column-span : all;
-webkit-column-span : all;
-moz-column-span : all;
}
}
}

View File

@@ -13,8 +13,9 @@
@page { margin: 0; }
body {
counter-reset : old-phb-page-numbers;
//TODO: Change
.brewRenderer {
counter-reset : phb-page-numbers;
}
.useSansSerif(){
font-family : ScalySans;
@@ -45,7 +46,7 @@ body {
-webkit-print-color-adjust : exact;
}
.useColumns();
counter-increment : old-phb-page-numbers;
counter-increment : phb-page-numbers;
position : relative;
z-index : 15;
box-sizing : border-box;
@@ -61,6 +62,7 @@ body {
text-rendering : optimizeLegibility;
page-break-before : always;
page-break-after : always;
color : red;
//*****************************
// * BASE
// *****************************/
@@ -301,7 +303,7 @@ body {
color : #c9ad6a;
text-align : center;
&.auto::after {
content : counter(old-phb-page-numbers);
content : counter(phb-page-numbers);
}
}
.footnote{