2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-15 11:59:39 +03:00

Fixes #11193: Add kbd element styles to indicate user input via keyboard

This commit is contained in:
Mark Otto
2013-12-07 12:18:13 -08:00
parent fe58357df1
commit b1215d1b2e
6 changed files with 42 additions and 4 deletions
+10
View File
@@ -21,6 +21,16 @@ code {
border-radius: @border-radius-base;
}
// User input typically entered via keyboard
kbd {
padding: 2px 4px;
font-size: 90%;
color: @kbd-color;
background-color: @kbd-bg;
border-radius: @border-radius-small;
box-shadow: inset 0 -1px 0 rgba(0,0,0,.25);
}
// Blocks of code
pre {
display: block;