feat: add custom nds fonts for 7px and 9px text

This commit is contained in:
2025-11-10 14:21:29 +01:00
parent a3cce74192
commit c465679b47
5 changed files with 14 additions and 3 deletions

View File

@@ -5,6 +5,20 @@
font-style: normal; font-style: normal;
} }
@font-face {
font-family: "NDS7";
src: url("/assets/nds-7px.ttf") format("truetype");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "NDS9";
src: url("/assets/nds-9px.ttf") format("truetype");
font-weight: normal;
font-style: normal;
}
* { * {
box-sizing: border-box; box-sizing: border-box;
margin: 0; margin: 0;
@@ -12,9 +26,6 @@
} }
body { body {
font-family: "Nintendo DS BIOS", monospace;
-webkit-font-smoothing: none;
-moz-osx-font-smoothing: grayscale;
image-rendering: pixelated; image-rendering: pixelated;
image-rendering: crisp-edges; image-rendering: crisp-edges;
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

BIN
app/assets/nds-7px.ttf Normal file

Binary file not shown.

BIN
app/assets/nds-9px.ttf Normal file

Binary file not shown.