add self-hosted font
This commit is contained in:
parent
c0fe44e453
commit
e071052d57
@ -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');
|
||||
}
|
6
scss/utilities/fonts.scss
Normal file
6
scss/utilities/fonts.scss
Normal 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');
|
||||
}
|
@ -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';
|
||||
|
BIN
src/fonts/ubuntu/ubuntu.woff2
Normal file
BIN
src/fonts/ubuntu/ubuntu.woff2
Normal file
Binary file not shown.
@ -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>
|
||||
|
@ -1,2 +1 @@
|
||||
<!-- References to TypeKit, etc go here -->
|
||||
<link href="https://fonts.googleapis.com/css?family=Didact+Gothic|Ubuntu:500" rel="stylesheet">
|
Reference in New Issue
Block a user