Return monospaced Inter font to reality
This commit is contained in:
parent
86a8edea0b
commit
7b8381c655
3 changed files with 10 additions and 3 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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; }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue