From a50b14329b0374670203c6af4bada3778e092695 Mon Sep 17 00:00:00 2001 From: xiaody Date: Fri, 13 Sep 2013 21:27:27 +0800 Subject: [PATCH] Use tag in keyboard shortcuts; --- app/assets/stylesheets/common/inline.css.scss | 2 +- app/views/static/keyboard_shortcuts.html.erb | 28 +++++++++---------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/app/assets/stylesheets/common/inline.css.scss b/app/assets/stylesheets/common/inline.css.scss index 1c6b20684..fe76fceec 100644 --- a/app/assets/stylesheets/common/inline.css.scss +++ b/app/assets/stylesheets/common/inline.css.scss @@ -23,7 +23,7 @@ span.count { span.edit-options { } -span.key { +kbd.key { background: #333; border: 1px solid #333; padding: 1px 6px; diff --git a/app/views/static/keyboard_shortcuts.html.erb b/app/views/static/keyboard_shortcuts.html.erb index 7c1f98376..8132ab277 100644 --- a/app/views/static/keyboard_shortcuts.html.erb +++ b/app/views/static/keyboard_shortcuts.html.erb @@ -5,26 +5,26 @@

Listing

    -
  • a Previous page
  • -
  • d Next page
  • -
  • q Search
  • -
  • w Scroll up
  • -
  • s Scroll down
  • +
  • a Previous page
  • +
  • d Next page
  • +
  • q Search
  • +
  • w Scroll up
  • +
  • s Scroll down

Post

    -
  • n New note
  • -
  • e Edit tags
  • -
  • shift+e Edit tags in dialog window
  • -
  • q Search
  • -
  • w Scroll up
  • -
  • s Scroll down
  • -
  • a Previous post
  • -
  • d Next post
  • -
  • f Favorite post
  • +
  • n New note
  • +
  • e Edit tags
  • +
  • shift+e Edit tags in dialog window
  • +
  • q Search
  • +
  • w Scroll up
  • +
  • s Scroll down
  • +
  • a Previous post
  • +
  • d Next post
  • +
  • f Favorite post