Use Fira Code for all code

This commit is contained in:
Jake Howard 2022-07-04 20:36:19 +01:00
parent 9694ae71bc
commit b9a00e9b83
Signed by: jake
GPG key ID: 57AFB45680EDD477
5 changed files with 3 additions and 9 deletions

View file

@ -34,11 +34,3 @@ div.block-embed {
@include center-block(50%);
}
}
div.block-code {
code,
pre {
font-family: "Fira Code", monospace;
font-variant-ligatures: none;
}
}

View file

@ -2,3 +2,4 @@
$container-max-width: $widescreen;
$pre-background: unset;
$family-code: "Fira Code", monospace;

View file

@ -17,6 +17,7 @@ body {
height: 100%;
display: flex;
flex-direction: column;
font-variant-ligatures: none;
}
main {

View file

@ -16,6 +16,7 @@
<link rel="stylesheet" type="text/css" href="{% static 'css/base.css' %}">
<link rel="stylesheet" type="text/css" href="{% static 'contrib/fontawesome/css/all.min.css' %}">
<link rel="stylesheet" type="text/css" href="{% static 'contrib/fira-code/fira_code.css' %}">
{% block extra_css %}{% endblock %}
</head>

View file

@ -17,7 +17,6 @@
{% block extra_css %}
<link rel="stylesheet" type="text/css" href="{% static 'css/lite-youtube-embed.css' %}">
<link rel="stylesheet" type="text/css" href="{% static 'contrib/shareon/shareon.min.css' %}">
<link rel="stylesheet" type="text/css" href="{% static 'contrib/fira-code/fira_code.css' %}">
<link rel="stylesheet" type="text/css" href="{% url 'static-pygments:styles' 'default' %}">
{% endblock %}