),
IPA(
TextParserTagType.Direct(
- { _, _ -> "<span style='font-family: Noto Serif, serif'>" },
+ { _, _ -> "<span style='font-family: DejaVu Sans'>" },
{ "</span>" },
)
),
CODE(
TextParserTagType.Direct(
- { _, _ -> "<span style='font-family: JetBrains Mono, monospace'><pre>" },
+ { _, _ -> "<span style='font-family: JetBrains Mono'><pre>" },
{ "</pre></span>" },
)
),
link(rel = "icon", type = "image/svg+xml", href = "/static/images/icon.svg")
- link(rel = "preconnect", href = "https://fonts.googleapis.com")
- link(rel = "preconnect", href = "https://fonts.gstatic.com") { attributes["crossorigin"] = "anonymous" }
- link(rel = "stylesheet", href = "https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Noto+Sans+Gothic&family=Noto+Serif:ital,wght@0,400;0,700;1,400;1,700&family=JetBrains+Mono:ital,wght@0,500;0,800;1,500;1,800&family=Oxanium:wght@400;600;700;800&display=swap")
-
link(rel = "stylesheet", href = "/static/style.css")
title {
+@font-face {
+ font-family: 'Noto Sans';
+ font-style: normal;
+ font-weight: normal;
+ font-display: block;
+ src: url("/static/font/NotoSans-Medium.woff");
+}
+
+@font-face {
+ font-family: 'Noto Sans';
+ font-style: italic;
+ font-weight: normal;
+ font-display: block;
+ src: url("/static/font/NotoSans-MediumItalic.woff");
+}
+
+@font-face {
+ font-family: 'Noto Sans';
+ font-style: normal;
+ font-weight: bold;
+ font-display: block;
+ src: url("/static/font/NotoSans-Black.woff");
+}
+
+@font-face {
+ font-family: 'Noto Sans';
+ font-style: italic;
+ font-weight: bold;
+ font-display: block;
+ src: url("/static/font/NotoSans-BlackItalic.woff");
+}
+
+@font-face {
+ font-family: 'Noto Sans Gothic';
+ font-display: block;
+ src: url("/static/font/NotoSansGothic-Regular.woff");
+}
+
+@font-face {
+ font-family: 'JetBrains Mono';
+ font-style: normal;
+ font-weight: normal;
+ font-display: block;
+ src: url("/static/font/JetBrainsMono-Medium.woff");
+}
+
+@font-face {
+ font-family: 'JetBrains Mono';
+ font-style: italic;
+ font-weight: normal;
+ font-display: block;
+ src: url("/static/font/JetBrainsMono-MediumItalic.woff");
+}
+
+@font-face {
+ font-family: 'JetBrains Mono';
+ font-style: normal;
+ font-weight: bold;
+ font-display: block;
+ src: url("/static/font/JetBrainsMono-ExtraBold.woff");
+}
+
+@font-face {
+ font-family: 'JetBrains Mono';
+ font-style: italic;
+ font-weight: bold;
+ font-display: block;
+ src: url("/static/font/JetBrainsMono-ExtraBoldItalic.woff");
+}
+
+@font-face {
+ font-family: 'Oxanium';
+ font-style: normal;
+ font-weight: 400;
+ font-display: block;
+ src: url("/static/font/Oxanium-Regular.woff");
+}
+
+@font-face {
+ font-family: 'Oxanium';
+ font-style: normal;
+ font-weight: 600;
+ font-display: block;
+ src: url("/static/font/Oxanium-SemiBold.woff");
+}
+
+@font-face {
+ font-family: 'Oxanium';
+ font-style: normal;
+ font-weight: 700;
+ font-display: block;
+ src: url("/static/font/Oxanium-Bold.woff");
+}
+
+@font-face {
+ font-family: 'Oxanium';
+ font-style: normal;
+ font-weight: 800;
+ font-display: block;
+ src: url("/static/font/Oxanium-ExtraBold.woff");
+}
+
+@font-face {
+ font-family: 'DejaVu Sans';
+ font-style: normal;
+ font-weight: normal;
+ font-display: block;
+ src: url("/static/font/DejaVuSans.woff");
+}
+
+@font-face {
+ font-family: 'DejaVu Sans';
+ font-style: italic;
+ font-weight: normal;
+ font-display: block;
+ src: url("/static/font/DejaVuSans-Oblique.woff");
+}
+
+@font-face {
+ font-family: 'DejaVu Sans';
+ font-style: normal;
+ font-weight: bold;
+ font-display: block;
+ src: url("/static/font/DejaVuSans-Bold.woff");
+}
+
+@font-face {
+ font-family: 'DejaVu Sans';
+ font-style: italic;
+ font-weight: bold;
+ font-display: block;
+ src: url("/static/font/DejaVuSans-BoldOblique.woff");
+}
+
html {
margin: 0;
padding: 0;