]> jfr.im git - irc/freenode/web-7.0.git/blobdiff - css/mock1.css
Merging m1 and m2 in a way
[irc/freenode/web-7.0.git] / css / mock1.css
index d87fc7b6b42387951a38553dcfc6ce9d62ff0c69..cd7a297d440eab704b1e34f231f97dc258618b80 100644 (file)
@@ -1,10 +1,12 @@
 /* vars */
 :root {
   --navbar-bg: white;
-  --nlink-col: black;
-  --jumbotron-bg: rgba(75,235,74,.4);
+  --jumbotron-bg: 15,75,14;
+  --jumbotron-bg-fall: 65,225,64;
   --footer-bg: 36,62,22;
+  --copyright-bg: 0,0,0;
   --link-color: #428bca;
+  --nlink-col: black;
   --text-color: #333;
   --footer-text-color: #fff;
   --border-color: 0,0,0;
   --box-round: 10px;
 }
 
+/* reset css for browser compat */
+* {
+    margin: 0;
+    padding: 0;
+    box-sizing: border-box;
+}
+
 /* global */
 body {
   font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
@@ -65,10 +74,7 @@ a {
 
 /* main */
 .container {
-  margin-top: 51px;
-  margin-left: 0;
-  margin-right: 0;
-  margin-bottom: 0;
+  margin: 50px 0 0 0;
   padding: 0;
   width: 100%; 
   margin-left: 0;
@@ -77,12 +83,18 @@ a {
   flex-direction: column;
   fkex-wrap: wrap;
   justify-content: space-between;
+  min-height: 100%;
 }
 
 /* jumbotron */
 .jumbotron {
-  background: var(--jumbotron-bg);
+  position: relative;
+  border-bottom: 1px solid #888;
   width: 100%;
+  background: rgb(var(--jumotron-bg-fall));
+  background: rgba(var(--jumbotron-bg),.6);
+  box-shadow: 0 3px 5px rgba(0,0,0, 0.36);
+  
   flex-basis: 100%;
   -webkit-border-bottom-right-radius: var(--box-round);
   -webkit-border-bottom-left-radius: var(--box-round);
@@ -219,6 +231,9 @@ a.hchild:active {
     width: 100%;
     border-bottom: 1px solid rgba(var(--footer-border-color),.5);
   }
+  .footerchild:last-child {
+  border: none;
+  }
 }
 .footerchild ul,
 .footerchild ul ul {
@@ -234,4 +249,8 @@ margin: 0;
 }
 .footer .footerchild p {
   margin: 0;
+}
+.copyright {
+  background: rgba(var(--copyright-bg),.5);
+  height: 50px;
 }
\ No newline at end of file