From 45cd976b494596b1e5a3170ed436bbaba71b42c7 Mon Sep 17 00:00:00 2001 From: MrTimscampi Date: Wed, 26 Aug 2020 19:30:01 +0200 Subject: [PATCH] Fix font sizes Makes the baseline 16px again (It was 14.88px before, for some reason) and sets the TV baseline to 20px. --- src/assets/css/fonts.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/assets/css/fonts.css b/src/assets/css/fonts.css index cb0da0f80f..6e87f11d9d 100644 --- a/src/assets/css/fonts.css +++ b/src/assets/css/fonts.css @@ -1,7 +1,5 @@ html { font-family: "Noto Sans", sans-serif; - font-size: 93%; - -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; @@ -29,7 +27,9 @@ h3 { } .layout-tv { - font-size: 130%; + /* Per WebOS and Tizen guidelines, fonts must be 20px minimum. + This takes the 16px baseline and multiplies it by 1.25 to get 20px. */ + font-size: 125%; } .layout-mobile {