Don't use @import for fonts
Anirudh Oppiliappan x@icyphox.sh
Sat, 08 Aug 2020 11:19:27 +0530
2 files changed,
30 insertions(+),
22 deletions(-)
M
static/style.css
→
static/style.css
@@ -1,5 +1,13 @@
-@import url('/static/fonts/Inter-V.otf'); -@import url('/static/fonts/EBGaramond-VariableFont_wght.ttf'); +@font-face { + font-family: 'Inter'; + src: url('/static/fonts/Inter-V.otf'); +} + +@font-face { + font-family: 'EB Garamond', serif; + src: url('/static/fonts/EBGaramond-VariableFont_wght.ttf'); +} + @supports (font-variation-settings: normal) { html { font-family: 'Inter', sans-serif;
M
templates/text.html
→
templates/text.html
@@ -48,26 +48,6 @@ <hr>
<div class="openring"> <div class="openring-feed"> - <h4><a href="https://www.bellingcat.com/news/mena/2020/08/07/the-beirut-explosion-is-it-a-bird-is-it-a-plane-is-it-a-faked-video-of-a-missile/">The Beirut Explosion – Is It A Bird? Is It A Plane? Is It A Faked Video Of A Missile?</a></h4> - <p>In the days after every catastrophe, it is inevitable that rumours and misinformation will be passed around on social networks and by word of mouth. This appears to be a universal human behaviour. The disaster in Beirut is no different. In the three days s…</p> - - <p>via <a href="https://www.bellingcat.com">bellingcat</a> on Aug 07, 2020</p> - </div> - - - <div class="openring-feed"> - <h4><a href="https://drewdevault.com/2020/08/01/pkg-go-dev-sucks.html">pkg.go.dev is more concerned with Google's interests than good engineering</a></h4> - <p>pkg.go.dev sucks. It’s certainly prettier than godoc.org, but under the -covers, it’s a failure of engineering characteristic of the Google approach. - -Go is a pretty good programming language. I have long held that this is not -attributable to Google’s stewa…</p> - - <p>via <a href="https://drewdevault.com">Drew DeVault's Blog</a> on Aug 01, 2020</p> - </div> - - - <div class="openring-feed"> <h4><a href="https://peppe.rs/posts/gripes_with_go/">Gripes With Go</a></h4> <p>You’ve read a lot of posts about the shortcomings of the Go programming language, so what’s one more.@@ -82,6 +62,26 @@ Lack of Sum types
A “Sum” ty…</p> <p>via <a href="https://peppe.rs">nerdypepper's μblog</a> on Aug 01, 2020</p> + </div> + + + <div class="openring-feed"> + <h4><a href="https://k1ss.org/blog/20200803a">03/08/2020: This month in KISS (#4)</a></h4> + <p>Welcome to month 4!…</p> + + <p>via <a href="https://k1ss.org">KISS Linux Blog</a> on Aug 03, 2020</p> + </div> + + + <div class="openring-feed"> + <h4><a href="https://drewdevault.com/2020/08/01/pkg-go-dev-sucks.html">pkg.go.dev is more concerned with Google's interests than good engineering</a></h4> + <p>pkg.go.dev sucks. It’s certainly prettier than godoc.org, but under the +covers, it’s a failure of engineering characteristic of the Google approach. + +Go is a pretty good programming language. I have long held that this is not +attributable to Google’s stewa…</p> + + <p>via <a href="https://drewdevault.com">Drew DeVault's Blog</a> on Aug 01, 2020</p> </div>