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] 04/04: use <kbd> element for keys
Date: Sat, 31 Oct 2026 13:39:57 +1100	[thread overview]
Message-ID: <20261031023953.6EC312B14A0@bl2.djc.id.au> (raw)
In-Reply-To: <179341439302.57629.134319127016661964@bl2.djc.id.au>

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

commit ee75780e582dad80105f791bd17759242296b63a
Author: Dan Callaghan <djc@djc.id.au>
AuthorDate: Sat Oct 31 11:51:43 2026 +1100

    use <kbd> element for keys
    
    Not sure if this is really right but MDN implies this would be more
    correct than using <tt>. Not that it seems to really matter. Shrug.
---
 screenshots/index.md       | 6 +++---
 stylesheets/stylesheet.css | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/screenshots/index.md b/screenshots/index.md
index 1ca77c5..986711a 100644
--- a/screenshots/index.md
+++ b/screenshots/index.md
@@ -7,7 +7,7 @@ layout: gallery
     {% responsive_img 1.4/inbox.png alt: "Screenshot of Sup’s inbox-mode, showing a list of email threads." lazy: true %}
   </a>
   <figcaption>
-    Sup starts in inbox-mode: a list of threads tagged <tt class="code">inbox</tt>.
+    Sup starts in inbox-mode: a list of threads tagged <kbd>inbox</kbd>.
   </figcaption>
 </figure>
 <figure>
@@ -33,7 +33,7 @@ layout: gallery
   </a>
   <figcaption>
     When replying to a message, reply-mode is pre-populated with quoted text.
-    Press <tt class="code">Enter</tt> to edit the reply in your preferred editor.
+    Press <kbd>Enter</kbd> to edit the reply in your preferred editor.
   </figcaption>
 </figure>
 <figure>
@@ -41,7 +41,7 @@ layout: gallery
     {% responsive_img 1.4/help.png alt: "Screenshot of Sup’s help-mode, showing a list of key bindings." lazy: true %}
   </a>
   <figcaption>
-    Press <tt class="code">?</tt> in any mode to see the key bindings for the current mode.
+    Press <kbd>?</kbd> in any mode to see the key bindings for the current mode.
   </figcaption>
 </figure>
 <figure>
diff --git a/stylesheets/stylesheet.css b/stylesheets/stylesheet.css
index 125b0c5..7ed2063 100644
--- a/stylesheets/stylesheet.css
+++ b/stylesheets/stylesheet.css
@@ -186,11 +186,11 @@ blockquote {
   border-left: 1px dotted #666;
 }
 
-tt, pre, code {
+tt, pre, code, kbd {
   font-family: "Iosevka SS09 Web", monospace;
 }
 
-tt.code, pre.code {
+tt.code, pre.code, kbd {
   font-weight: 400;
   color: #b5e853;
   text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1),

      parent reply	other threads:[~2026-10-31  2:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-31  2:39 [sup-website.git] branch master updated (1238c53 -> ee75780) Dan Callaghan
2026-10-31  2:39 ` [sup-website.git] 01/04: make hashes line up on the releases page Dan Callaghan
2026-10-31  2:39 ` [sup-website.git] 02/04: apply the same stylistic variants to monospace as in proportional Dan Callaghan
2026-10-31  2:39 ` [sup-website.git] 03/04: add rudimentary alt text to screenshots Dan Callaghan
2026-10-31  2:39 ` 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=20261031023953.6EC312B14A0@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