From: Rito Rhymes <rito@ritovision.com>
To: tools@kernel.org
Cc: rito@ritovision.com
Subject: [PATCH v1 3/6] add 848px mobile banner adjustments to prevent overflow
Date: Mon, 16 Mar 2026 14:00:33 -0400 [thread overview]
Message-ID: <20260316180036.71949-4-rito@ritovision.com> (raw)
In-Reply-To: <20260316180036.71949-1-rito@ritovision.com>
At widths below 848px, the desktop banner structure is too wide and
creates page-wide horizontal scroll overflow, breaking the layout.
Introduce a mobile breakpoint at 848px (equivalent to 53em at a 16px
base font size), matching the site's existing fixed-width layout scale.
Adjust banner sizing and spacing at this breakpoint while preserving
the existing desktop layout for viewport widths above it.
This patch is intentionally banner-only. The overall mobile layout
will still not render correctly until corresponding main-content and
footer overflow fixes are applied in follow-up commits.
Signed-off-by: Rito Rhymes <rito@ritovision.com>
Assisted-by: claude-opus-4-6
---
korgi/static/css/main.css | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/korgi/static/css/main.css b/korgi/static/css/main.css
index 3b09d24..19ee328 100644
--- a/korgi/static/css/main.css
+++ b/korgi/static/css/main.css
@@ -339,3 +339,25 @@ dt {
#logo-akamai {
padding-bottom: 22px;
}
+
+@media screen and (max-width: 848px) {
+ #banner {
+ width: auto;
+ margin: 0;
+ border-radius: 0;
+ border-left: none;
+ border-right: none;
+ border-top: none;
+ }
+ #banner h1 {
+ font-size: 2em;
+ margin: 0.5em 0;
+ }
+ #tux-gear {
+ width: 4em;
+ height: 5em;
+ }
+ #banner li {
+ padding: 0 0.5em;
+ }
+}
--
2.51.0
next prev parent reply other threads:[~2026-03-16 18:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-16 18:00 [PATCH v1 0/6] Allow site layouts to render properly on mobile devices Rito Rhymes
2026-03-16 18:00 ` [PATCH v1 1/6] add viewport meta tag for proper mobile rendering Rito Rhymes
2026-03-16 18:00 ` [PATCH v1 2/6] prevent wrapped headings from overlapping with text above it Rito Rhymes
2026-03-16 18:00 ` Rito Rhymes [this message]
2026-03-16 18:00 ` [PATCH v1 4/6] add responsive extras and footer layout adjustments to contain overflow Rito Rhymes
2026-03-16 18:00 ` [PATCH v1 5/6] contain horizontal overflow in core content and homepage releases layout Rito Rhymes
2026-03-16 18:00 ` [PATCH v1 6/6] improve mobile rendering of docutils tables Rito Rhymes
2026-03-16 18:17 ` [PATCH v1 0/6] Allow site layouts to render properly on mobile devices Rito Rhymes
2026-03-30 2:08 ` Rito Rhymes
2026-04-10 2:42 ` Rito Rhymes
2026-04-10 13:59 ` Konstantin Ryabitsev
2026-04-11 13:12 ` Rito Rhymes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260316180036.71949-4-rito@ritovision.com \
--to=rito@ritovision.com \
--cc=tools@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox