]> jfr.im git - irc/freenode/web-7.0.git/blobdiff - static/css/style.css
Merge pull request #116 from tinyhippw/tinyhippo-whitespace
[irc/freenode/web-7.0.git] / static / css / style.css
index afc1b97ebec2ee726dba2030a8388038fe1d02b8..3893d8543d62f2a95b54ffdeb7b98de388739e82 100644 (file)
@@ -32,7 +32,7 @@
     --box-round:       10px;
 
     /* other */
-    --max-width:     600px;
+    --max-width:     1200px;
     --max-width-box: 800px;
     --margin-box-fa: 5px;
 }
@@ -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: 98vh;
-    padding-bottom: 11.5rem;
+    min-height: 100vh;
+    padding-top: 50px;
+    padding-bottom: 12.5rem;
 }
 
 .main {
-    margin: 0 auto;
-    margin-top: 3.75em;
+    margin: 2em auto;
     padding: 0 .75em;
     max-width: var(--max-width);
-    line-height: 1.4;
+    line-height: 1.8;
 }
 
 .main h1,
@@ -141,6 +148,11 @@ ul {
     list-style-type: disc;
 }
 
+ol {
+    padding-left: 2em;
+    list-style-type: decimal;
+}
+
 hr {
     margin-top: .8em;
     margin-bottom: .8em;
@@ -150,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: 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 {
@@ -191,7 +229,7 @@ hr {
     background-color: var(--box-hover-color);
 }
 
-.box div{
+.box span {
     position: relative;
     top: initial;
     font-size: 20px;
@@ -205,7 +243,7 @@ hr {
     margin-top: var(--margin-box-fa);
 }
 
-.fa-comment,.fa-question {
+.fa-comments,.fa-question {
     margin-bottom: var(--margin-box-fa);
 }
 
@@ -237,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 {
@@ -260,7 +299,7 @@ h1 {
 }
 
 .art-info {
-    line-height: 1.6;
+    margin-top: 2.1em;
     display: flex;
     flex-direction: row;
     flex-wrap: wrap;
@@ -284,6 +323,11 @@ 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);
 }
@@ -353,18 +397,16 @@ h1 {
 /* 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;
 }
 
@@ -384,7 +426,7 @@ h1 {
 }
 
 .footerchild:last-child {
-    margin-bottom: 1em;
+    margin-bottom: .5em;
 }
 
 .footer-push {
@@ -416,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 {