commit ee75780e582dad80105f791bd17759242296b63a
parent 9b27813b5b455a4b64198baf8534ddfca9fc72ad
Author: Dan Callaghan <djc@djc.id.au>
Date: Sat, 31 Oct 2026 11:51:43 +1100
use element for keys
Not sure if this is really right but MDN implies this would be more
correct than using . Not that it seems to really matter. Shrug.
Diffstat:
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git 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
@@ -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),