Change default font

This commit is contained in:
2026-01-30 11:36:49 +01:00
parent a6b65b1398
commit 28929912a6
4 changed files with 17 additions and 2 deletions

View File

@@ -8,6 +8,14 @@
* @author Anika Henke <anika@selfthinker.org>
*/
@font-face {
font-family: "Perfect DOS VGA 437 Win";
src: url("../fonts/Perfect%20DOS%20VGA%20437%20Win.ttf") format("truetype");
font-weight: normal;
font-style: normal;
font-display: swap;
}
html {
overflow-x: auto;
overflow-y: scroll;
@@ -20,7 +28,7 @@ body {
padding: 0;
}
body {
font: normal 87.5%/1.4 Arial, sans-serif;
font: normal 87.5%/1.4 "Perfect DOS VGA 437 Win", monospace;
/* default font size: 100% => 16px; 93.75% => 15px; 87.5% => 14px; 81.25% => 13px; 75% => 12px */
-webkit-text-size-adjust: 100%;
}