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

Moved files into statics, finally fixed the brew editor breaking on resizze

This commit is contained in:
Scott Tolksdorf
2017-02-28 21:07:37 -05:00
parent 4c874149fb
commit 00f2703d0b
8 changed files with 68 additions and 24 deletions

View File

@@ -18,17 +18,11 @@
@page { margin: 0; } //TODO: ????
.useColumns(@multiplier : 1){
.useColumns(){
column-count : 2;
column-fill : auto;
column-gap : 1cm;
column-width : 8cm * @multiplier;
-webkit-column-count : 2;
-moz-column-count : 2;
-webkit-column-width : 8cm * @multiplier;
-moz-column-width : 8cm * @multiplier;
-webkit-column-gap : 1cm;
-moz-column-gap : 1cm;
column-width : 8cm;
}
& *{
-webkit-print-color-adjust : exact;
@@ -51,11 +45,14 @@
page-break-before : always;
page-break-after : always;
/* CODE */
pre{
font-family : monospace;
background-color : @yellow;
padding : 12px;
border: 1px solid #bfbfbf;
white-space: pre-wrap;
color : #333;
-webkit-column-break-inside : avoid;
column-break-inside : avoid;
@@ -200,9 +197,9 @@
}
*/
//If a note starts a column, give it space at the top to render border
pre+blockquote, h2+blockquote, h3+blockquote, h4+blockquote, h5+blockquote {
margin-top : 13px;
}
//pre+blockquote, h2+blockquote, h3+blockquote, h4+blockquote, h5+blockquote {
// margin-top : 13px;
//}
//*****************************
// * MONSTER STAT BLOCK
// *****************************/