From 9db5cd4e94a2ff4a15ee1b38c1a17bbe090638ca Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 27 Jan 2025 00:31:16 +0100 Subject: [PATCH] css/others --- rtfd/public/html/index.html | 8 +++++--- rtfd/public/html/style/main.css | 9 ++++----- rtfd/public/html/style/reset.css | 2 +- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/rtfd/public/html/index.html b/rtfd/public/html/index.html index a429124..54253c5 100644 --- a/rtfd/public/html/index.html +++ b/rtfd/public/html/index.html @@ -1,10 +1,10 @@ - + - + Title. @@ -16,7 +16,9 @@ @@ -67,7 +69,7 @@

Yet Another Heading

Sub Heading

-

Yet another paragraph.

+

Yet another paragraph that is quite a bit longer than others.

diff --git a/rtfd/public/html/style/main.css b/rtfd/public/html/style/main.css index bee1b4f..b662f66 100644 --- a/rtfd/public/html/style/main.css +++ b/rtfd/public/html/style/main.css @@ -20,12 +20,11 @@ background-image: url("../images/logo.svg"); background-position: center; background-size: cover; color: #777; -font-family: sans-serif; -font-size: 1.5rem; +font-family: monospace; line-height: 1.25; margin-block: 0; margin-inline: auto; -max-inline-size: 70ch; +max-inline-size: 160ch; text-align: start; } @@ -71,7 +70,7 @@ border-radius: .25em; border-style: solid; border-width: .1em; color: #f77; -font-size: 1.75em; +font-size: 3rem; text-align: center; } @@ -88,7 +87,7 @@ section { background-color: #033; margin-block: 1em; margin-inline: 1em; -max-inline-size: 20ch; +max-inline-size: 40ch; } strong { diff --git a/rtfd/public/html/style/reset.css b/rtfd/public/html/style/reset.css index 3f221c1..f455aff 100644 --- a/rtfd/public/html/style/reset.css +++ b/rtfd/public/html/style/reset.css @@ -28,7 +28,7 @@ text-wrap: balance; figcaption, li, p { -max-width: 64ch; +max-width: 79ch; text-wrap: pretty; }