Further work on the homepage

This commit is contained in:
Tetsuro
2015-01-27 15:06:23 -05:00
parent fe4253f872
commit 1fad0e2638
5 changed files with 110 additions and 118 deletions
+54 -17
View File
@@ -77,23 +77,60 @@ a {
}
}
/** Wrapper */
.wrapper {
max-width: $content-width;
margin-right: auto;
margin-left: auto;
padding-right: $spacing-unit;
padding-left: $spacing-unit;
@extend %clearfix;
h1 {
font-size: 2em;
}
/** Clearfix */
%clearfix {
&:after {
content: "";
display: table;
clear: both;
}
h2 {
font-size: 2em;
text-decoration: underline;
}
h3 {
font-size: 1.5em;
}
h4 {
font-size: 1.5em;
text-decoration: underline;
}
blockquote {
color: lighten($color-slate, 20);
border-left: 2px solid lighten($color-slate, 20);
padding-left: $spacing-unit / 2;
letter-spacing: -1px;
font-style: italic;
> :last-child {
margin-bottom: 0;
}
}
pre, code {
font-size: 15px;
border: 1px solid $color-blue-2;
border-radius: 3px;
background-color: lighten($color-blue-1, 0.9);
}
code {
padding: 1px 5px;
}
pre {
padding: 8px 12px;
> code {
border: 0;
padding-right: 0;
padding-left: 0;
}
}
hr {
display: block;
height: 1px;
border: 0;
background-color: lighten($color-slate, 40%);
}