/* vars */
:root {
--navbar-bg: white;
- --jumbotron-bg: rgba(75,235,74,.4);
- --footer-bg: 36,62,22;
+ --jumbotron-bg: 15,75,14;
+ --jumbotron-bg-fall: 65,225,64;
--copyright-bg: 0,0,0;
- --link-color: #428bca;
+ --link-color: 66,139,202;
+ --footer-link-color: 32,32,32;
--nlink-col: black;
--text-color: #333;
- --footer-text-color: #fff;
+ --footer-text-color: 255,255,255;
--border-color: 0,0,0;
--footer-border-color: 255,255,255;
--box-hover-color: #eee;
--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;
color: var(--text-color);
}
a {
- color: var(--link-color);
+ color: rgb(var(--link-color));
text-decoration: none;
}
-/* order */
-.jumbotron {
- order: 0;
-}
-.navkinks {
- order:1;
-}
-.main {
- order: 2;
-}
-
/* navbar */
.navbar {
width: 100%;
/* 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;
margin-right: 0;
- display: flex;
- 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);
+ color: white;
flex-basis: 100%;
-webkit-border-bottom-right-radius: var(--box-round);
-webkit-border-bottom-left-radius: var(--box-round);
/* footer */
.footer {
- background: rgb(var(--footer-bg));
- color: var(--footer-text-color);
- width: device-width;
- margin: 0;
- padding: 0;
+ background: rgba(var(--jumbotron-bg),.6);
+ color: rgba(var(--footer-text-color),.9);
+ margin-top: 1em;
display: flex;
flex-wrap: nowrap;
justify-content: space-between;
align-items: flex-start;
-/* -webkit-border-top-left-radius: var(--box-round);
- -webkit-border-top-right-radius: var(--box-round);
- -moz-border-radius-topleft: var(--box-round);
- -moz-border-radius-topright: var(--box-round);
- border-top-left-radius: var(--box-round);
- border-top-right-radius: var(--box-round);*/
+ box-shadow: 0 -3px 5px rgba(0,0,0, 0.36);
+
+}
+.footerchild h2 {
+ margin-top: 1em;
+}
+.footer a {
+ color: rgb(var(--footer-link-color));
}
@media all and (max-width: 500px) {
.footer {
margin: 0;
}
.copyright {
+ display: flex;
+ flex-wrap: nowrap;
+ justify-content: space-between;
+ align-items: center;
background: rgba(var(--copyright-bg),.5);
- height: 50px;
+ height: 31px;
+ color: rgba(var(--footer-text-color),.9);
+}
+a.copyright {
+ background: rgba(var(--copyright-bg),.5);
+ padding: 0;
+ margin: 0;
}
\ No newline at end of file