From 8017f7d4f8daca14b8e83504a811b7cad077af85 Mon Sep 17 00:00:00 2001 From: Ella Dunbar Date: Mon, 27 Oct 2025 18:44:18 -0500 Subject: [PATCH 1/3] WIP --- full/style.css | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/full/style.css b/full/style.css index 93f3f59..56e8a8d 100644 --- a/full/style.css +++ b/full/style.css @@ -5,9 +5,9 @@ box-sizing: border-box; } -/* * { */ -/* margin: 0; */ -/* } */ +* { + margin: 0; +} @media (prefers-reduced-motion: no-preference) { html { @@ -73,6 +73,11 @@ h6 { /* https://smolweb.org/subset.html */ /* structural */ +body { + margin: 0 auto; + max-width: max(768px, 50vw); +} + html { /* respect user font choices */ font-size: 100%; @@ -81,11 +86,24 @@ html { /* semantic */ header strong { + margin: 0.5rem; font-size: 1.6rem; } footer { font-size: 0.9rem; + + p { + margin: 0.5rem; + } +} + +main { + margin: 0 1rem; +} + +nav { + margin: 0.5rem; } @@ -102,6 +120,10 @@ h3 { font-size: 1.2rem; } +p { + margin: 1rem 0; +} + /* hypertextual */ /* listing */ /* forms */ From 5f6c4fa6e40be43b4643af05b616c210cbac97fb Mon Sep 17 00:00:00 2001 From: Ella Dunbar Date: Mon, 27 Oct 2025 18:44:18 -0500 Subject: [PATCH 2/3] Improve CSS spacing and font --- full/style.css | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/full/style.css b/full/style.css index 93f3f59..f672a1a 100644 --- a/full/style.css +++ b/full/style.css @@ -5,9 +5,9 @@ box-sizing: border-box; } -/* * { */ -/* margin: 0; */ -/* } */ +* { + margin: 0; +} @media (prefers-reduced-motion: no-preference) { html { @@ -68,11 +68,18 @@ h6 { color-scheme: light dark; --text: light-dark(#000000, #FFFFFF); --bg: light-dark(#FFFFFF, #000000); + + font-family: sans-serif; } /* https://smolweb.org/subset.html */ /* structural */ +body { + margin: 0 auto; + max-width: max(768px, 100ch); +} + html { /* respect user font choices */ font-size: 100%; @@ -81,11 +88,24 @@ html { /* semantic */ header strong { + margin: 0.5rem; font-size: 1.6rem; } footer { font-size: 0.9rem; + + p { + margin: 0.5rem; + } +} + +main { + margin: 1rem; +} + +nav { + margin: 0.5rem; } @@ -102,6 +122,10 @@ h3 { font-size: 1.2rem; } +p { + margin: 1rem 0; +} + /* hypertextual */ /* listing */ /* forms */ From cca7ad6eb25125e018f63d13cb6958bfcbb75f20 Mon Sep 17 00:00:00 2001 From: Ella Dunbar Date: Mon, 27 Oct 2025 21:52:02 -0500 Subject: [PATCH 3/3] Fix lang spelling --- full/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/full/index.html b/full/index.html index 0776dc6..882e596 100644 --- a/full/index.html +++ b/full/index.html @@ -1,5 +1,5 @@ - +