Skip to content

Commit

Permalink
Hosts fonts locally
Browse files Browse the repository at this point in the history
closes #34
  • Loading branch information
shrink committed Nov 12, 2015
1 parent 6c626ee commit db4119d
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
Binary file added contents/open-sans-regular.woff
Binary file not shown.
Binary file added contents/source-code-pro-700.woff
Binary file not shown.
16 changes: 15 additions & 1 deletion contents/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@ $container-width: 528px;

@import "../bower_components/Skeleton-Sass/scss/skeleton.scss";

@font-face {
font-family: 'Open Sans';
font-weight: 400;
font-style: normal;
src: url('open-sans-regular.woff') format('woff');
}

@font-face {
font-family: 'Source Code Pro';
font-weight: 700;
font-style: normal;
src: url('source-code-pro-700.woff') format('woff');
}

.container {
margin: auto;
max-width: $container-width;
Expand Down Expand Up @@ -37,8 +51,8 @@ a[href^='https://www.runscope.com'] {

h1, h2, h3, h4, h5, h6 {
color: #333;
font-family: 'Montserrat', sans-serif;
font-size: 20px;
font-weight: bold;
margin-bottom: 8px;
}

Expand Down
1 change: 0 additions & 1 deletion templates/layout.jade
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ html(lang="en")
title #{title} — httpstatuses.com
link(rel='shortcut icon', href='/' + fingerprint['favicon.ico'], type='image/x-icon')
link(rel='stylesheet', href='/' + fingerprint['style.css'])
link(rel='stylesheet', href='https://fonts.googleapis.com/css?family=Montserrat|Open+Sans|Source+Code+Pro:700', type='text/css')
meta(name='viewport', content='width=device-width, initial-scale=1.0')
meta(charset='utf-8')
body
Expand Down

0 comments on commit db4119d

Please sign in to comment.