diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2014-02-27 00:25:58 -0700 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2014-02-27 00:25:58 -0700 |
| commit | d3269b6fd3c82fe63c2acefbd646215f4f824922 (patch) | |
| tree | 9399a6f18e41b08f7c454b844a10f5e2a5fcbeb7 | |
| parent | d98c8e9cd5e5793fdab6da7a0a6f37eb8349878b (diff) | |
update styles to reflect change in kbd macro HTML
| -rw-r--r-- | data/stylesheets/asciidoctor-default.css | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/data/stylesheets/asciidoctor-default.css b/data/stylesheets/asciidoctor-default.css index e927bef7..90e102b5 100644 --- a/data/stylesheets/asciidoctor-default.css +++ b/data/stylesheets/asciidoctor-default.css @@ -137,10 +137,10 @@ table thead tr th, table tfoot tr th, table tbody tr td, table tr td, table tfoo .clearfix:after, .float-group:after { clear: both; } *:not(pre) > code { font-size: 0.9375em; padding: 1px 3px 0; white-space: nowrap; background-color: #f2f2f2; border: 1px solid #cccccc; -webkit-border-radius: 4px; border-radius: 4px; text-shadow: none; } pre, pre > code { line-height: 1.4; color: inherit; font-family: Consolas, "Liberation Mono", Courier, monospace; font-weight: normal; } -kbd.keyseq { color: #555555; } +.keyseq { color: #555555; } kbd:not(.keyseq) { display: inline-block; color: #222222; font-size: 0.75em; line-height: 1.4; background-color: #F7F7F7; border: 1px solid #ccc; -webkit-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px white inset; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 2px white inset; margin: -0.15em 0.15em 0 0.15em; padding: 0.2em 0.6em 0.2em 0.5em; vertical-align: middle; white-space: nowrap; } -kbd kbd:first-child { margin-left: 0; } -kbd kbd:last-child { margin-right: 0; } +.keyseq kbd:first-child { margin-left: 0; } +.keyseq kbd:last-child { margin-right: 0; } .menuseq, .menu { color: #090909; } b.button:before, b.button:after { position: relative; top: -1px; font-weight: normal; } b.button:before { content: "["; padding: 0 3px 0 2px; } |
