0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 20:42:43 +00:00

All headers updated

This commit is contained in:
Trevor Buckner
2021-04-29 22:18:04 -04:00
parent fe03cca72b
commit a95e3552ff

View File

@@ -63,7 +63,7 @@ body {
// * BASE
// *****************************/
p{
overflow-wrap : break-word;
overflow-wrap : break-word; //TODO: MAKE ALL MARGINS TOP-ONLY. USE * + * STYLE SELECTORS
margin-bottom : 1em;
line-height : 1.3em;
&+p{
@@ -112,7 +112,7 @@ body {
// * HEADERS
// *****************************/
h1,h2,h3,h4{
margin-top : 0.2em;
//margin-top : 0.2em;
margin-bottom : 0.2em;
font-family : MrEavesRemake;
font-weight : 800;
@@ -144,18 +144,24 @@ body {
}
}
h2{
font-size : 0.75cm;
margin-top : 0px;
margin-bottom : 0.05cm;
font-size : 0.75cm;
}
h3{
font-size : 0.529cm;
margin-top : -0.1cm;
margin-bottom : 0.1cm;
font-size : 0.575cm;
border-bottom : 2px solid @headerUnderline;
}
h4{
margin-bottom : 0.00em;
margin-top : -0.02cm;
margin-bottom : 0.02cm;
font-size : 0.458cm;
}
h5{
margin-bottom : 0.2em;
margin-top : -0.02cm;
margin-bottom : 0.02cm;
font-family : ScalySansSmallCapsRemake;
font-size : 0.423cm;
font-weight : 900;
@@ -235,12 +241,15 @@ body {
margin-bottom : 1em;
p{
margin-bottom : 0;
margin-bottom : 0.3cm;
}
p+p {
margin-top : 0.3cm;
margin-top : 0; //May not be needed
text-indent : 0;
}
p:last-of-type {
margin-bottom: 0;
}
//Headers
h2{
@@ -248,7 +257,8 @@ body {
line-height : 1em;
margin : 0;
&+p {
font-size : 0.304cm; //Monster size and type subtext
font-size : 0.304cm; //Monster size and type subtext
margin-bottom : 0;
}
}
h3{
@@ -517,11 +527,14 @@ body {
// *****************************/
.phb3 {
.block {
break-inside: avoid;
break-inside : avoid;
}
.inline-block {
display : block;
}
div {
column-gap : 0.5cm; //Default spacing if a div uses multicolumns
}
}
//*****************************
@@ -548,4 +561,7 @@ body {
.blank {
height: 0.75em;
}
p + .blank {
margin-top: -1em;
}
}