diff --git a/client/css/style.css b/client/css/style.css index d662d30a..d05b73f5 100644 --- a/client/css/style.css +++ b/client/css/style.css @@ -80,7 +80,6 @@ button { } code, -kbd, pre, .irc-monospace, textarea#user-specified-css-input { @@ -89,7 +88,7 @@ textarea#user-specified-css-input { code, .irc-monospace { - font-size: 12px; + font-size: 13px; padding: 2px 4px; color: #e74c3c; background-color: #f9f2f4; @@ -111,16 +110,19 @@ pre { kbd { display: inline-block; - font-size: 11px; - line-height: 10px; - padding: 3px 5px; - color: #555; - vertical-align: middle; - background-color: #fcfcfc; - border: solid 1px #ccc; - border-bottom-color: #bbb; - border-radius: 3px; - box-shadow: inset 0 -1px 0 #bbb; + font-family: inherit; + line-height: 1em; + min-width: 28px; /* Ensure 1-char keys have the same width */ + margin: 0 1px; + padding: 4px 6px; + color: #444; + text-align: center; + text-shadow: 0 1px 0 #fff; + background-color: white; + background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.05), transparent); + border: 1px solid #bbb; + border-radius: 4px; + box-shadow: 0 2px 0 #bbb, inset 0 1px 1px #fff, inset 0 -1px 3px #ccc; } .btn { diff --git a/client/themes/morning.css b/client/themes/morning.css index 2da76313..24c3caac 100644 --- a/client/themes/morning.css +++ b/client/themes/morning.css @@ -213,6 +213,15 @@ code, color: #f3f3f3; } +kbd { + color: #eee; + text-shadow: 0 -1px 0 #000; + border-color: #000; + background-color: #333; + background-image: linear-gradient(rgba(0, 0, 0, 0.25), transparent); + box-shadow: 0 2px 0 #000, inset 0 1px 1px #777, inset 0 -1px 3px #222; +} + /* Embeds */ #chat .toggle-content { background: #242a33; diff --git a/client/themes/zenburn.css b/client/themes/zenburn.css index 66808418..a757913d 100644 --- a/client/themes/zenburn.css +++ b/client/themes/zenburn.css @@ -239,6 +239,15 @@ code, color: #dcdccc; } +kbd { + color: #eee; + text-shadow: 0 -1px 0 #000; + border-color: #000; + background-color: #333; + background-image: linear-gradient(rgba(0, 0, 0, 0.25), transparent); + box-shadow: 0 2px 0 #000, inset 0 1px 1px #777, inset 0 -1px 3px #222; +} + /* Previews */ #chat .toggle-content { diff --git a/client/views/windows/help.tpl b/client/views/windows/help.tpl index e97cd92e..06ab6a84 100644 --- a/client/views/windows/help.tpl +++ b/client/views/windows/help.tpl @@ -49,25 +49,48 @@
- Alt + Shift + / + Alt Shift +
-

Switch to the previous/next lobby in the channel list.

+

Switch to the next lobby in the channel list.

- Alt + / + Alt Shift +
-

Switch to the previous/next window in the channel list.

+

Switch to the previous lobby in the channel list.

- Ctrl + K + Alt + +
+
+

Switch to the next window in the channel list.

+
+
+ +
+
+ Alt + +
+
+

Switch to the previous window in the channel list.

+
+
+ +
+
+ Ctrl K + K

@@ -90,52 +113,58 @@

- Ctrl + B + Ctrl B + B
-

Mark all text typed after this shortcut as bold.

+

Mark all text typed after this shortcut as bold.

- Ctrl + U + Ctrl U + U
-

Mark all text typed after this shortcut as underlined.

+

Mark all text typed after this shortcut as underlined.

- Ctrl + I + Ctrl I + I
-

Mark all text typed after this shortcut as italics.

+

Mark all text typed after this shortcut as italics.

- Ctrl + S + Ctrl S + S
-

Mark all text typed after this shortcut as struck through.

+

Mark all text typed after this shortcut as struck through.

- Ctrl + M + Ctrl M + M
-

Mark all text typed after this shortcut as monospaced.

+

Mark all text typed after this shortcut as monospaced.

- Ctrl + O + Ctrl O + O