X-Git-Url: https://jfr.im/git/irc/freenode/web-7.0.git/blobdiff_plain/17116c1992be0b1d9cfe3009c6954442b000baf9..4c7fd801e3bfc4ffb71ab61c66af1c1fb59f6425:/static/css/style.css diff --git a/static/css/style.css b/static/css/style.css index e6dcbe0e3..b9430383e 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -106,23 +106,36 @@ a { 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; @@ -195,7 +208,6 @@ h1 { div.art { clear: right; - min-height: 3em; flex-grow: 1; } @@ -217,9 +229,14 @@ b.art { margin-bottom: 0; font-size: 18px; } +p.art-header { + border-bottom: 1px solid rgba(0,0,0, 0.09); + padding-bottom: 5px; +} -p.art { - margin: 0; +p.art-header b.art { + margin-bottom: 0; + font-size: 36px; } p.art-ingress { @@ -231,6 +248,7 @@ p.art-ingress { float: right; color: #ccc; margin: 0 .5em; + line-height: 24px; } p.heading { @@ -403,10 +421,6 @@ a.hchild:hover,a.hchild:active { border-radius: calc(var(--box-round) / 2); margin: 5px 0; } - - div.artlist { - padding: 0 .3em; - } } .footer h2,.footer h3 {