X-Git-Url: https://jfr.im/git/irc/freenode/web-7.0.git/blobdiff_plain/a9a27d4b8068aed5b03c2dba60e8071fe8ba05b1..78f36cc1b822c2127494585cb362fe02a0103b5f:/static/css/style.css diff --git a/static/css/style.css b/static/css/style.css index 567f9ea85..3893d8543 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -32,7 +32,7 @@ --box-round: 10px; /* other */ - --max-width: 600px; + --max-width: 1200px; --max-width-box: 800px; --margin-box-fa: 5px; } @@ -104,20 +104,26 @@ img { height: 40px; } +.tlogo { + height: 40px; + margin-bottom: -9px; + margin-left: -10px; + margin-right: -10px; +} + /* main */ .container { width: 100%; - min-height: 98vh; + min-height: 100vh; padding-top: 50px; - padding-bottom: 11.5rem; + padding-bottom: 12.5rem; } .main { - margin: 0 auto; - margin-top: .75em; + margin: 2em auto; padding: 0 .75em; max-width: var(--max-width); - line-height: 1.4; + line-height: 1.8; } .main h1, @@ -142,6 +148,11 @@ ul { list-style-type: disc; } +ol { + padding-left: 2em; + list-style-type: decimal; +} + hr { margin-top: .8em; margin-bottom: .8em; @@ -151,11 +162,37 @@ hr { .jumbotron { position: relative; width: 100%; - margin-top: -16px; + margin-top: -50px; background: var(--jumbotron-bg); box-shadow: 0 1px 5px rgba(0, 0, 0, 0.6); color: var(--jumbotron-text-color); - padding: 2em 0; + padding: 4em 0 4em 0; +} + +.jindex { + z-index: 99; +} + +.jlogo { + display: block; + margin: 25px auto; +} + +.jpia { + position: absolute; + height: 40px; + right: 0; + top: 0; + margin: 25px; +} + +@media (--max-sm) { + .jlogo { + margin: 2em auto -2em auto; + } + .jumbotron { + padding-bottom: 2em; + } } .child { @@ -192,7 +229,7 @@ hr { background-color: var(--box-hover-color); } -.box div{ +.box span { position: relative; top: initial; font-size: 20px; @@ -206,7 +243,7 @@ hr { margin-top: var(--margin-box-fa); } -.fa-comment,.fa-question { +.fa-comments,.fa-question { margin-bottom: var(--margin-box-fa); } @@ -238,14 +275,15 @@ 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; + margin-top: 0; } .box { @@ -261,7 +299,7 @@ h1 { } .art-info { - line-height: 1.6; + margin-top: 2.1em; display: flex; flex-direction: row; flex-wrap: wrap; @@ -272,6 +310,7 @@ h1 { .art-info h1 { margin-top: 0; display: inline; + margin-right: 2em; } .art-body { @@ -284,13 +323,18 @@ h1 { margin-top: .5em; } +.artlist.heading { + margin: 8em auto 2em auto; + 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); @@ -317,35 +361,59 @@ 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 */ .footers { /*min-height: 30vh;*/ - margin-top: -11rem; - min-height: 11rem; + margin-top: -12rem; + min-height: 12rem; } .footer { background: var(--jumbotron-bg); color: var(--footer-text-color); width: 100%; - margin-top: 2vh; box-shadow: 0 -3px 5px rgba(150,150,150,.36); - min-height: 9.5rem; + min-height: 10.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; } @@ -353,11 +421,12 @@ h1 { .footerchild { margin: 0 2em; margin-top: .5em; - flex: 1 1 1px; + flex-grow: 1; + flex-shrink: 0; } .footerchild:last-child { - margin-bottom: 1em; + margin-bottom: .5em; } .footer-push { @@ -389,22 +458,45 @@ footer a:hover { padding-left: 30px; } -@media (--max-md) { +@media (--max-sm) { .footer-container { flex-direction: column; } .footer-push { margin-left: 0; + width: 100%; } .footerchild ul li:last-child { margin-bottom: .5em; } + .footer-push ul li:last-child { + margin-bottom: .1em; + } + .hdn { display: none; } + .footer { + padding: .5em 0; + } + .footer-push ul { + display: flex; + flex-wrap: wrap; + flex-direction: row; + justify-content: space-between; + align-items: flex-start; + text-align: center; + } + .footer-push ul li { + display: inline-block; + font-size: 12vw; + } + .footer-push ul li img { + height: 12vw; + } } .footer h2, .footer h3 {