]> jfr.im git - irc/freenode/web-7.0.git/blobdiff - static/css/style.css
Use git hashes as query strings for CSS
[irc/freenode/web-7.0.git] / static / css / style.css
index facab32828e9a40d53d14bfb707aa65e8d7ed7c3..cf1124d2677496fad2a3da65b785465b5020a485 100644 (file)
@@ -89,7 +89,7 @@ img {
     padding-right: 5px;
 }
 
-@media (--max-sm); {
+@media (--max-sm) {
     .navbar {
         position: absolute;
     }
@@ -104,19 +104,26 @@ img {
     height: 40px;
 }
 
+.tlogo {
+    height: 40px;
+    margin-bottom: -9px;
+    margin-left: -10px;
+    margin-right: -10px;
+}
+
 /* main */
 .container {
     width: 100%;
     min-height: 100vh;
     padding-top: 50px;
-    padding-bottom: 17rem;
+    padding-bottom: 17.5rem;
 }
 
 .main {
     margin: 2em auto;
     padding: 0 .75em;
     max-width: var(--max-width);
-    line-height: 1.4;
+    line-height: 1.8;
 }
 
 .main h1,
@@ -129,6 +136,10 @@ img {
     margin-top: .7em;
 }
 
+.artlist li {
+    margin-top: 0;
+}
+
 .main h1 + p,
 .main h2 + p,
 .main h3 + p,
@@ -151,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;
@@ -159,7 +192,33 @@ hr {
     background: var(--jumbotron-bg);
     box-shadow: 0 1px 5px rgba(0, 0, 0, 0.6);
     color: var(--jumbotron-text-color);
-    padding: 8em 0 4em 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 {
@@ -265,8 +324,12 @@ h1 {
     margin: 0;
 }
 
+.artlist ul {
+    padding: 0;
+    list-style-type: none;
+}
+
 .art-info {
-    line-height: 2.1;
     display: flex;
     flex-direction: row;
     flex-wrap: wrap;
@@ -284,19 +347,25 @@ h1 {
     margin-bottom: 1em;
 }
 
-.artlist {
+@media(--max-sm) {
+    .artlist .heading {
+        padding: 0 0.75em;
+    }
+}
+
+.artlist ul {
     max-width: var(--max-width);
-    margin: 0 auto;
+    margin: 2em auto;
     margin-top: .5em;
 }
 
-.artlist.heading {
-    margin: 8em auto 2em auto;
-    padding: 0 0.75em;
+.artlist li:not(:first-child) {
+    border-top: 1px solid var(--border-color);
 }
 
-.artlist .art-info:not(:first-child) {
-    border-top: 1px solid var(--border-color);
+.art-info .art {
+    font-weight: bold;
+    font-size: 120%;
 }
 
 .art-date {
@@ -309,10 +378,15 @@ h1 {
     font-variant-numeric: tabular-nums;
 }
 
+.artlist .art-date {
+    margin-bottom: .5em;
+}
+
 .art-nav {
     display: flex;
     flex-direction: row;
     justify-content: space-between;
+    flex-basis: 30%;
     width: 100%;
 }
 
@@ -373,11 +447,14 @@ h1 {
     color: var(--footer-text-color);
     width: 100%;
     box-shadow: 0 -3px 5px rgba(150,150,150,.36);
-    min-height: 15.5rem;
-
+    min-height: 15.4rem;
     padding: 3em 0;
 }
 
+.footer .fa-fw {
+    height: 14px;
+}
+
 .footer-container {
     display: flex;
     flex-wrap: wrap;
@@ -394,7 +471,7 @@ h1 {
 }
 
 .footerchild:last-child {
-    margin-bottom: 1em;
+    margin-bottom: .5em;
 }
 
 .footer-push {
@@ -426,22 +503,49 @@ 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 li a {
+        line-height: 1.8;
+    }
+    .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: 2.5rem;
+    }
+    .footerchild ul li img,
+    .footerchild ul li .fa-fw {
+        height: 2.5rem;
+    }
 }
 
 .footer h2, .footer h3 {
@@ -464,15 +568,15 @@ footer.copyright {
 footer.copyright div {
     display: flex;
     align-items: center;
-    height: 1.5rem;
-    line-height: 1.5rem;
+    height: 1.6rem;
+    line-height: 1.6rem;
     vertical-align: top;
 }
 
 .copyright * {
     margin: 0;
-    height: 1.5rem;
-    line-height: 1.5rem;
+    height: 1.6rem;
+    line-height: 1.6rem;
 }
 
 .copyright .fa {