Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Commit 5d37a69

Browse files
committed
Too much speed: new threejs + new IO polyfill + font-face and custom font with font-display rule 🚀
1 parent 5739eee commit 5d37a69

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+3133
-1660
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ Release date: 2019-05-11.
66

77
#### Added
88

9-
- removed fontawesome full installation, switch to iconmoon
9+
- removed fontawesome full installation, switch to iconmoon
10+
- prefetch blog url everywhere
11+
- font-face with local open sans font and font-display
12+
- updated intersection observer polifyll and threejs
1013

1114
## [1.9.0](https://github.com/chicio/chicio.github.io/releases/tag/1.9.0)
1215
Release date: 2019-05-10.

_css/common.scss

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@import "../node_modules/bootstrap/scss/bootstrap";
2+
@import "./opensans.scss";
23
@import "./icomoon.scss";
34
@import "./theme.scss";
45
@import "./loader.scss";
@@ -8,15 +9,9 @@ html {
89
max-width: 100%;
910
overflow-x: hidden;
1011

11-
&.wf-active {
12-
body {
13-
font: 20px 'Open Sans', sans-serif;
14-
line-height: 1.8;
15-
}
16-
}
17-
1812
body {
19-
font: 20px Helvetica, Arial, sans-serif;
13+
font: 20px 'Open Sans', Helvetica, Arial, sans-serif;
14+
line-height: 1.8;
2015
max-width: 100%;
2116
overflow-x: hidden;
2217
}

_css/opensans.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
@font-face {
2+
font-family: "Open Sans";
3+
src: local("Open Sans Regular"),
4+
url("/assets/fonts/opensans/OpenSans-Regular.woff2") format("woff2"),
5+
url("/assets/opensans/OpenSans-Regular.woff") format("woff"),
6+
url('/assets/opensans/OpenSans-Regular.eot?#iefix') format('embedded-opentype'),
7+
url('/assets/opensans/OpenSans-Regular.ttf') format('truetype'),
8+
url('/assets/opensans/OpenSans-Regular.svg#OpenSansRegular') format('svg');
9+
font-weight: normal;
10+
font-style: normal;
11+
font-display: fallback;
12+
}
104 KB
Binary file not shown.

_fonts/opensans/OpenSans-Regular.svg

Lines changed: 958 additions & 0 deletions
Loading
212 KB
Binary file not shown.
52.7 KB
Binary file not shown.
40.7 KB
Binary file not shown.

_includes/critical-blog-post-archive.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_includes/critical-blog-post.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)