2014-06-01 21:31:39 +00:00
2014-02-07 00:18:00 +00:00
//
// IMPORTS
//
@import " _reset " ;
@import " _variables " ;
2014-02-07 13:35:17 +00:00
@import " _highlights " ;
// TODO - Tempted to move this to the end of the file, so that it shows up at the end of the .css. Or remove it entirely and find a better way to include highlighting.
2014-02-07 00:18:00 +00:00
2014-06-01 22:04:41 +00:00
/ * /
/ * BASE RULES
/ * /
2014-02-07 00:18:00 +00:00
html {
font-size : 100 % ;
}
body {
background : $white ;
font : 18 px / 1 .4 $helvetica ;
color : $darkGray ;
}
2014-05-17 20:35:19 +00:00
. container {
margin : 0 auto ;
max-width : 740 px ;
2014-05-17 23:35:15 +00:00
//padding: 0 20px;
2014-05-17 20:35:19 +00:00
width : 100 % ;
}
2014-02-13 01:42:49 +00:00
h1 , h2 , h3 , h4 , h5 , h6 {
2014-02-07 00:18:00 +00:00
font-family : $helveticaNeue ;
color : $darkerGray ;
2014-02-18 01:34:55 +00:00
font-weight : 500 ;
2014-02-07 00:18:00 +00:00
line-height : 1 .7 ;
2014-02-13 01:42:49 +00:00
margin : 1 em 0 15 px ;
2014-02-07 00:18:00 +00:00
padding : 0 ;
2014-05-28 00:58:58 +00:00
@include mobile {
line-height : 1 .4 ;
}
2014-02-07 00:18:00 +00:00
}
2014-02-13 01:42:49 +00:00
2014-02-07 00:18:00 +00:00
h1 {
2014-02-18 01:34:55 +00:00
font-weight : 400 ;
2014-04-30 13:29:05 +00:00
font-size : 32 px ;
a {
color : inherit ;
}
2014-02-07 00:18:00 +00:00
}
h2 {
2014-02-18 01:34:55 +00:00
font-size : 22 px ;
2014-02-07 00:18:00 +00:00
}
2014-05-28 00:56:19 +00:00
h3 {
2014-02-18 01:34:55 +00:00
font-size : 18 px ;
font-weight : 600 ;
}
2014-05-28 00:56:19 +00:00
h4 {
2014-02-18 01:34:55 +00:00
font-size : 18 px ;
color : $gray ;
font-weight : 600 ;
2014-02-07 00:18:00 +00:00
}
p {
margin : 15 px 0 ;
}
a {
2014-06-01 21:24:06 +00:00
color : $blue ;
2014-02-07 00:18:00 +00:00
text-decoration : none ;
cursor : pointer ;
2014-02-11 14:11:56 +00:00
& : hover , &: active {
2014-06-01 21:24:06 +00:00
color : $blue ;
2014-02-07 00:18:00 +00:00
}
}
2014-02-18 01:34:55 +00:00
ul , ol {
margin : 15 px 0 ;
2014-02-07 00:18:00 +00:00
padding-left : 30 px ;
2014-02-18 01:34:55 +00:00
}
ul {
2014-02-07 00:18:00 +00:00
list-style-type : disc ;
}
2014-02-18 01:34:55 +00:00
ol {
list-style-type : decimal ;
}
ol ul , ul ol , ul ul , ol ol {
margin : 0 ;
}
ul ul , ol ul {
list-style-type : circle ;
}
em {
font-style : italic ;
}
strong {
font-weight : 600 ;
}
2014-02-13 01:42:49 +00:00
img {
max-width : 100 % ;
}
2014-02-18 01:34:55 +00:00
. date {
font-style : italic ;
color : $gray ;
}
2014-02-07 00:18:00 +00:00
// Specify the color of the selection
: : -moz-selection {
color : $black ;
background : $lighterGray ;
}
: : selection {
color : $black ;
background : $lighterGray ;
}
2014-06-01 21:12:38 +00:00
// Nicolas Gallagher's micro clearfix hack
// http://nicolasgallagher.com/micro-clearfix-hack/
. clearfix : before ,
. clearfix : after {
content : " " ;
display : table ;
}
. clearfix : after {
clear : both ;
}
2014-02-07 00:18:00 +00:00
2014-06-01 22:04:41 +00:00
/ * /
/ * LAYOUT / SECTIONS
/ * /
2014-02-07 00:18:00 +00:00
2014-02-17 15:07:14 +00:00
//
// .masthead
//
2014-05-17 20:35:19 +00:00
. wrapper-masthead {
2014-05-18 23:13:54 +00:00
margin-bottom : 40 px ;
2014-05-17 20:35:19 +00:00
}
2014-02-17 15:07:14 +00:00
. masthead {
2014-05-18 23:13:54 +00:00
padding : 20 px 0 ;
2014-05-23 13:12:34 +00:00
border-bottom : 1 px solid $lighterGray ;
2014-06-01 21:12:38 +00:00
2014-05-17 23:35:15 +00:00
@include mobile {
text-align : center ;
}
2014-02-17 15:07:14 +00:00
}
2014-06-01 21:12:38 +00:00
. site-avatar {
2014-02-07 00:18:00 +00:00
float : left ;
2014-04-30 13:18:14 +00:00
width : 70 px ;
2014-05-18 23:30:00 +00:00
height : 70 px ;
2014-04-30 13:18:14 +00:00
margin-right : 15 px ;
2014-05-17 23:35:15 +00:00
@include mobile {
float : none ;
display : block ;
margin : 0 auto ;
}
img {
border-radius : 5 px ;
}
2014-02-17 15:07:14 +00:00
}
2014-06-01 21:12:38 +00:00
. site-info {
2014-02-17 15:07:14 +00:00
float : left ;
@include mobile {
2014-05-17 23:35:15 +00:00
float : none ;
display : block ;
2014-06-01 21:12:38 +00:00
margin : 0 auto ;
2014-02-17 15:07:14 +00:00
}
2014-06-01 21:12:38 +00:00
}
2014-02-17 15:07:14 +00:00
2014-06-01 21:12:38 +00:00
. site-name {
margin : 0 ;
color : $darkGray ;
2014-02-17 15:07:14 +00:00
cursor : pointer ;
2014-06-01 21:12:38 +00:00
font-family : $helveticaNeue ;
font-weight : 300 ;
font-size : 28 px ;
letter-spacing : 1 px ;
2014-02-07 00:18:00 +00:00
}
2014-02-17 15:07:14 +00:00
. site-description {
2014-06-01 21:12:38 +00:00
margin : - 5 px 0 0 0 ;
2014-05-23 13:12:34 +00:00
color : #777 ;
2014-06-01 21:12:38 +00:00
font-size : 16 px ;
2014-05-17 23:35:15 +00:00
@include mobile {
margin : 3 px 0 ;
}
2014-02-13 01:42:49 +00:00
}
2014-02-07 00:18:00 +00:00
nav {
float : right ;
2014-06-01 21:12:38 +00:00
margin-top : 23 px ; // @TODO: Vertically middle align
2014-02-07 00:18:00 +00:00
font-family : $helveticaNeue ;
2014-02-18 01:34:55 +00:00
font-size : 18 px ;
2014-06-01 21:12:38 +00:00
2014-02-07 00:18:00 +00:00
@include mobile {
2014-05-17 23:35:15 +00:00
float : none ;
2014-06-01 21:31:39 +00:00
margin-top : 9 px ;
2014-06-01 21:12:38 +00:00
display : block ;
2014-05-17 23:35:15 +00:00
font-size : 16 px ;
2014-02-07 00:18:00 +00:00
}
a {
margin-left : 25 px ;
2014-06-01 21:12:38 +00:00
color : $darkGray ;
2014-02-07 00:18:00 +00:00
text-align : right ;
font-weight : 300 ;
letter-spacing : 1 px ;
2014-06-01 21:31:39 +00:00
2014-05-17 23:35:15 +00:00
@include mobile {
margin : 0 10 px ;
2014-06-01 21:31:39 +00:00
color : $blue ;
2014-05-17 23:35:15 +00:00
}
2014-02-07 00:18:00 +00:00
}
}
2014-02-17 15:07:14 +00:00
//
// .main
//
2014-02-13 01:42:49 +00:00
. posts > . post {
padding-bottom : 2 em ;
border-bottom : 1 px solid $lighterGray ;
}
2014-02-07 00:18:00 +00:00
2014-05-28 00:49:02 +00:00
. posts > . post : last-child {
padding-bottom : 1 em ;
border-bottom : none ;
}
2014-02-13 01:42:49 +00:00
. post {
2014-02-07 00:18:00 +00:00
blockquote {
margin : 1 .8 em .8 em ;
2014-06-01 21:12:38 +00:00
border-left : 2 px solid $gray ;
2014-02-07 00:18:00 +00:00
padding : 0 .1 em 1 em ;
color : $gray ;
2014-06-01 21:12:38 +00:00
font-size : 22 px ;
font-style : italic ;
2014-02-07 00:18:00 +00:00
}
}
2014-05-17 20:35:19 +00:00
. wrapper-footer {
2014-05-17 23:35:15 +00:00
margin-top : 50 px ;
2014-05-17 20:35:19 +00:00
border-top : 1 px solid #ddd ;
2014-06-01 21:12:38 +00:00
background-color : #eee ;
2014-05-17 20:35:19 +00:00
}
2014-02-07 00:18:00 +00:00
footer {
2014-02-18 01:34:55 +00:00
padding : 20 px 0 ;
2014-04-30 22:16:38 +00:00
text-align : center ;
2014-06-01 21:31:39 +00:00
}