summaryrefslogtreecommitdiff
path: root/public/style.css
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-10-21 14:47:09 +0200
committerTor Andersson <tor@ccxvii.net>2023-10-21 19:41:47 +0200
commit08f59e54c0c301cb340fc23545c222cefe1cf18a (patch)
tree625a7f8a64ede4fd90286fa1296294aa4d09b532 /public/style.css
parentb4f7bf127186660f3026aab9befba80686e781d8 (diff)
downloadserver-08f59e54c0c301cb340fc23545c222cefe1cf18a.tar.gz
Work around Chrome browser nonsense features...
Diffstat (limited to 'public/style.css')
-rw-r--r--public/style.css8
1 files changed, 8 insertions, 0 deletions
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;