From c170aa07f46287895ad777c394df0c23eef8320f Mon Sep 17 00:00:00 2001 From: Francesco Date: Mon, 1 Dec 2025 22:28:20 +0100 Subject: [PATCH] refactor(www): use the same style --- www/index.html | 18 ++++----- www/pages/404.html | 5 +-- www/pages/500.html | 97 ++++++++++------------------------------------ 3 files changed, 30 insertions(+), 90 deletions(-) diff --git a/www/index.html b/www/index.html index baa040e..caee79a 100644 --- a/www/index.html +++ b/www/index.html @@ -51,6 +51,7 @@ "Segoe UI", sans-serif; color: var(--text); + font-size: 18px; /* increased base text size */ } .wrapper { @@ -76,7 +77,7 @@ border-radius: 999px; background: var(--accent-soft); color: var(--accent); - font-size: 11px; + font-size: 13px; /* slightly larger */ text-transform: uppercase; letter-spacing: 0.11em; margin-bottom: 20px; @@ -92,7 +93,7 @@ } h1 { - font-size: 32px; + font-size: 36px; /* increased */ line-height: 1.2; margin-bottom: 8px; } @@ -104,14 +105,14 @@ } p { - font-size: 15px; + font-size: 18px; /* increased */ color: var(--muted); margin-bottom: 16px; line-height: 1.7; } .lead { - font-size: 16px; + font-size: 19px; /* increased */ margin-bottom: 10px; } @@ -139,7 +140,7 @@ } footer.icon-credit { - font-size: 11px; + font-size: 13px; /* increased */ color: var(--muted); text-align: center; opacity: 0.9; @@ -158,11 +159,11 @@ @media (max-width: 480px) { h1 { - font-size: 26px; + font-size: 30px; } .lead { - font-size: 15px; + font-size: 17px; } } @@ -181,9 +182,6 @@

Hello from cws!

-

- Your lightweight C web server is up and ready. -

You’re seeing the default homepage served by cws. Replace this file or point your diff --git a/www/pages/404.html b/www/pages/404.html index bacaf36..38a1368 100644 --- a/www/pages/404.html +++ b/www/pages/404.html @@ -141,10 +141,7 @@

404

You’ve reached an empty corner of the internet.

-

- The page you’re looking for doesn’t exist (anymore). It may have - been moved, deleted, or the link is just a bit outdated. -

+

The page you’re looking for doesn’t exist.

diff --git a/www/pages/500.html b/www/pages/500.html index 8cd69df..9d25968 100644 --- a/www/pages/500.html +++ b/www/pages/500.html @@ -6,11 +6,11 @@