0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-09 07:12:40 +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 // * BASE
// *****************************/ // *****************************/
p{ p{
overflow-wrap : break-word; overflow-wrap : break-word; //TODO: MAKE ALL MARGINS TOP-ONLY. USE * + * STYLE SELECTORS
margin-bottom : 1em; margin-bottom : 1em;
line-height : 1.3em; line-height : 1.3em;
&+p{ &+p{
@@ -112,7 +112,7 @@ body {
// * HEADERS // * HEADERS
// *****************************/ // *****************************/
h1,h2,h3,h4{ h1,h2,h3,h4{
margin-top : 0.2em; //margin-top : 0.2em;
margin-bottom : 0.2em; margin-bottom : 0.2em;
font-family : MrEavesRemake; font-family : MrEavesRemake;
font-weight : 800; font-weight : 800;
@@ -144,18 +144,24 @@ body {
} }
} }
h2{ h2{
margin-top : 0px;
margin-bottom : 0.05cm;
font-size : 0.75cm; font-size : 0.75cm;
} }
h3{ h3{
font-size : 0.529cm; margin-top : -0.1cm;
margin-bottom : 0.1cm;
font-size : 0.575cm;
border-bottom : 2px solid @headerUnderline; border-bottom : 2px solid @headerUnderline;
} }
h4{ h4{
margin-bottom : 0.00em; margin-top : -0.02cm;
margin-bottom : 0.02cm;
font-size : 0.458cm; font-size : 0.458cm;
} }
h5{ h5{
margin-bottom : 0.2em; margin-top : -0.02cm;
margin-bottom : 0.02cm;
font-family : ScalySansSmallCapsRemake; font-family : ScalySansSmallCapsRemake;
font-size : 0.423cm; font-size : 0.423cm;
font-weight : 900; font-weight : 900;
@@ -235,12 +241,15 @@ body {
margin-bottom : 1em; margin-bottom : 1em;
p{ p{
margin-bottom : 0; margin-bottom : 0.3cm;
} }
p+p { p+p {
margin-top : 0.3cm; margin-top : 0; //May not be needed
text-indent : 0; text-indent : 0;
} }
p:last-of-type {
margin-bottom: 0;
}
//Headers //Headers
h2{ h2{
@@ -249,6 +258,7 @@ body {
margin : 0; margin : 0;
&+p { &+p {
font-size : 0.304cm; //Monster size and type subtext font-size : 0.304cm; //Monster size and type subtext
margin-bottom : 0;
} }
} }
h3{ h3{
@@ -522,6 +532,9 @@ body {
.inline-block { .inline-block {
display : block; display : block;
} }
div {
column-gap : 0.5cm; //Default spacing if a div uses multicolumns
}
} }
//***************************** //*****************************
@@ -548,4 +561,7 @@ body {
.blank { .blank {
height: 0.75em; height: 0.75em;
} }
p + .blank {
margin-top: -1em;
}
} }