Pi66

git.pi66.xyz
A web interface for the pi66.xyz Git server
git clone https://git.pi66.xyz/git.pi66.xyz

← back to log

fix: scale root font-size to correct oversized rem-based layout

author: pi66
date: 2026-07-23 11:28
hash: 90ebf6808f6303d57dd45a808aa4ca2a2e8f7b6b

Diffstat:

M

src/static/css/style.css
5 ++++++++++++++++++++++++------
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
diff --git a/src/static/css/style.css b/src/static/css/style.css
index a7f4ba9..348cfde 100644
--- a/src/static/css/style.css
+++ b/src/static/css/style.css
@@ -28,7 +28,10 @@
    --color-strong: #eed;
 }

-html { scroll-behavior: smooth; }
+html { 
+   scroll-behavior: smooth; 
+   font-size: 82.5%;
+}

 body {
    color: var(--color-text);