From 51de1595f7c408c7e44dcbf2d4706257c1eb9865 Mon Sep 17 00:00:00 2001 From: Pat Garrity Date: Mon, 6 Oct 2025 20:52:45 -0500 Subject: [PATCH] help mobile --- src/gs.css | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/src/gs.css b/src/gs.css index aebc879..315b714 100644 --- a/src/gs.css +++ b/src/gs.css @@ -16,16 +16,34 @@ body { color: #000000; } +img, +picture, +video { + max-width: 100%; +} + ::selection { color: #f0f0f0; background-color: #000000; } -div#wrapper { - margin-top: 1rem; - margin-left: auto; - margin-right: auto; - width: 90ch; +@media screen and (width >= 100ch) { + div#wrapper { + margin-top: 1rem; + margin-left: auto; + margin-right: auto; + width: 90ch; + } +} + + +@media screen and (width < 100ch) { + div#wrapper { + margin-top: 1rem; + padding-left: 2rem; + padding-right: 2rem; + width: 100%; + } } header {