Update fonts

This commit is contained in:
Ariejan de Vroom 2013-10-24 17:04:12 +02:00
parent 92ac3138f8
commit ee38c227f8
2 changed files with 17 additions and 10 deletions

View File

@ -2,21 +2,27 @@
@import "bootstrap"
@import "pygments"
@import url(http://fonts.googleapis.com/css?family=Roboto:400,400italic,700,700italic)
$text-color: #696969
$focus-color: $peterriver
body
color: $text-color
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif
// font-family: "Helvetica Neue", Helvetica, Arial, sans-serif
font-family: 'Roboto', sans-serif
font-weight: 400
line-height: 1.6em
-webkit-font-smoothing: antialiased
a, a:hover, a:active, a:visited
color: $focus-color
h1, h2, h3, h4, h5, h6
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif
font-weight: 200
// font-family: "Helvetica Neue", Helvetica, Arial, sans-serif
font-family: 'Roboto', sans-serif
font-weight: 400
-webkit-font-smoothing: antialiased
#header
border-top: 3px solid $focus-color
@ -100,11 +106,12 @@ h1, h2, h3, h4, h5, h6
margin-bottom: 20px
h2.title
margin-top: 0
margin-bottom: 10px
margin-bottom: 0
padding-bottom: 0
p.meta
margin-top: 20px
margin-top: 0
padding-top: 0
margin-bottom: 0
font-style: italic
color: lighten($text-color, 30%)
@ -113,13 +120,13 @@ h1, h2, h3, h4, h5, h6
h2.title
margin-top: 0
margin-bottom: 10px
margin-left: 72px
margin-left: 80px
font-size: 1.2em
span.meta
margin-left: -72px
margin-left: -80px
color: $text-color
font-size: 0.8em
font-size: 0.82em
padding-top: 0.2em
display: inline-block
float: left

View File

@ -7,8 +7,8 @@ title: blog
#posts
- sorted_articles[0..2].each do |article|
.post
%p.meta= get_pretty_date(article)
%h2.title= link_to article[:title], article.path, title: article[:title]
%p.meta= get_pretty_date(article)
%p.summary= article[:summary]
.row