Reorganise font families

This commit is contained in:
Helen Chong 2024-10-06 15:37:57 +08:00
parent d6618207ee
commit fa145a5fce
4 changed files with 5 additions and 5 deletions

View File

@ -12,7 +12,7 @@
{# Fonts #}
{% include "global/fontdefault.njk" %}
<link rel="stylesheet" href="/assets/fonts/intel-one-mono/intel-one-mono.css">
<link rel="stylesheet" href="/assets/fonts/intel-one-mono.css">
{# CSS #}
{% include "global/css-bundle.njk" %}

View File

@ -3,7 +3,7 @@ body {
display: flex;
align-items: center;
flex-direction: column;
font-family: var(--ff-default), Seravek, 'Gill Sans Nova', Ubuntu, Calibri, 'DejaVu Sans', source-sans-pro, sans-serif;
font-family: var(--ff-default);
color: var(--clr-body-txt);
background-color: var(--clr-body-bg);
}
@ -92,7 +92,7 @@ figcaption {
}
code {
font-family: var(--ff-monospace), ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace;
font-family: var(--ff-monospace);
word-break: break-word;
}

View File

@ -34,8 +34,8 @@
--clr-mod-entry-bg: #241445;
--ff-default: 'Lexend';
--ff-monospace: 'Inter One Mono';
--ff-default: 'Lexend', Seravek, 'Gill Sans Nova', Ubuntu, Calibri, 'DejaVu Sans', source-sans-pro, sans-serif;
--ff-monospace: 'Intel One Mono', ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace;
--fs-main: 1.2rem;
--fs-h1: clamp(2rem, 1rem + 5vw, 3rem);