X-Git-Url: https://jfr.im/git/irc/freenode/web-7.0.git/blobdiff_plain/daf66ded5108555bfa5680b3556f80b8d7b0eb87..39165c0cdb4a054d3e88773bfff0246cf5b924e7:/static/css/style.css diff --git a/static/css/style.css b/static/css/style.css index 14b5b9b46..812d73c2a 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -14,7 +14,7 @@ --box-color: #4c5456; --box-hover-color: #292f2f; --box-round: 10px; - --max-width: 800px; + --max-width: 600px; } /* reset css for browser compat */ @@ -54,6 +54,7 @@ a { align-items: center; border-bottom: 1px solid var(--border-color); z-index: 100; + padding-right: 5px; } @media all and (max-width: 600px) { @@ -63,16 +64,10 @@ a { } .navbar a { + margin-top: 2px; height: 40px; } -a.nav-light { - background-color: #eee; - height: 44px; - padding: 2px; - margin-right: 3px; -} - .nlogo { height: 40px; } @@ -90,16 +85,18 @@ a.nav-light { /* main */ .container { - padding: 50px 0 0; width: 100%; min-height: 98vh; + padding-top: 50px; padding-bottom: 11.5rem; } .main { margin: 0 auto; margin-top: .75em; + padding: 0 .75em; max-width: var(--max-width); + line-height: 1.3; } .main h1, @@ -108,7 +105,7 @@ a.nav-light { .main li, .main p + p, .main ul + p { - margin-top: .5em; + margin-top: .7em; } .main ul { @@ -188,7 +185,6 @@ h1 { div.art { clear: right; - min-height: 2em; flex-grow: 1; } @@ -197,17 +193,11 @@ div.artlist { flex-wrap: wrap; justify-content: flex-start; align-items: stretch; + max-width: var(--max-width); + margin: 0 auto; margin-top: .5em; } -@media all and (min-width: 800px) { - div.artlist { - max-width: 50%; - margin-right: auto; - margin-left: auto; - } -} - div.art:not(:first-child) { border-top: 1px solid var(--border-color); } @@ -230,6 +220,7 @@ p.art-ingress { float: right; color: #ccc; margin: 0 .5em; + line-height: 24px; } p.heading { @@ -402,11 +393,6 @@ a.hchild:hover,a.hchild:active { border-radius: calc(var(--box-round) / 2); margin: 5px 0; } - - .main { - margin: .75em .75em; - } - } .footer h2,.footer h3 {