X-Git-Url: https://jfr.im/git/irc/freenode/web-7.0.git/blobdiff_plain/fba24f681711796fc6c054532c0e55f6d7eb80c9..refs/pull/49/head:/static/css/style.css diff --git a/static/css/style.css b/static/css/style.css index d076d4280..c1b4efd30 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -54,6 +54,17 @@ a { align-items: center; border-bottom: 1px solid var(--border-color); z-index: 100; + padding-right: 5px; +} +[class*='fn-'] { + margin-top: auto; + margin-bottom: auto; + font-size: 30px; + color: #E6E6E6; + text-shadow: .5px .5px #000; +} +.green { + color: #4BEB4A; } @media all and (max-width: 600px) { @@ -63,16 +74,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; } @@ -101,23 +106,36 @@ a.nav-light { margin-top: .75em; padding: 0 .75em; max-width: var(--max-width); - line-height: 140%; + line-height: 1.4; } .main h1, .main h2, .main h3, +.main h4, .main li, -.main p + p, -.main ul + p { +.main pre, +.main p { margin-top: .7em; } +.main h1 + p, +.main h2 + p, +.main h3 + p, +.main h3 + p { + margin-top: 0; +} + .main ul { padding-left: 2em; list-style-type: disc; } +hr { + margin-top: .8em; + margin-bottom: .8em; +} + /* jumbotron */ .jumbotron { position: relative; @@ -190,16 +208,11 @@ h1 { div.art { clear: right; - min-height: 2em; flex-grow: 1; } div.artlist { - display: flex; - flex-wrap: wrap; - justify-content: flex-start; - align-items: stretch; - max-width: 600px; + max-width: var(--max-width); margin: 0 auto; margin-top: .5em; } @@ -213,10 +226,6 @@ b.art { font-size: 18px; } -p.art { - margin: 0; -} - p.art-ingress { font-style: italic; margin: 0; @@ -225,7 +234,8 @@ p.art-ingress { .art-date { float: right; color: #ccc; - margin: 0 .5em; + line-height: 24px; + font-feature-settings: tnum; } p.heading { @@ -236,6 +246,17 @@ p.art-link { margin-top: 0; } +@media all and (max-width: 600px) { + .main.artlist { + padding-left: 0; + padding-right: 0; + } + + div.art { + padding: 0 .75em; + } +} + /* help */ .hmain { display: flex;