diff options
| Commit | ba0d81963a2fc5e3a087d2e4773e3ac12a02304f (patch) | |
|---|---|---|
| Author | 2023-09-08 22:21:51 +0300 | |
| Committer | 2023-09-08 22:21:51 +0300 | |
| Files | 12cbe64d083b69f98f0af2f56773cb36fffcf5e8 /src/styles.css | |
| syndamia.com-ba0d81963a2fc5e3a087d2e4773e3ac12a02304f.tar syndamia.com-ba0d81963a2fc5e3a087d2e4773e3ac12a02304f.tar.gz syndamia.com-ba0d81963a2fc5e3a087d2e4773e3ac12a02304f.zip | ||
| Parent | 21238cae7095f819ac58417332a18be2cd70b253 (diff) | |
[styles] Added some MacOS/Safari font compatibility styling
1 files changed, 7 insertions, 0 deletions
| -rw-r--r-- | src/styles.css | 7 |
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; } |