X-Git-Url: https://jfr.im/git/irc/freenode/web-7.0.git/blobdiff_plain/72f859a626d6a06126dcc8ddbbcb1187c1616e33..d645b495e0052c771621f8b0a8ba0d6ed0bec338:/css/mock1.css diff --git a/css/mock1.css b/css/mock1.css index d87fc7b6b..cd7a297d4 100644 --- a/css/mock1.css +++ b/css/mock1.css @@ -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; @@ -13,6 +15,13 @@ --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