From 0cbc70f0a0b488149b20ee57292bccccfc16ec6a Mon Sep 17 00:00:00 2001 From: Cassowary Rusnov Date: Fri, 2 Dec 2022 09:51:48 -0800 Subject: [PATCH] Fix style heirarchy. --- style.css | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/style.css b/style.css index 1303ebd..257b5ea 100644 --- a/style.css +++ b/style.css @@ -36,8 +36,8 @@ html { body { background-color: var(--white32m); - font-family: var(--typeface) !important; - font-weight: var(--weight-medium) !important; + font-family: var(--typeface); + font-weight: var(--weight-medium); width: 100%; margin: 0; padding: 0; @@ -46,29 +46,37 @@ body { 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 { background-color: var(--red32m); padding: 0; margin: auto; } -body > div.site { - width: 100%; -} - -body > div.site header#masthead { +body > div#page header#masthead { background-color: var(--red32m); } -body.home > div.site header#masthead { +body.home > div#page header#masthead { background-color: var(--white32m); } -body.home > div.site article header { +body.home > div#page article header { display: none; } -body.home > div.site article div.entry-content { +body.home > div#page article div.entry-content { color: white; font-weight: var(--weight-bold); font-size: var(--font-size-xlarge);