Hosts fonts locally

closes #34
This commit is contained in:
Samuel Ryan 2015-11-12 16:05:20 +00:00
parent 6c626ee46a
commit db4119d9ea
4 changed files with 15 additions and 2 deletions

BIN
contents/open-sans-regular.woff Executable file

Binary file not shown.

BIN
contents/source-code-pro-700.woff Executable file

Binary file not shown.

View File

@ -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;
@ -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;
}

View File

@ -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