From 08f59e54c0c301cb340fc23545c222cefe1cf18a Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 21 Oct 2023 14:47:09 +0200 Subject: Work around Chrome browser nonsense features... --- public/style.css | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'public/style.css') diff --git a/public/style.css b/public/style.css index 4603522..612c4f6 100644 --- a/public/style.css +++ b/public/style.css @@ -1,5 +1,13 @@ /* RALLY THE TROOPS - MAIN SITE STYLE */ +html { + image-rendering: -webkit-optimize-contrast; /* try to fix chromium's terrible image rescaling */ + image-rendering: high-quality; + text-size-adjust: none; /* should disable font boosting - but has no effect ... */ +} + +* { max-height: 100000px; /* disable chrome's "font boosting" algorithm */ } + :root { --font-normal: "Source Serif", "Georgia", "Noto Emoji", "Dingbats", serif; --font-small: "Source Serif SmText", "Georgia", "Noto Emoji", "Dingbats", serif; -- cgit v1.2.3