Skip to content

Commit

Permalink
Use PT serif/sans.
Browse files Browse the repository at this point in the history
For consistency with other CERN sites.
  • Loading branch information
alexpearce committed May 13, 2016
1 parent ae912be commit 2468c1b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">

<link href='https://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|PT+Serif:400,400italic,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
<link rel="stylesheet" href="//code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
Expand Down
5 changes: 5 additions & 0 deletions _sass/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ body {
}


h1, h2, h3, h4, h5, h6 {
font-family: $header-font-family;
}



/**
* Set `margin-bottom` to maintain vertical rhythm
Expand Down
3 changes: 2 additions & 1 deletion css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@


// Our variables
$base-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
$base-font-family: "PT serif", "Helvetica Neue", Helvetica, Arial, serif;
$header-font-family: "PT sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
$base-font-size: 18px;
$base-font-weight: 400;
$small-font-size: $base-font-size * 0.875;
Expand Down

0 comments on commit 2468c1b

Please sign in to comment.