add self-hosted font

This commit is contained in:
czmj 2017-08-31 15:02:50 +01:00
parent c0fe44e453
commit e071052d57
12 changed files with 12 additions and 17 deletions

View File

@ -1,10 +0,0 @@
@font-face {
font-weight: normal;
font-style: normal;
font-family: 'Larsseit';
src:url('#{$directory-fonts}/Larsseit/Larsseit.eot?-gfwsty');
src:url('#{$directory-fonts}/Larsseit/Larsseit.eot?#iefix-gfwsty') format('embedded-opentype'),
url('#{$directory-fonts}/Larsseit/Larsseit.ttf?-gfwsty') format('truetype'),
url('#{$directory-fonts}/Larsseit/Larsseit.woff?-gfwsty') format('woff'),
url('#{$directory-fonts}/Larsseit/Larsseit.svg?-gfwsty#Larsseit') format('svg');
}

View File

@ -0,0 +1,6 @@
@font-face {
font-weight: $font-weight-regular;
font-style: normal;
font-family: 'Ubuntu';
src: url('#{$directory-fonts}/ubuntu/Ubuntu-Light.ttf') format('truetype');
}

View File

@ -35,8 +35,8 @@ $retina-query: (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi);
$max-width: $xl;
// Colors
$brand-color-a: #222222;
$brand-color-b: #fefefe;
$brand-color-a: #333333;
$brand-color-b: #eeeeee;
$brand-white: #FFF;
$brand-black: #000;
@ -50,11 +50,11 @@ $vr: $vertical-rhythm;
// Typography
$font-family-sans-serif: 'Didact Gothic', Helvetica, Arial, sans-serif;
$font-family-sans-serif: 'Ubuntu', Helvetica, Arial, sans-serif;
$font-family-serif: 'Georgia Pro', Georgia, Times, serif;
$font-family-mono: 'Anonymous Pro', 'Droid Sans Mono', 'DejaVu Sans Mono', Monaco, Consolas, 'Lucida Console', Courier, monospace;
$font-family-base: $font-family-sans-serif;
$font-family-heading: 'Ubuntu', $font-family-sans-serif;
$font-family-heading: $font-family-sans-serif;
$icon-font: 'icomoon';
$directory-fonts: './fonts';

Binary file not shown.

View File

@ -18,7 +18,7 @@
<p class="h4">
<a href="mailto:autonomic@posteo.net">
<i class="icon icon--envelope" aria-hidden="true"></i>
<i class="icon icon--envelope-o" aria-hidden="true"></i>
autonomic@posteo.net
</a>
</p>

View File

@ -1,2 +1 @@
<!-- References to TypeKit, etc go here -->
<link href="https://fonts.googleapis.com/css?family=Didact+Gothic|Ubuntu:500" rel="stylesheet">