diff --git a/static/src/scss/_blocks.scss b/static/src/scss/_blocks.scss index ebd5edc..8e6b0cb 100644 --- a/static/src/scss/_blocks.scss +++ b/static/src/scss/_blocks.scss @@ -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; - } -} diff --git a/static/src/scss/_bulma_overrides.scss b/static/src/scss/_bulma_overrides.scss index 7ec1bcb..0ed9dc9 100644 --- a/static/src/scss/_bulma_overrides.scss +++ b/static/src/scss/_bulma_overrides.scss @@ -2,3 +2,4 @@ $container-max-width: $widescreen; $pre-background: unset; +$family-code: "Fira Code", monospace; diff --git a/static/src/scss/base.scss b/static/src/scss/base.scss index 11d8e98..c2deda0 100644 --- a/static/src/scss/base.scss +++ b/static/src/scss/base.scss @@ -17,6 +17,7 @@ body { height: 100%; display: flex; flex-direction: column; + font-variant-ligatures: none; } main { diff --git a/templates/base.html b/templates/base.html index c954997..2bac4a6 100644 --- a/templates/base.html +++ b/templates/base.html @@ -16,6 +16,7 @@ + {% block extra_css %}{% endblock %} diff --git a/website/common/templates/common/content_page.html b/website/common/templates/common/content_page.html index c4eaf2a..c06adcd 100644 --- a/website/common/templates/common/content_page.html +++ b/website/common/templates/common/content_page.html @@ -17,7 +17,6 @@ {% block extra_css %} - {% endblock %}