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

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

View File

@@ -5,6 +5,20 @@
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;
margin: 0;
@@ -12,9 +26,6 @@
}
body {
font-family: "Nintendo DS BIOS", monospace;
-webkit-font-smoothing: none;
-moz-osx-font-smoothing: grayscale;
image-rendering: pixelated;
image-rendering: crisp-edges;
}