From 8bdbedc547b69feccf00a6466e6261b89e71beec Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 11 Aug 2026 20:14:15 +0545 Subject: [PATCH] fix display on mobile/smaller devices Set max-width instead of hardcoding width to 700px so that smaller screens will properly scale down and not require horizontal scrolling. Set viewport so mobile devices will render the site properly instead of falling back to the "desktop" algorithm. --- index.html | 1 + style.css | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index a17ece8..0d9b51c 100644 --- a/index.html +++ b/index.html @@ -2,6 +2,7 @@ + libarchive - C library and command-line tools for reading and writing tar, cpio, zip, ISO, and other archive formats @ GitHub diff --git a/style.css b/style.css index 1e28758..79c2599 100644 --- a/style.css +++ b/style.css @@ -6,7 +6,7 @@ body { } #container { margin: 0 auto; - width: 700px; + max-width: 700px; } h1 { font-size: 3.8em; color: #000000; margin-bottom: 3px; } h1 .small { font-size: 0.4em; }