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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -53,7 +53,7 @@
font-style: normal; font-style: normal;
} }
</style> </style>
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-d83054620e.css"> <link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-0dac3e5884.css">
{% if config.extra.palette %} {% if config.extra.palette %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/palettes-05ab2406df.css"> <link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/palettes-05ab2406df.css">
{% endif %} {% endif %}

View File

@ -2,6 +2,6 @@
"assets/images/favicon.ico": "assets/images/favicon-e565ddfa3b.ico", "assets/images/favicon.ico": "assets/images/favicon-e565ddfa3b.ico",
"assets/javascripts/application.js": "assets/javascripts/application-997097ee0c.js", "assets/javascripts/application.js": "assets/javascripts/application-997097ee0c.js",
"assets/javascripts/modernizr.js": "assets/javascripts/modernizr-4ab42b99fd.js", "assets/javascripts/modernizr.js": "assets/javascripts/modernizr-4ab42b99fd.js",
"assets/stylesheets/application.css": "assets/stylesheets/application-d83054620e.css", "assets/stylesheets/application.css": "assets/stylesheets/application-0dac3e5884.css",
"assets/stylesheets/palettes.css": "assets/stylesheets/palettes-05ab2406df.css" "assets/stylesheets/palettes.css": "assets/stylesheets/palettes-05ab2406df.css"
} }

View File

@ -57,6 +57,18 @@
background: #eee; 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 * Lower border for main headline
*/ */

View File

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

View File

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