mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-07-23 22:33:42 -04:00
Fixed #26: Better highlighting for keystrokes
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
@@ -46,7 +46,7 @@ body, input {
|
||||
/*
|
||||
* Proportional fonts
|
||||
*/
|
||||
pre, code {
|
||||
pre, code, kbd {
|
||||
font-family: 'Courier New', 'Courier', monospace;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user