From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id 5D4DB3858D39 for ; Tue, 9 Jan 2024 02:42:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5D4DB3858D39 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 5D4DB3858D39 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:470:ea4a:1:5054:ff:fec7:86e4 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704768165; cv=none; b=U8V0YyHyvEUgpxNnXyu2ycp+rbv0LxHxc/VBxEiUHXfM02b7Cg6g1cgoT7LtzOkE3T/w34D0BwLihnsN9DSo9HyGMpmOpt/1Mh7/bIeLVnFBTMOZlSVQKr6BB3jVcPu8LEIrH4E4fs4DqAuE15qoylOd+IYLeBxR2XpQvq14Xtg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704768165; c=relaxed/simple; bh=q1BlkHjEWruYDH4gsHG5HM/Kel5IFq5BRkcCqIzgSmg=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=aukPak+5w/xm2BlK9LmbrYa3yn3U/qmR1mVk4Krx6C3U7MFe/8VtWHAes3t6+0RXztEn6igBQzj/OnQ/Kg9V8GUDa+5aMDpq9dfwjTQN7L+x3FI4j41qOENJclhLDHBJF1/V4fzZQH7JDPIdaTbb9aUVbrzBKpECk6C6kPQeN2c= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by smtp.gentoo.org (Postfix, from userid 559) id CCD2A343297; Tue, 9 Jan 2024 02:42:42 +0000 (UTC) From: Mike Frysinger To: newlib@sourceware.org Subject: [PATCH htdocs] make site a bit better on mobile devices Date: Mon, 8 Jan 2024 21:42:40 -0500 Message-ID: <20240109024240.5710-1-vapier@gentoo.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-8.8 required=5.0 tests=BAYES_00,GIT_PATCH_0,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,KAM_SOMETLD_ARE_BAD_TLD,SPF_HELO_PASS,SPF_PASS,TXREP,T_PDS_OTHER_BAD_TLD,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Tighten up spacing on smaller devices so the content is the focus, and the navbar/topbar don't suck up so much fixed space. --- docs.html | 1 + download.html | 1 + faq.html | 1 + index.html | 1 + info.html | 1 + mailing.html | 1 + newlib.css | 31 +++++++++++++++++++++++++++++++ news.html | 1 + 8 files changed, 38 insertions(+) diff --git a/docs.html b/docs.html index a7fd3c9644f1..b086b77b9905 100644 --- a/docs.html +++ b/docs.html @@ -1,5 +1,6 @@ + diff --git a/download.html b/download.html index 448ee89644ca..88cb836b3196 100644 --- a/download.html +++ b/download.html @@ -1,5 +1,6 @@ + diff --git a/faq.html b/faq.html index f5855ce0c22d..048166e190ac 100644 --- a/faq.html +++ b/faq.html @@ -1,5 +1,6 @@ + diff --git a/index.html b/index.html index 4bfbd06b2808..4eeb1e85d5ca 100644 --- a/index.html +++ b/index.html @@ -2,6 +2,7 @@ The Newlib Homepage + diff --git a/info.html b/info.html index 057148bdfea8..cb8f93ef04d2 100644 --- a/info.html +++ b/info.html @@ -1,5 +1,6 @@ + diff --git a/mailing.html b/mailing.html index c0c2a92d2ae0..ca860c1ef1c7 100644 --- a/mailing.html +++ b/mailing.html @@ -1,5 +1,6 @@ + diff --git a/newlib.css b/newlib.css index af265d5573df..09d63acedb4a 100644 --- a/newlib.css +++ b/newlib.css @@ -69,3 +69,34 @@ body.main { height: 100%; width: 100%; } + +/* This is ~768px with 16pt font. */ +@media only screen and (max-width: 50em) { + .main tr.top { + height: 70px; + } + + .main td.left { + width: 100px; + } +} + +/* This is ~480px with 16pt font. */ +@media only screen and (max-width: 30em) { + .main td.left { + width: 5%; + } + + ul { + padding-left: 1em; + } + + dd { + margin-left: 1em; + } + + /* How many spaces-per-tab. */ + pre { + tab-size: 4; + } +} diff --git a/news.html b/news.html index d2e51a57a475..a0d8f42c0560 100644 --- a/news.html +++ b/news.html @@ -1,5 +1,6 @@ + -- 2.43.0