diff options
author | cwm <chriswmartin@protonmail.com> | 2017-12-20 09:50:29 -0600 |
---|---|---|
committer | cwm <chriswmartin@protonmail.com> | 2017-12-20 09:50:29 -0600 |
commit | 9042f9a813e8c909e695ffbe20f81c08eef03b7a (patch) | |
tree | 5b0849a4922055a42b684bd4e2b0a30f190039e2 /app/javascript/flavours/glitch/styles/components | |
parent | 14aae9c05c8e3053897e6bd3b762edbb1073379b (diff) |
add keyboard shortcuts to getting started (fixes #275)
Diffstat (limited to 'app/javascript/flavours/glitch/styles/components')
-rw-r--r-- | app/javascript/flavours/glitch/styles/components/index.scss | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/styles/components/index.scss b/app/javascript/flavours/glitch/styles/components/index.scss index 8f98863d8..06521d708 100644 --- a/app/javascript/flavours/glitch/styles/components/index.scss +++ b/app/javascript/flavours/glitch/styles/components/index.scss @@ -2297,6 +2297,27 @@ } } +.keyboard-shortcuts { + padding: 8px 0 0; + overflow: hidden; + + thead { + position: absolute; + left: -9999px; + } + + td { + padding: 0 10px 8px; + } + + code { + display: inline-block; + padding: 3px 5px; + background-color: lighten($ui-base-color, 8%); + border: 1px solid darken($ui-base-color, 4%); + } +} + .setting-text { color: $ui-primary-color; background: transparent; |