]> jfr.im git - irc/freenode/web-7.0.git/blobdiff - static/css/style.css
Shot in the dark...
[irc/freenode/web-7.0.git] / static / css / style.css
index d9daa7dd10b295293832fbec58118ce0b3ba8d3e..7b063c120c35d6461c02662fb4500eea6bc64162 100644 (file)
@@ -1,18 +1,16 @@
 /* vars */
 :root {
-    --navbar-bg: #fff;
-    --jumbotron-bg: #eee;
-    --jumbotron-bg-fall: 65,225,64;
-    --copyright-bg: 170,178,171;
+    --navbar-bg: #292f2f;
+    --jumbotron-bg: #294848;
+    --copyright-bg: #292f2f;
     --link-color: 66,139,202;
-    --footer-link-color: 51,51,51;
+    --footer-link-color: #ddd;
     --nlink-col: #000;
     --text-color: #333;
-    --footer-text-color: 51,51,51;
-    --copyright-text-color: 0,0,0;
-    --jumbotron-text-color: #333;
-    --border-color: 0,0,0;
-    --footer-border-color: 51,51,51;
+    --footer-text-color: #eee;
+    --copyright-text-color: #ccc;
+    --jumbotron-text-color: #eee;
+    --border-color: #292f2f;
     --box-hover-color: #ddd;
     --box-round: 10px;
 }
@@ -43,6 +41,7 @@ a {
     width: 100%;
     height: 50px;
     background-color: var(--navbar-bg);
+    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.5);
     position: fixed;
     left: 0;
     right: 0;
@@ -51,10 +50,27 @@ a {
     flex-wrap: nowrap;
     justify-content: space-between;
     align-items: center;
-    border-bottom: 1px solid rgba(var(--border-color),.3);
+    border-bottom: 1px solid var(--border-color);
     z-index: 100;
 }
 
+@media all and (max-width: 600px) {
+    .navbar {
+        position: absolute;
+    }
+}
+
+.navbar a {
+    height: 40px;
+}
+
+a.nav-light {
+    background-color: #eee;
+    height: 44px;
+    padding: 2px;
+    margin-right: 3px;
+}
+
 .nlogo {
     height: 40px;
 }
@@ -74,13 +90,13 @@ a {
 .container {
     padding: 50px 0 0;
     width: 100%;
-    min-height: 68vh;
+    min-height: 98vh;
+    padding-bottom: 11.5rem;
 }
 
 .main {
-    margin-left: .5em;
+    margin: 0 .5em;
     margin-top: 1em;
-    margin-bottom: 1em;
 }
 
 .main h1,
@@ -97,8 +113,9 @@ a {
     margin-top: -16px;
     background: #000;
     background: var(--jumbotron-bg);
-    box-shadow: 0 3px 5px rgba(150,150,150,.36);
+    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.6);
     color: var(--jumbotron-text-color);
+    padding: 2em 0;
 }
 
 .child {
@@ -171,10 +188,22 @@ h1 {
 
 div.art {
     clear: right;
+    min-height: 2em;
+}
+
+div.artlist {
+    display: flex;
+    flex-wrap: wrap;
+    justify-content: space-around;
+    align-items: stretch;
+}
+
+div.artlist:first-child {
+    margin-top: .5em;
 }
 
 div.art:not(:first-child) {
-    border-top: 1px solid rgba(var(--border-color),.3);
+    border-top: 1px solid var(--border-color);
 }
 
 b.art {
@@ -224,9 +253,9 @@ a.hchild {
 /*height: 40px;*/
     width: 95%;
     text-align: center;
-    border-top: 1px solid rgba(var(--border-color),.6);
-    border-left: 1px solid rgba(var(--border-color),.6);
-    border-right: 1px solid rgba(var(--border-color),.6);
+    border-top: 1px solid var(--border-color);
+    border-left: 1px solid var(--border-color);
+    border-right: 1px solid var(--border-color);
 }
 
 a.hchild:hover,a.hchild:active {
@@ -245,7 +274,7 @@ a.hchild:hover,a.hchild:active {
 
 .hchild:last-child {
     margin-bottom: 10px;
-    border-bottom: 1px solid rgba(var(--border-color),.6);
+    border-bottom: 1px solid var(--border-color);
     -webkit-border-bottom-right-radius: var(--box-round);
     -webkit-border-bottom-left-radius: var(--box-round);
     -moz-border-radius-bottomright: var(--box-round);
@@ -256,39 +285,46 @@ a.hchild:hover,a.hchild:active {
 
 /* footer */
 .footers {
-    min-height: 30vh;
+    /*min-height: 30vh;*/
+    margin-top: -11rem;
+    min-height: 11rem;
 }
 
 .footer {
     background: var(--jumbotron-bg);
-    color: rgba(var(--footer-text-color),.9);
+    color: var(--footer-text-color);
     margin-top: 2vh;
     display: flex;
     flex-wrap: wrap;
-    min-height: 27vh;
     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: 12em;
+    min-width: 12rem;
 }
 
-.footer-push {
-    margin-left: auto;
-    min-width: 12em;
-    max-width: max-content;
+.footerchild:last-child {
+    margin-bottom: 1em;
+}
+
+@media all and (max-width: 60rem) {
+    .footer-push {
+        margin-left: auto;
+        width: max-content;
+    }
 }
 
 .footer a {
-    color: #000;
+    color: var(--footer-link-color);
 }
 
 .footer h2 {
-    margin-bottom: 9px;
+    margin-bottom: .1em;
     display: inline-block;
 }
 
@@ -361,16 +397,16 @@ a.hchild:hover,a.hchild:active {
 
 .copyright {
     display: flex;
-    flex-wrap: nowrap;
+    flex-wrap: wrap;
     justify-content: space-between;
     align-items: center;
-    background: rgba(var(--copyright-bg),.5);
-    height: 3vh;
-    color: rgba(var(--copyright-text-color),.8);
+    background: var(--copyright-bg);
+    min-height: 1.5rem;
+    color: var(--copyright-text-color);
 }
 
 a.copyright {
-    background: rgba(var(--copyright-bg),.5);
+    background: var(--copyright-bg);
     margin-bottom: 0;
     margin-top: 0;
     margin-left: .5em;
@@ -380,7 +416,7 @@ a.copyright {
 }
 
 .copyright a img {
-    height: 3vh;
+    height: 1.5rem;
     width: auto;
 }
 
@@ -391,13 +427,3 @@ a.copyright {
     margin-right: .5em;
     text-align: right;
 }
-
-@media all and (max-width: 600px) {
-    .copyright {
-        height: 5vh;
-    }
-
-    .copyright a img {
-        height: 5vh;
-    }
-}