Fix style heirarchy.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Cassowary Rusnov 2022-12-02 09:51:48 -08:00
parent 58c426e071
commit 0cbc70f0a0

View File

@ -36,8 +36,8 @@ html {
body { body {
background-color: var(--white32m); background-color: var(--white32m);
font-family: var(--typeface) !important; font-family: var(--typeface);
font-weight: var(--weight-medium) !important; font-weight: var(--weight-medium);
width: 100%; width: 100%;
margin: 0; margin: 0;
padding: 0; padding: 0;
@ -46,29 +46,37 @@ body {
max-width: 100%; max-width: 100%;
} }
div#page {
font-family: var(--typeface);
font-weight: var(--weight-medium);
width: 100%;
margin: 0;
padding: 0;
border-radius: none;
box-shadow: none;
max-width: 100%;
}
body.home { body.home {
background-color: var(--red32m); background-color: var(--red32m);
padding: 0; padding: 0;
margin: auto; margin: auto;
} }
body > div.site { body > div#page header#masthead {
width: 100%;
}
body > div.site header#masthead {
background-color: var(--red32m); background-color: var(--red32m);
} }
body.home > div.site header#masthead { body.home > div#page header#masthead {
background-color: var(--white32m); background-color: var(--white32m);
} }
body.home > div.site article header { body.home > div#page article header {
display: none; display: none;
} }
body.home > div.site article div.entry-content { body.home > div#page article div.entry-content {
color: white; color: white;
font-weight: var(--weight-bold); font-weight: var(--weight-bold);
font-size: var(--font-size-xlarge); font-size: var(--font-size-xlarge);