2015-08-08 06:48:03 -07:00

208 lines
2.4 KiB
CSS
Executable File

@import url("normalize.css");
@import url("fonts.css");
/**
* Base
*/
html {
font-size: 1.125em;
}
body {
font-family: "Borgia Pro", serif;
font-weight: 400;
line-height: 1.45;
color: #212121;
background-color: #eeeeee;
}
p {
margin-bottom: 1.3em;
}
h1,
h2,
h3,
h4,
h5 {
margin: 1.414em 0 0.5em;
line-height: 1.2;
font-weight: normal;
text-rendering: optimizeLegibility;
}
h1 {
margin-top: 0;
font-size: 2.441em;
}
h2 {
font-size: 1.953em;
font-style: italic;
color: #616161;
}
h3 {
font-size: 1.563em;
text-decoration: none;
}
h4 {
font-size: 1.25em;
color: #616161;
font-style: italic;
}
h5 {
font-size: 1.222em;
text-transform: uppercase;
color: #616161;
/* TODO: Get rid of this. */
padding: 10px 1.333em 10px 46px;
}
small {
font-size: 0.8em;
}
a {
color: #9b2621;
cursor: pointer;
}
a:hover {
color: #e83b3c;
}
img,
iframe {
max-width: 100%;
}
address {
font-style: normal;
}
/* Phone links */
span.gc-cs-link {
color: #212121;
}
nav dl a {
text-decoration: none;
display: block;
font-weight: 800;
color: #212121;
padding: 10px 1.333em 10px 46px;
}
nav dl a:hover {
background-color: #e1dec5;
color: #9b2621;
}
/**
* Layout
*/
aside {
min-height: 100%;
padding-top: 2.778em;
width: 13.889em;
border-left: 3.333em solid #fafafa;
position: fixed;
text-align: center;
background-color: #fefddf;
}
header,
article {
max-width: 60ch;
}
main {
margin: 0 0 0 310px;
padding: 1.333em 3.333em;
max-width: 43.333em;
background-color: #fafafa;
min-height: 100%;
}
nav h5 {
text-align: left;
}
dl {
text-align: left;
}
/**
* Module
*/
#mobile-nav-bar {
height: 42px;
position: fixed;
top: 0;
display: none;
left: 0;
z-index: 10;
}
.hamburger-button {
display: inline;
vertical-align: middle;
height: 35px;
margin: 4px 6px;
z-index: 11;
cursor: pointer;
}
/**
* State
*/
.is-hidden {
display: none;
}
.is-shown {
display: block;
}
.is-current {
background-color: #ffecb3;
color: #9b2621;
}
/**
* Responsive
*/
@media only screen and (max-width: 60em) {
aside {
border-left: none;
padding-top: 92px;
box-shadow: 2px 0 3px #cccccc;
display: none;
}
#mobile-nav-bar {
display: block;
}
main {
margin: auto;
position: static;
padding: 3.333em;
}
}