From c35da0e9a35985e3ad579fba7e30d297884822ba Mon Sep 17 00:00:00 2001 From: luxick Date: Fri, 30 Jan 2026 11:43:14 +0100 Subject: [PATCH] update font file name --- css/basic.less | 5 ++--- .../{Perfect DOS VGA 437 Win.ttf => perfectdos.ttf} | Bin 2 files changed, 2 insertions(+), 3 deletions(-) rename fonts/{Perfect DOS VGA 437 Win.ttf => perfectdos.ttf} (100%) diff --git a/css/basic.less b/css/basic.less index 2ec41ea..c90b24a 100755 --- a/css/basic.less +++ b/css/basic.less @@ -10,7 +10,7 @@ @font-face { font-family: "Perfect DOS VGA 437 Win"; - src: url("../fonts/Perfect%20DOS%20VGA%20437%20Win.ttf") format("truetype"); + src: url("./fonts/perfectdos.ttf") format("truetype"); font-weight: normal; font-style: normal; font-display: swap; @@ -28,8 +28,7 @@ body { padding: 0; } body { - 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 */ + font: normal 100%/1 "Perfect DOS VGA 437 Win", monospace; -webkit-text-size-adjust: 100%; } diff --git a/fonts/Perfect DOS VGA 437 Win.ttf b/fonts/perfectdos.ttf similarity index 100% rename from fonts/Perfect DOS VGA 437 Win.ttf rename to fonts/perfectdos.ttf