From 1df4f12e4e570c2bcfc855a3a4a2e0956a1e0bac Mon Sep 17 00:00:00 2001 From: Brandon Curtis <brandon.curtis@gmail.com> Date: Mon, 28 Aug 2017 11:20:30 -0700 Subject: [PATCH] use <kbd></kbd> for keyboard keys SWC uses block inline attribute lists for e.g. code blocks, but I think this HTML tag is much simpler and more understandable than <pre>*Enter*{:.keyboard} ...</pre> --- assets/css/lesson.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/css/lesson.scss b/assets/css/lesson.scss index 05a00a1..abbaecb 100644 --- a/assets/css/lesson.scss +++ b/assets/css/lesson.scss @@ -159,7 +159,7 @@ span.fold-unfold { // keyboard key style, from StackExchange. //---------------------------------------- -.keyboard { +kbd { display: inline-block; margin: 0 .1em; padding: .1em .6em; -- GitLab