diff options
| author | Mark Otto <[email protected]> | 2014-07-08 01:02:59 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2014-07-08 01:02:59 -0700 |
| commit | 413750a03c5cde563f0378167698be65f3856d7c (patch) | |
| tree | ce44e22f2ad06319aa78ff42a200e4c5dcfe3257 /less/code.less | |
| parent | dae5ec5416b16cc32c4f7caf3ba7e86de20e39f5 (diff) | |
| download | bootstrap-413750a03c5cde563f0378167698be65f3856d7c.tar.xz bootstrap-413750a03c5cde563f0378167698be65f3856d7c.zip | |
rems: code
Diffstat (limited to 'less/code.less')
| -rw-r--r-- | less/code.less | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/less/code.less b/less/code.less index ed75d6bec..fcde30d34 100644 --- a/less/code.less +++ b/less/code.less @@ -13,7 +13,7 @@ samp { // Inline code code { - padding: 2px 4px; + padding: .2rem .4rem; font-size: 90%; color: @code-color; background-color: @code-bg; @@ -22,12 +22,12 @@ code { // User input typically entered via keyboard kbd { - padding: 2px 4px; + padding: .2rem .4rem; 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); + box-shadow: inset 0 -.1rem 0 rgba(0,0,0,.25); kbd { padding: 0; @@ -39,8 +39,9 @@ kbd { // Blocks of code pre { display: block; - padding: ((@line-height-computed - 1) / 2); - margin: 0 0 (@line-height-computed / 2); + padding: 1.5rem; + margin-top: 0; + margin-bottom: 1rem; font-size: 90%; line-height: @line-height-base; color: @pre-color; |
