0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-10 11:22:40 +00:00

Add wide monster blocks

This commit is contained in:
Trevor Buckner
2021-04-03 01:54:24 -04:00
parent d8525f0eba
commit 9ad1c91472

View File

@@ -64,10 +64,10 @@ body {
// *****************************/ // *****************************/
p{ p{
overflow-wrap : break-word; overflow-wrap : break-word;
padding-top : 0em; margin-bottom : 1em;
line-height : 1.3em; line-height : 1.3em;
&+p{ &+p{
padding-top : 0em; margin-top : -1em;
} }
} }
ul{ ul{
@@ -227,13 +227,16 @@ body {
background-blend-mode : overlay; background-blend-mode : overlay;
background-attachment : fixed; background-attachment : fixed;
box-shadow : 1px 4px 14px #888; box-shadow : 1px 4px 14px #888;
margin : 0px -6px; margin : 0px -6px 1em;
-webkit-transform : translateZ(0); //Prevents shadows from breaking across columns -webkit-transform : translateZ(0); //Prevents shadows from breaking across columns
} }
.useSansSerif(); .useSansSerif();
position : relative; position : relative;
padding : 0px; padding : 0px;
p{
margin-bottom : 0;
}
p+p { p+p {
margin-top : 0.3cm; margin-top : 0.3cm;
text-indent : 0; text-indent : 0;
@@ -242,7 +245,8 @@ body {
//Headers //Headers
h2{ h2{
font-size : 0.62cm; font-size : 0.62cm;
margin-bottom : 0.1cm; line-height : 1em;
margin : 0;
&+p { &+p {
font-size : 0.304cm; //Monster size and type subtext font-size : 0.304cm; //Monster size and type subtext
} }
@@ -296,6 +300,10 @@ body {
} }
//Full Width //Full Width
.monster.wide{
.useColumns(0.96);
}
hr+hr+blockquote{ hr+hr+blockquote{
.useColumns(0.96); .useColumns(0.96);
} }
@@ -508,6 +516,9 @@ body {
// * MUSTACHE DIVS/SPANS // * MUSTACHE DIVS/SPANS
// *****************************/ // *****************************/
.phb3 { .phb3 {
.block {
break-inside: avoid;
}
.inline-block { .inline-block {
display : block; display : block;
} }