vendor/toolkit/twitter/bootstrap/code.less in twitter-bootswatch-rails-3.0.0.2 vs vendor/toolkit/twitter/bootstrap/code.less in twitter-bootswatch-rails-3.0.1.0
- old
+ new
@@ -1,13 +1,15 @@
//
-// Code (inline and blocK)
+// Code (inline and block)
// --------------------------------------------------
// Inline and block code styles
code,
-pre {
+kbd,
+pre,
+samp {
font-family: @font-family-monospace;
}
// Inline code
code {
@@ -31,22 +33,17 @@
color: @pre-color;
background-color: @pre-bg;
border: 1px solid @pre-border-color;
border-radius: @border-radius-base;
- // Make prettyprint styles more spaced out for readability
- &.prettyprint {
- margin-bottom: @line-height-computed;
- }
-
// Account for some code outputs that place code tags in pre tags
code {
padding: 0;
font-size: inherit;
color: inherit;
white-space: pre-wrap;
background-color: transparent;
- border: 0;
+ border-radius: 0;
}
}
// Enable scrollable blocks of code
.pre-scrollable {