X-Git-Url: https://jfr.im/git/irc/freenode/web-7.0.git/blobdiff_plain/8078743808e2d0f42430a34d3ea08767c4decda8..d535feaa53ff300d5198d58d3480d89e8a2d4aad:/static/css/style.css?ds=sidebyside diff --git a/static/css/style.css b/static/css/style.css index c1002d3c8..a0b349436 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -66,6 +66,9 @@ a { a:hover { color: var(--link-hover-color); } +img { + max-width: 100%; +} /* navbar */ .navbar { @@ -105,13 +108,12 @@ a:hover { .container { width: 100%; min-height: 98vh; - padding-top: 50px; padding-bottom: 11.5rem; } .main { margin: 0 auto; - margin-top: .75em; + margin-top: 3.75em; padding: 0 .75em; max-width: var(--max-width); line-height: 1.4; @@ -152,7 +154,7 @@ hr { background: var(--jumbotron-bg); box-shadow: 0 1px 5px rgba(0, 0, 0, 0.6); color: var(--jumbotron-text-color); - padding: 2em 0; + padding: 8em 0 4em 0; } .child { @@ -189,7 +191,7 @@ hr { background-color: var(--box-hover-color); } -.box div{ +.box span { position: relative; top: initial; font-size: 20px; @@ -235,13 +237,13 @@ hr { margin: 0 .5em; } - .box div { + .box span { font-size: 22px; line-height: 22px; padding-left: 8px; - font-weight: 700; + font-weight: bold; position: relative; - display: inline; + display: inline-block; text-align: center; } @@ -258,7 +260,7 @@ h1 { } .art-info { - line-height: 1.6; + line-height: 2.1; display: flex; flex-direction: row; flex-wrap: wrap; @@ -269,6 +271,7 @@ h1 { .art-info h1 { margin-top: 0; display: inline; + margin-right: 2em; } .art-body { @@ -281,13 +284,18 @@ h1 { margin-top: .5em; } +.artlist.heading { + margin: 8em 0 2em 0; + padding: 0 0.75em; +} + .artlist .art-info:not(:first-child) { border-top: 1px solid var(--border-color); } .art-date { display: inline-block; - text-align: baseline; + vertical-align: baseline; line-height: 1; white-space: nowrap; color: var(--art-date-color); @@ -314,13 +322,37 @@ h1 { } /* faq */ -.faq-index { +.kb-index { list-style-type: none; padding-left: 0; + display: flex; + flex-direction: row; + flex-wrap: wrap; + justify-content: stretch; } -.faq-index li { - font-size: 120%; +.kb-index li { + display: block; + flex: 1 1 15em; + height: 7em; + margin: 1em; +} + +.kb-index li h2 { + margin-top: 0; +} + +.kb-index a { + display: block; + color: var(--text-color); + width: 100%; + height: 100%; +} +.kb-index a h2 { + color: var(--link-color); +} +.kb-index a:hover h2 { + color: var(--link-hover-color); } /* footer */ @@ -337,12 +369,14 @@ h1 { margin-top: 2vh; box-shadow: 0 -3px 5px rgba(150,150,150,.36); min-height: 9.5rem; + + padding: 3em 0; } .footer-container { display: flex; flex-wrap: wrap; - justify-content: space-between; + justify-content: center; align-items: flex-start; margin: 0 auto; } @@ -350,17 +384,17 @@ h1 { .footerchild { margin: 0 2em; margin-top: .5em; + flex-grow: 1; + flex-shrink: 0; } .footerchild:last-child { margin-bottom: 1em; } -@media (--max-rem) { - .footer-push { - margin-left: auto; - width: max-content; - } +.footer-push { + margin-left: auto; + width: max-content; } footer a { @@ -388,14 +422,10 @@ footer a:hover { } @media (--max-md) { - .footer { + .footer-container { flex-direction: column; } - .footerchild { - width: 100%; - } - .footer-push { margin-left: 0; }