Fix font on non-text pages
Anirudh Oppiliappan x@icyphox.sh
Sat, 15 Aug 2020 12:58:52 +0530
2 files changed,
18 insertions(+),
9 deletions(-)
M
static/style.css
→
static/style.css
@@ -15,6 +15,7 @@ @font-face {
font-family: 'Garamond'; src: url('/static/fonts/EBGaramond-Italic.ttf') format('truetype'); font-style: italic; + font-size: 20; } @font-face {@@ -44,11 +45,14 @@ font-size: 18px;
line-height: 1.5; } -article > p, blockquote { - font-size: 21px; +.content > article, p, blockquote, ul { line-height: 1.4; font-family: 'Garamond'; font-feature-settings: normal; +} + +.content > h1, h2, h3, h4 { + font-family: 'Inter'; } a {@@ -139,7 +143,7 @@ }
pre > code { color: var(--code); - background: unset; + background: var(--dull) } @media only screen and (min-width: 800px) {
M
templates/text.html
→
templates/text.html
@@ -48,10 +48,10 @@ <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> + <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://www.bellingcat.com">bellingcat</a> on Aug 07, 2020</p> + <p>via <a href="https://k1ss.org">KISS Linux Blog</a> on Aug 03, 2020</p> </div>@@ -74,10 +74,15 @@ </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> + <h4><a href="https://drewdevault.com/2020/08/13/Web-browsers-need-to-stop.html">Web browsers need to stop</a></h4> + <p>Enough is enough. + +The web and web browsers have become Lovecraftian horrors of an unprecedented +scale. They’ve long since left “scope creep” territory and entered “oh my god +please just stop” territory, and are trucking on through to hitherto unexplored +d…</p> - <p>via <a href="https://k1ss.org">KISS Linux Blog</a> on Aug 03, 2020</p> + <p>via <a href="https://drewdevault.com">Drew DeVault's Blog</a> on Aug 13, 2020</p> </div>