Fixed #26: Better highlighting for keystrokes

This commit is contained in:
squidfunk
2016-05-16 16:32:29 +02:00
parent 016b1a227d
commit e30b60b1e6
8 changed files with 26 additions and 5 deletions

View File

@@ -57,6 +57,18 @@
background: #eee;
}
/*
* Keyboard tags
*/
kbd {
color: #555;
background-color: #fcfcfc;
border: solid 1px #ccc;
border-bottom-color: #bbb;
border-radius: 3px;
box-shadow: inset 0 -1px 0 #bbb;
}
/*
* Lower border for main headline
*/

View File

@@ -193,6 +193,15 @@
padding: 2px 4px;
}
/*
* Keyboard tags
*/
kbd {
display: inline-block;
padding: 3px 5px;
line-height: 10px;
}
/*
* Add spacing at top of separator
*/

View File

@@ -46,7 +46,7 @@ body, input {
/*
* Proportional fonts
*/
pre, code {
pre, code, kbd {
font-family: 'Courier New', 'Courier', monospace;
/*