From eb3303e753ed878f5314fb093fe15869e8b5043b Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 26 Jan 2025 21:55:22 +0100 Subject: [PATCH] css/balance --- rtfd/public/html/index.html | 2 +- rtfd/public/html/style/main.css | 2 ++ rtfd/public/html/style/reset.css | 4 ++++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/rtfd/public/html/index.html b/rtfd/public/html/index.html index 6a68c79..a429124 100644 --- a/rtfd/public/html/index.html +++ b/rtfd/public/html/index.html @@ -24,7 +24,7 @@
-

Root heading

+

This is some long root heading

It is important.

diff --git a/rtfd/public/html/style/main.css b/rtfd/public/html/style/main.css index 710853f..bee1b4f 100644 --- a/rtfd/public/html/style/main.css +++ b/rtfd/public/html/style/main.css @@ -40,8 +40,10 @@ padding: 1em 2em; .columns { display: grid; gap: 1em; +@media (width > 600px) { grid-template-columns: 1fr 2fr; } +} .sectionless { background-color: #630; diff --git a/rtfd/public/html/style/reset.css b/rtfd/public/html/style/reset.css index 669740f..64fcd64 100644 --- a/rtfd/public/html/style/reset.css +++ b/rtfd/public/html/style/reset.css @@ -5,3 +5,7 @@ margin: .5px; padding: .5em; /**/ } + +h1, h2, h3, h4, h5, h6 { +text-wrap: balance; +}