diff --git a/static/style.css b/static/style.css index 0349c29..9c05eff 100644 --- a/static/style.css +++ b/static/style.css @@ -505,6 +505,22 @@ img.emoji { margin: 8px 0 16px 0; } +.keyboard-shortcuts { + margin-top: 12px; +} + +.keyboard-shortcuts td { + padding: 2px 4px; +} + +kbd { + border-radius: 3px; + padding: 1px 4px; + border: 1px solid #444444; + background-color: #eeeeee; + font-size: 10pt; +} + .dark { background-color: #222222; background-image: none; @@ -548,3 +564,9 @@ img.emoji { background-color: #222222; border-color: #444444; } + +.dark kbd { + background-color: #333333; + border-color: #444444; + color: #eaeaea; +} diff --git a/templates/about.tmpl b/templates/about.tmpl index 1f6fda7..2b4d636 100644 --- a/templates/about.tmpl +++ b/templates/about.tmpl @@ -1,7 +1,7 @@ {{with .Data}} {{template "header.tmpl" (WithContext .CommonData $.Ctx)}} -
A web client for Mastodon Network. @@ -14,6 +14,88 @@
User profile | +0 | +
Home timeline | +1 | +
Direct timeline | +2 | +
Local timeline | +3 | +
The Whole Known Network | +4 | +
Search | +5 | +
About | +6 | +
Settings | +7 | +
Signout | +8 | +
Emoji list | +L | +
Edit post | +E | +
Post format | +F | +
Post scope | +S | +
Post NSFW | +N | +
Post attachments | +A | +
Submit post | +P | +
Refresh notifications | +R | +
Read notifications | +C | +
+ You can activate the shortcuts by pressing the associated key with your browser's accesskey modifier, + which is generally Alt + Shift. +
+