From ee38c227f86d5370778a981d7d331281bea6f4cf Mon Sep 17 00:00:00 2001 From: Ariejan de Vroom Date: Thu, 24 Oct 2013 17:04:12 +0200 Subject: [PATCH] Update fonts --- content/css/screen.sass | 25 ++++++++++++++++--------- content/index.haml | 2 +- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/content/css/screen.sass b/content/css/screen.sass index 2a4d4c6..480a31e 100644 --- a/content/css/screen.sass +++ b/content/css/screen.sass @@ -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 diff --git a/content/index.haml b/content/index.haml index dc76596..c871fb6 100644 --- a/content/index.haml +++ b/content/index.haml @@ -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