commit 453b88f161c98029c8e53e6a799e8a8c5c18b972
parent ef2284520ef5671e2e9abcaec05c516c4043b918
Author: Dan Callaghan <djc@djc.id.au>
Date: Sat, 31 Oct 2026 16:25:07 +1100
use semantic sectioning elements
Diffstat:
5 files changed, 9 insertions(+), 13 deletions(-)
diff --git 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
@@ -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
@@ -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
@@ -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
@@ -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);