Skip to content

Commit bf7c8d6

Browse files
committed
Add fonts to scss.
1 parent ca9f0be commit bf7c8d6

File tree

3 files changed

+34
-2
lines changed

3 files changed

+34
-2
lines changed

‎_layouts/default.html‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
<meta name="HandheldFriendly" content="True" />
1111
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
1212

13-
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Bitter:400,700">
14-
1513
<link rel="stylesheet" type="text/css" href="/css/main.css" />
1614
</head>
1715

‎css/base/_fonts.scss‎

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,36 @@
11
/**
22
* This file contains all @font-face declarations, if any.
33
*/
4+
5+
/* latin-ext */
6+
@font-face {
7+
font-family: 'Bitter';
8+
font-style: normal;
9+
font-weight: 400;
10+
src: local('Bitter-Regular'), url(https://fonts.gstatic.com/s/bitter/v8/Qt2dUzVlMd1bCOcZXl06LPesZW2xOQ-xsNqO47m55DA.woff2) format('woff2');
11+
unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
12+
}
13+
/* latin */
14+
@font-face {
15+
font-family: 'Bitter';
16+
font-style: normal;
17+
font-weight: 400;
18+
src: local('Bitter-Regular'), url(https://fonts.gstatic.com/s/bitter/v8/zfs6I-5mjWQ3nxqccMoL2A.woff2) format('woff2');
19+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
20+
}
21+
/* latin-ext */
22+
@font-face {
23+
font-family: 'Bitter';
24+
font-style: normal;
25+
font-weight: 700;
26+
src: local('Bitter-Bold'), url(https://fonts.gstatic.com/s/bitter/v8/JGVZEP92dXgoQBG1CnQcfBJtnKITppOI_IvcXXDNrsc.woff2) format('woff2');
27+
unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
28+
}
29+
/* latin */
30+
@font-face {
31+
font-family: 'Bitter';
32+
font-style: normal;
33+
font-weight: 700;
34+
src: local('Bitter-Bold'), url(https://fonts.gstatic.com/s/bitter/v8/evC1haE-MsorTl_A7_uSGVtXRa8TVwTICgirnJhmVJw.woff2) format('woff2');
35+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
36+
}

‎css/main.scss‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
@import "base/reset";
88
@import "base/helpers";
99
@import "base/base";
10+
@import "base/fonts";
1011

1112
@import "layout/header";
1213
@import "layout/content";

0 commit comments

Comments
 (0)