X-Git-Url: https://git.shemshak.org/~bandali/bndl.org/blobdiff_plain/9998ccd03444e45e42238fa7e01099da1d5a6247..127617a6b45979c4634530c801346cd6f4e19051:/style.css diff --git a/style.css b/style.css index 9d3f78e..baeed6b 100644 --- a/style.css +++ b/style.css @@ -5,6 +5,8 @@ article, aside, footer, header, nav, section { body { font-family: FreeSans, sans-serif; + text-transform: lowercase; + line-height: 1.4; padding: 1em; } @@ -13,9 +15,10 @@ main { max-width: 38em; } -body > header { - margin-bottom: 2em !important; +main > header { + margin-bottom: 1em; } + #title { font-size: 2.1em; font-weight: normal; @@ -44,6 +47,7 @@ article h3 { code { font-size: 1.15em; + text-transform: none; } table td { @@ -73,7 +77,8 @@ nav li:last-child:after { main { display: grid; grid-template-columns: auto 38em auto; - grid-gap: 1em; + grid-column-gap: 1.5em; + grid-row-gap: 1em; } main > h3 { @@ -87,10 +92,13 @@ main > header, main > section { grid-column: 2; } -main > h3:first-of-type, section:first-of-type > p, section:first-of-type ul { +main > h3, ul:first-child { + margin-top: 0; margin-bottom: 0; } - -main > h3:last-of-type, section:last-of-type > p, section:last-of-type ul { +p:first-child { margin-top: 0; } +p:last-child { + margin-bottom: 0; +}