Return monospaced Inter font to reality

This commit is contained in:
akp 2024-12-30 21:39:05 +00:00
parent 86a8edea0b
commit 7b8381c655
No known key found for this signature in database
GPG key ID: CF8D58F3DEB20755
3 changed files with 10 additions and 3 deletions

View file

@ -5,7 +5,7 @@
{% for post in posts %}
{% set showFavourite = post.isFavourite and highlightFavourites %}
<li>
<span class="font-tnum secondary">{{ post.publishedDate | fmtdate }}</span> {% if showFavourite %}<b class="favourite">{% endif %}<a href="/blog/{{ post.slug }}">{{ post.title }}</a>{% if showFavourite %}</b>{% endif %}
<span class="font--tnum text--secondary">{{ post.publishedDate | fmtdate }}</span> {% if showFavourite %}<b class="favourite">{% endif %}<a href="/blog/{{ post.slug }}">{{ post.title }}</a>{% if showFavourite %}</b>{% endif %}
</li>
{% endfor %}
</ul>

View file

@ -50,10 +50,9 @@ description: "Hi! I'm Abi, a UK-based Computer Science student, photographer and
<li>small link seperator dots like in the footer of https://rsapkf.org</li>
</ul>
</li>
<li>local copies of fonts pleaseeeeeeee</li>
<li>blog has special things going on that need looking at
<ul>
<li>monospaced inter version is not a thing (yet)</li>
<li>local copies of fonts pleaseeeeeeee</li>
<li>if we're going to build a toc box then we need to actually integrate the fucker</li>
</ul>
</li>

View file

@ -14,6 +14,14 @@ $font-size: 16px;
font-size: $font-size;
}
@mixin font--tnum {
font-feature-settings: "tnum" 1;
}
.font--tnum {
@include font--tnum;
}
@supports (font-variation-settings: normal) {
:root { font-family: InterVariable, sans-serif; }
}