color: #333;
text-shadow: none; /* Prevent inheritence from `body` */
background-color: #fff;
- border: 1px solid #fff;
+ border: .05rem solid #fff;
}
body {
color: #fff;
text-align: center;
- text-shadow: 0 1px 3px rgba(0,0,0,.5);
+ text-shadow: 0 .05rem .1rem rgba(0,0,0,.5);
}
/* Extra markup and styles for table-esque vertical and horizontal centering */
width: 100%;
height: 100%; /* For at least Firefox */
min-height: 100%;
- -webkit-box-shadow: inset 0 0 100px rgba(0,0,0,.5);
- box-shadow: inset 0 0 100px rgba(0,0,0,.5);
+ -webkit-box-shadow: inset 0 0 5rem rgba(0,0,0,.5);
+ box-shadow: inset 0 0 5rem rgba(0,0,0,.5);
}
.site-wrapper-inner {
display: table-cell;
/* Padding for spacing */
.inner {
- padding: 30px;
+ padding: 2rem;
}
/*
* Header
*/
-.masthead-brand {
- margin-top: 10px;
- margin-bottom: 10px;
-}
-.masthead-nav > li {
- display: inline-block;
+.masthead {
+ margin-bottom: 2rem;
}
-.masthead-nav > li + li {
- margin-left: 20px;
+
+.masthead-brand {
+ margin-bottom: 0;
}
-.masthead-nav > li > a {
- padding-right: 0;
- padding-left: 0;
- font-size: 16px;
+
+.nav-masthead .nav-link {
+ padding: .25rem 0;
font-weight: bold;
- color: #fff; /* IE8 proofing */
- color: rgba(255,255,255,.75);
- border-bottom: 2px solid transparent;
-}
-.masthead-nav > li > a:hover,
-.masthead-nav > li > a:focus {
+ color: rgba(255,255,255,.5);
background-color: transparent;
- border-bottom-color: #a9a9a9;
- border-bottom-color: rgba(255,255,255,.25);
+ border-bottom: .25rem solid transparent;
}
-.masthead-nav > .active > a,
-.masthead-nav > .active > a:hover,
-.masthead-nav > .active > a:focus {
+
+.nav-masthead .nav-link + .nav-link {
+ margin-left: 1rem;
+}
+
+.nav-masthead .active {
color: #fff;
border-bottom-color: #fff;
}
-@media (min-width: 768px) {
+@media (min-width: 48em) {
.masthead-brand {
float: left;
}
- .masthead-nav {
+ .nav-masthead {
float: right;
}
}
*/
.cover {
- padding: 0 20px;
+ padding: 0 1.5rem;
}
.cover .btn-lg {
- padding: 10px 20px;
+ padding: .75rem 1.25rem;
font-weight: bold;
}
*/
.mastfoot {
- color: #999; /* IE8 proofing */
color: rgba(255,255,255,.5);
}
* Affix and center
*/
-@media (min-width: 768px) {
+@media (min-width: 40em) {
/* Pull out the header and footer */
.masthead {
position: fixed;
}
}
-@media (min-width: 992px) {
+@media (min-width: 62em) {
.masthead,
.mastfoot,
.cover-container {
- width: 700px;
+ width: 42rem;
}
}