commit 90bfe9aeee01ac94b51c60b0adb2563d9952dbef
parent 3384b7c7f70d888b2dfb3a2d238be27288ffd9f5
Author: gracefu <81774659+gracefuu@users.noreply.github.com>
Date: Thu, 10 Apr 2025 15:56:41 +0800
Fix font rendering on iOS
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/layouts/templates/base.shtml b/layouts/templates/base.shtml
@@ -28,6 +28,11 @@
@font-face {
font-family: 'Atkinson Hyperlegible Next';
font-display: swap;
+ font-style: normal;
+ font-weight: normal;
+ font-variant: normal;
+ text-transform: none;
+ -webkit-font-smoothing: antialiased;
src: url(/fonts/AtkinsonHyperlegibleNextVF-Variable.woff2) format('woff2');
}
</style>