X-Git-Url: https://jfr.im/git/irc/freenode/web-7.0.git/blobdiff_plain/5a791e5712f8348abb6bd01fce1d5396866caf2c..10fe6b49b37babfcccfc264a887353a0f838471b:/static/css/style.css diff --git a/static/css/style.css b/static/css/style.css index b507d66ab..cf1124d26 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -89,7 +89,7 @@ img { padding-right: 5px; } -@media (--max-sm); { +@media (--max-sm) { .navbar { position: absolute; } @@ -130,12 +130,16 @@ img { .main h2, .main h3, .main h4, -.main li:not(.artlist *), +.main li, .main pre, .main p { margin-top: .7em; } +.artlist li { + margin-top: 0; +} + .main h1 + p, .main h2 + p, .main h3 + p, @@ -158,6 +162,28 @@ hr { margin-bottom: .8em; } +table { + border: 1px solid var(--c-dark); + border-collapse: collapse; +} + +th, td { + margin: .2em; +} + +th { + background-color: var(--c-bg-dark); + color: var(--c-light); +} + +td { + padding: .2em .5em; +} + +td:not(:first-child), th:not(:first-child) { + border-left: 1px solid var(--c-dark); +} + /* jumbotron */ .jumbotron { position: relative; @@ -298,7 +324,8 @@ h1 { margin: 0; } -ul.artlist { +.artlist ul { + padding: 0; list-style-type: none; } @@ -320,15 +347,16 @@ ul.artlist { margin-bottom: 1em; } -.artlist { - max-width: var(--max-width); - margin: 0 auto; - margin-top: .5em; +@media(--max-sm) { + .artlist .heading { + padding: 0 0.75em; + } } -.artlist.heading { - margin: 8em auto 2em auto; - padding: 0 0.75em; +.artlist ul { + max-width: var(--max-width); + margin: 2em auto; + margin-top: .5em; } .artlist li:not(:first-child) { @@ -423,6 +451,10 @@ ul.artlist { padding: 3em 0; } +.footer .fa-fw { + height: 14px; +} + .footer-container { display: flex; flex-wrap: wrap; @@ -495,6 +527,9 @@ footer a:hover { .footer { padding: .5em 0; } + .footer li a { + line-height: 1.8; + } .footer-push ul { display: flex; flex-wrap: wrap; @@ -505,10 +540,11 @@ footer a:hover { } .footer-push ul li { display: inline-block; - font-size: 12vw; + font-size: 2.5rem; } - .footer-push ul li img { - height: 12vw; + .footerchild ul li img, + .footerchild ul li .fa-fw { + height: 2.5rem; } }