]> jfr.im git - irc/freenode/web-7.0.git/blobdiff - static/css/style.css
tidying
[irc/freenode/web-7.0.git] / static / css / style.css
index 9d45f0918dd99070e51d803d056ddf567e4a8223..23222026c844bf233eeaa7c5b5f9b443926e9d37 100644 (file)
@@ -1,13 +1,5 @@
 /* vars */
 
-:root {
-  /*--jumbotron-bg: 15,75,14;*/
-  /*--jumbotron-bg: rgba(75,235,74,.4);*/
-  /*--footer-link-color: 255,255,255;*/
-  /*--footer-text-color: 255,255,255;*/
-  /*--footer-border-color: 255,255,255;*/
-}
-
 /* reset css for browser compat */
 
 * {
@@ -72,7 +64,9 @@ a {
   -webkit-justify-content: space-around;
   -ms-flex-pack: distribute;
   justify-content: space-around;
-  fkex-wrap: nowrap;
+  -webkit-flex-wrap: nowrap;
+  -ms-flex-wrap: nowrap;
+  flex-wrap: nowrap;
 }
 
 .nlink {
@@ -85,12 +79,13 @@ a {
 .container {
   padding: 50px 0 0;
   width: 100%;
-  min-height: 70vh;
+  min-height: 68vh;
 }
 
 .main {
   margin-left: .5em;
   margin-top: 1em;
+  margin-bottom: 1em;
 }
 
 /* jumbotron */
@@ -100,7 +95,7 @@ a {
   width: 100%;
   margin-top: -16px;
   background: #000;
-  background: rgb(238,238,238);
+  background: #eee;
   box-shadow: 0 3px 5px rgba(150,150,150,.36);
   color: #333;
 }
@@ -137,7 +132,6 @@ a {
   -webkit-flex-basis: 30%;
   -ms-flex-preferred-size: 30%;
   flex-basis: 30%;
-  border: 1px solid rgba(0,0,0, 0.39);
   background-color: #fff;
   border-radius: 10px;
   -webkit-border-radius: 10px;
@@ -260,10 +254,14 @@ a.hchild:active {
 
 /* footer */
 
+.footers {
+  min-height: 30vh;
+}
+
 .footer {
-  background: rgb(238,238,238);
+  background: #eee;
   color: rgba(51,51,51,.9);
-  margin-top: 0em;
+  margin-top: 2vh;
   display: -webkit-box;
   display: -webkit-flex;
   display: -ms-flexbox;
@@ -271,7 +269,7 @@ a.hchild:active {
   -webkit-flex-wrap: nowrap;
   -ms-flex-wrap: nowrap;
   flex-wrap: nowrap;
-  min-height: 30vh;
+  min-height: 27vh;
   -webkit-box-pack: justify;
   -webkit-justify-content: space-between;
   -ms-flex-pack: justify;
@@ -291,6 +289,11 @@ a.hchild:active {
   color: #000;
 }
 
+.footer h2 {
+  margin-bottom: 9px;
+  display: inline-block;
+}
+
 .footerchild ul,
 .footerchild ul ul {
   margin-left: 10px;
@@ -313,11 +316,6 @@ a.hchild:active {
 
   .footerchild {
     width: 100%;
-    border-bottom: 1px solid rgba(51,51,51,.5);
-  }
-
-  .footerchild:last-child {
-    border: none;
   }
 
   .footerchild ul li:last-child {
@@ -340,9 +338,6 @@ a.hchild:active {
   display: -webkit-flex;
   display: -ms-flexbox;
   display: flex;
-  position: fixed;
-  bottom: 0;
-  width: 100vw;
   -webkit-flex-wrap: nowrap;
   -ms-flex-wrap: nowrap;
   flex-wrap: nowrap;
@@ -355,7 +350,7 @@ a.hchild:active {
   -ms-flex-align: center;
   align-items: center;
   background: rgba(170,178,171,.5);
-  height: 31px;
+  height: 3vh;
   color: rgba(0,0,0,.8);
 }
 
@@ -365,4 +360,29 @@ a.copyright {
   margin-top: 0;
   margin-left: .5em;
   margin-right: .5em;
+  width: auto;
+  height: auto;
+}
+
+.copyright a img {
+  height: 3vh;
+  width: auto;
+}
+
+.copyright p {
+  margin-bottom: 0;
+  margin-top: 0;
+  margin-left: .5em;
+  margin-right: .5em;
+  text-align: right;
+}
+
+@media all and (max-width: 500px) {
+  .copyright {
+    height: 5vh;
+  }
+
+  .copyright a img {
+    height: 5vh;
+  }
 }
\ No newline at end of file