Skip to content
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.

Commit

Permalink
Start experimenting with web fonts
Browse files Browse the repository at this point in the history
We decided in #5 to use Ideal Sans. I found it unsuitable for large
swaths of body text like we have here on BG. Here I'm trying out the
expansive Surveyor for body text.
  • Loading branch information
chadwhitacre committed May 5, 2014
1 parent 0b60d91 commit 53097dc
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 2 deletions.
1 change: 1 addition & 0 deletions scss/bottom-nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
left: 0;
background: url("/assets/hero-bg.png");
border-top: 1px solid #dddddd;
font-family: "Ideal Sans SSm A", "Ideal Sans SSm B";

ul {
list-style: none;
Expand Down
21 changes: 21 additions & 0 deletions scss/overrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,24 @@ iframe {
&.green { background: $green; }
&.brown { background: $brown; }
}

h1 {
font: normal 36px/42px 'Ideal Sans SSm A', 'Ideal Sans SSm B' ! important;
font-weight: 700 ! important;
text-transform: none ! important;
color: $brown ! important;
}

h2 {
font: normal 20px/26px 'Ideal Sans SSm A', 'Ideal Sans SSm B' ! important;
font-weight: 700 ! important;
margin-bottom: 96px 0 32px ! important;
color: $brown ! important;
text-transform: uppercase ! important;
}

body {
font: normal 20px/30px 'Surveyor SSm A', 'Surveyor SSm B';
font-weight: 300;
color: $black;
}
4 changes: 2 additions & 2 deletions templates/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
<meta property="og:description" content="Documentation for people building Gittip." />
<meta property="og:title" content="Building Gittip" />

<link rel="stylesheet" type="text/css"
href="https://assets-gittipllc.netdna-ssl.com/reset.css">
<link rel="stylesheet" type="text/css"
href="/assets/{{ website.version }}/building.gittip.css">
<link rel="stylesheet" type="text/css"
href="//cloud.typography.com/6540672/682244/css/fonts.css" />

</head>
<body>
Expand Down
2 changes: 2 additions & 0 deletions www/index.spt
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ Welcome! This website is for people building [Gittip](https://www.gittip.com/).

First time? Start at ... [the beginning](/big-picture)! :-)

## Table of Contents

{{ toc(nav_current) }}

0 comments on commit 53097dc

Please sign in to comment.