Commit notifications for all Sup repositories
 help / color / mirror / Atom feed
From: Dan Callaghan <dan@bl2.djc.id.au>
To: sup-commits@supmua.dev
Subject: [sup-website.git] 03/03: use semantic sectioning elements
Date: Sat, 31 Oct 2026 16:26:18 +1100	[thread overview]
Message-ID: <20261031052615.C7DD82C712F@bl2.djc.id.au> (raw)
In-Reply-To: <179342437506.61149.10533496959611544995@bl2.djc.id.au>

New commit on branch master:
https://supmua.dev/git/sup-website/commit/453b88f161c98029c8e53e6a799e8a8c5c18b972.html

commit 453b88f161c98029c8e53e6a799e8a8c5c18b972
Author: Dan Callaghan <djc@djc.id.au>
AuthorDate: Sat Oct 31 16:25:07 2026 +1100

    use semantic sectioning elements
---
 _includes/header.html      | 4 ++--
 _layouts/gallery.md        | 4 ++--
 _layouts/narrow_page.md    | 4 ++--
 _layouts/wide_page.md      | 4 ++--
 stylesheets/stylesheet.css | 6 +-----
 5 files changed, 9 insertions(+), 13 deletions(-)

diff --git a/_includes/header.html b/_includes/header.html
index f2ce7cf..ae8fee5 100644
--- a/_includes/header.html
+++ b/_includes/header.html
@@ -5,7 +5,7 @@
           <p class="tagline">A curses threads-with-tags style email client</p>
         </a>
 
-        <section id="links">
+        <nav>
           <a href="/git/" class="btn btn-git"><span class="icon"></span>Source code</a>
         <a href="https://github.com/sup-heliotrope/sup/wiki" class="btn">Wiki</a>
         <a href="https://github.com/sup-heliotrope/sup/issues" class="btn">Issues</a>
@@ -13,6 +13,6 @@
         <a href="/screenshots/" class="btn">Screenshots</a>
         <a href="/git/sup-colors/files.html" class="btn">Color schemes</a>
         <a href="/community/" class="btn">Community</a>
-        </section>
+        </nav>
       </div>
     </header>
diff --git a/_layouts/gallery.md b/_layouts/gallery.md
index 74292d7..b82b835 100644
--- a/_layouts/gallery.md
+++ b/_layouts/gallery.md
@@ -1,6 +1,6 @@
 ---
 layout: default
 ---
-<section class="container gallery">
+<main class="container gallery">
   {{ content }}
-</section>
+</main>
diff --git a/_layouts/narrow_page.md b/_layouts/narrow_page.md
index 1e4fc0c..9e24915 100644
--- a/_layouts/narrow_page.md
+++ b/_layouts/narrow_page.md
@@ -1,6 +1,6 @@
 ---
 layout: default
 ---
-      <section class="container narrow">
+      <main class="container narrow">
         {{ content }}
-      </section>
+      </main>
diff --git a/_layouts/wide_page.md b/_layouts/wide_page.md
index 24fcca8..3f74af1 100644
--- a/_layouts/wide_page.md
+++ b/_layouts/wide_page.md
@@ -1,6 +1,6 @@
 ---
 layout: default
 ---
-      <section class="container wide">
+      <main class="container wide">
         {{ content }}
-      </section>
+      </main>
diff --git a/stylesheets/stylesheet.css b/stylesheets/stylesheet.css
index 7ed2063..b9c23e8 100644
--- a/stylesheets/stylesheet.css
+++ b/stylesheets/stylesheet.css
@@ -35,10 +35,6 @@ b, strong {
   row-gap: 2.5em;
   margin-bottom: 2.5em;
 }
-section {
-  display: block;
-  margin: 0 0 20px 0;
-}
 
 .gallery figure {
   margin: 0;
@@ -111,7 +107,7 @@ header .tagline {
   width: 100%;
   -webkit-font-smoothing: antialiased;
 }
-section img {
+main img {
   width: 100%;
   height: auto;
   box-shadow: 1px 1px 10px rgb(128,128,128);

      parent reply	other threads:[~2026-10-31  5:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-31  5:26 [sup-website.git] branch master updated (ee75780 -> 453b88f) Dan Callaghan
2026-10-31  5:26 ` [sup-website.git] 01/03: better redirects for old mhonarc mailing list archives Dan Callaghan
2026-10-31  5:26 ` [sup-website.git] 02/03: set lang="en" globally Dan Callaghan
2026-10-31  5:26 ` Dan Callaghan [this message]

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=20261031052615.C7DD82C712F@bl2.djc.id.au \
    --to=dan@bl2.djc.id.au \
    --cc=djc@djc.id.au \
    --cc=sup-commits@supmua.dev \
    /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