From: Cecchi MacNaughton Date: Tue, 15 Apr 2014 21:12:39 +0000 (-0700) Subject: Add nested kbd element styles for actual keys or inputs X-Git-Tag: v3.2.0~73^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f18bff0a7c10fe7afe4276029e9eda15e1f0c227;p=thirdparty%2Fbootstrap.git Add nested kbd element styles for actual keys or inputs --- diff --git a/docs/_includes/css/code.html b/docs/_includes/css/code.html index 0d13961456..188bd18cad 100644 --- a/docs/_includes/css/code.html +++ b/docs/_includes/css/code.html @@ -13,7 +13,8 @@ For example, <section> should be wrapped as inline.

User input

Use the <kbd> to indicate input that is typically entered via keyboard.

- To switch directories, type cd followed by the name of the directory. + To switch directories, type cd followed by the name of the directory.
+ To edit settings, press ctrl + ,
{% highlight html %} To switch directories, type cd followed by the name of the directory. diff --git a/less/code.less b/less/code.less index 4d0eadc6d6..baa13df613 100644 --- a/less/code.less +++ b/less/code.less @@ -28,6 +28,12 @@ kbd { background-color: @kbd-bg; border-radius: @border-radius-small; box-shadow: inset 0 -1px 0 rgba(0,0,0,.25); + + kbd { + padding: 0; + font-size: 100%; + box-shadow: none; + } } // Blocks of code