From ba0d81963a2fc5e3a087d2e4773e3ac12a02304f Mon Sep 17 00:00:00 2001 From: Syndamia Date: Fri, 8 Sep 2023 22:21:51 +0300 Subject: [styles] Added some MacOS/Safari font compatibility styling --- src/styles.css | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/styles.css') diff --git a/src/styles.css b/src/styles.css index a3c3c13..d6bddfc 100644 --- a/src/styles.css +++ b/src/styles.css @@ -119,6 +119,13 @@ body { border-color: var(--border-color); color: var(--fg-color); min-height: calc(100vh - 16px); + + /* Stuff to make sure the font is rendered correctly on Safari + * https://stackoverflow.com/a/56065714/12036073 */ + font-rendering: optimizeLegibility; + font-weight: 400; + -webkit-font-kerning: normal; + -webkit-font-smoothing: antialiased; } nav, article { background-color: var(--bg-color); } body, td, th { font-size: 18px; font-family: 'Tabler', sans-serif; } -- cgit v1.3.1-23-gd82d