X-Git-Url: https://jfr.im/git/irc/freenode/web-7.0.git/blobdiff_plain/0e9ffab7ce3555bf707c4391c523ce018b9d9809..01ad7509030e82ddddecbc95de42c1143e7ad2b5:/static/css/style.css diff --git a/static/css/style.css b/static/css/style.css index 0da075cac..bc27d000f 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -74,13 +74,13 @@ a { .container { padding: 50px 0 0; width: 100%; - min-height: 68vh; + min-height: 98vh; + padding-bottom: 11.5rem; } .main { margin-left: .5em; margin-top: 1em; - margin-bottom: 1em; } .main h1, @@ -113,10 +113,12 @@ a { flex-wrap: wrap; justify-content: space-around; align-items: stretch; + max-width: 800px; + margin: 0 auto; } .box { - text-align: left; + text-align: center; text-decoration: none; color: var(--text-color); margin-bottom: 5px; @@ -128,6 +130,10 @@ a { -moz-border-radius: var(--box-round); } +.box span { + display: block; +} + .box:hover,.box:active { background-color: var(--box-hover-color); } @@ -164,11 +170,11 @@ h1 { } div.art { - border-bottom: 1px solid rgba(var(--border-color),.3); + clear: right; } -div.art:last-child { - border-bottom: none; +div.art:not(:first-child) { + border-top: 1px solid rgba(var(--border-color),.3); } b.art { @@ -186,8 +192,9 @@ p.art-ingress { } .art-date { + float: right; color: #ccc; - margin: 0; + margin: 0 .5em; } p.heading { @@ -249,7 +256,9 @@ a.hchild:hover,a.hchild:active { /* footer */ .footers { - min-height: 30vh; + /*min-height: 30vh;*/ + margin-top: -11rem; + min-height: 11rem; } .footer { @@ -257,15 +266,28 @@ a.hchild:hover,a.hchild:active { color: rgba(var(--footer-text-color),.9); margin-top: 2vh; display: flex; - flex-wrap: nowrap; - min-height: 27vh; + flex-wrap: wrap; justify-content: space-between; align-items: flex-start; box-shadow: 0 -3px 5px rgba(150,150,150,.36); + min-height: 9.5rem; } .footerchild { margin-top: .5em; + flex: 1 1 1px; + min-width: 12rem; +} + +.footerchild:last-child { + margin-bottom: 1em; +} + +@media all and (max-width: 60rem) { + .footer-push { + margin-left: auto; + width: max-content; + } } .footer a { @@ -273,7 +295,7 @@ a.hchild:hover,a.hchild:active { } .footer h2 { - margin-bottom: 9px; + margin-bottom: .1em; display: inline-block; } @@ -287,7 +309,7 @@ a.hchild:hover,a.hchild:active { padding-left: 30px; } -@media all and (max-width: 500px) { +@media all and (max-width: 600px) { .footer { flex-direction: column; } @@ -296,6 +318,10 @@ a.hchild:hover,a.hchild:active { width: 100%; } + .footer-push { + margin-left: 0; + } + .footerchild ul li:last-child { margin-bottom: .5em; } @@ -319,6 +345,11 @@ a.hchild:hover,a.hchild:active { margin: 0; } + .box-container { + flex-direction: column; + margin: 0 .5em; + } + .box div { position: relative; top: initial; @@ -341,7 +372,7 @@ a.hchild:hover,a.hchild:active { justify-content: space-between; align-items: center; background: rgba(var(--copyright-bg),.5); - height: 3vh; + height: 1.5rem; color: rgba(var(--copyright-text-color),.8); } @@ -356,7 +387,7 @@ a.copyright { } .copyright a img { - height: 3vh; + height: 1.5rem; width: auto; } @@ -368,7 +399,7 @@ a.copyright { text-align: right; } -@media all and (max-width: 500px) { +@media all and (max-width: 600px) { .copyright { height: 5vh; }