Update font
11ty build and deploy for work.suroh.tk / build-deploy (push) Successful in 22s Details

This commit is contained in:
suroh 2024-04-17 09:55:04 +02:00
parent bc8039cc8c
commit 720f2051cc
8 changed files with 49 additions and 3 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,46 @@
@font-face {
font-family: 'JetBrains';
font-weight: normal;
font-style: normal;
src: url('JetBrainsMono-Regular.woff2') format('woff2');
}
@font-face {
font-family: 'JetBrains';
font-weight: normal;
font-style: italic;
src: local('JetBrainsMono'),
url('JetBrainsMono-Italic.woff2') format('woff2');
}
@font-face {
font-family: 'JetBrains';
font-weight: 200;
font-style: normal;
src: local('JetBrainsMono'),
url('JetBrainsMono-Light.woff2') format('woff2');
}
@font-face {
font-family: 'JetBrains';
font-weight: 200;
font-style: italic;
src: local('JetBrainsMono'),
url('JetBrainsMono-LightItalic.woff2') format('woff2');
}
@font-face {
font-family: 'JetBrains';
font-weight: bold;
font-style: normal;
src: local('JetBrainsMono'),
url('JetBrainsMono-Bold.woff2') format('woff2');
}
@font-face {
font-family: 'JetBrains';
font-weight: bold;
font-style: italic;
src: local('JetBrainsMono'),
url('JetBrainsMono-BoldItalic.woff2') format('woff2');
}

View File

@ -1,5 +1,5 @@
/* PAGE STYLES */
@import url(https://cdn.jsdelivr.net/gh/tonsky/FiraCode@1.206/distr/fira_code.css);
@import url('./fonts/fonts.css');
* {
scroll-behavior: smooth;
@ -62,7 +62,7 @@ body.light {
}
body {
font-family: 'fira code', monospace;
font-family: 'JetBrains', 'fira code', monospace;
color: var(--primary-colour);
background-color: var(--bg-colour);
}
@ -210,7 +210,7 @@ section.page h1 {
@media screen and (min-width: 1360px) {
body {
font-size: 19px;
line-height: 24px;
line-height: 1.5em;
margin: 0;
padding: 0;
}