1
Fork 0
mirror of https://github.com/RGBCube/Site synced 2025-08-01 13:37:49 +00:00

Add fonts

This commit is contained in:
RGBCube 2024-02-16 14:44:19 +03:00
parent 30897048fb
commit f485e299d8
No known key found for this signature in database
11 changed files with 73 additions and 1 deletions

4
.gitignore vendored
View file

@ -5,11 +5,13 @@
!site/assets/
!site/blog/
!*.css
!*.md
!*.vto
!*.png
!*.gif
!*.png
!*.woff2
!.gitignore

View file

@ -47,6 +47,8 @@
<link rel="icon" href="/assets/icon.gif">
<link rel="apple-touch-icon" href="/assets/icon.png">
<link rel="stylesheet" href="/assets/fonts.css">
</head">
<body>
{{ content }}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

68
site/assets/fonts.css Normal file
View file

@ -0,0 +1,68 @@
@font-face {
font-display: block;
font-family: "Bai Jamjuree";
font-weight: normal;
src: url("/assets/BaiJamjureeMedium.woff2") format("woff2");
}
@font-face {
font-display: block;
font-family: "Bai Jamjuree";
font-style: italic;
font-weight: normal;
src: url("/assets/BaiJamjureeMediumItalic.woff2") format("woff2");
}
@font-face {
font-display: block;
font-family: "Bai Jamjuree";
font-weight: bold;
src: url("/assets/BaiJamjureeBold.woff2") format("woff2");
}
@font-face {
font-display: block;
font-family: "Bai Jamjuree";
font-style: italic;
font-weight: bold;
src: url("/assets/BaiJamjureeBoldItalic.woff2") format("woff2");
}
@font-face {
font-display: block;
font-family: "JetBrains Mono";
font-weight: normal;
src: url("/assets/JetBrainsMonoMedium.woff2") format("woff2");
}
@font-face {
font-display: block;
font-family: "JetBrains Mono";
font-style: italic;
font-weight: normal;
src: url("/assets/JetBrainsMonoMediumItalic.woff2") format("woff2");
}
@font-face {
font-display: block;
font-family: "JetBrains Mono";
font-weight: bold;
src: url("/assets/JetBrainsMonoBold.woff2") format("woff2");
}
@font-face {
font-display: block;
font-family: "JetBrains Mono";
font-style: italic;
font-weight: bold;
src: url("/assets/JetBrainsMonoBoldItalic.woff2") format("woff2");
}
html {
font-family: "Bai Jamjuree";
}
code,
pre {
font-family: "JetBrains Mono";
}