Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap-rubygem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/stylesheets/bootstrap/_code.scss')
-rw-r--r--assets/stylesheets/bootstrap/_code.scss11
1 files changed, 5 insertions, 6 deletions
diff --git a/assets/stylesheets/bootstrap/_code.scss b/assets/stylesheets/bootstrap/_code.scss
index a9ddb4c..ea660bc 100644
--- a/assets/stylesheets/bootstrap/_code.scss
+++ b/assets/stylesheets/bootstrap/_code.scss
@@ -8,8 +8,8 @@ samp {
// Inline code
code {
- padding: .2rem .4rem;
- font-size: 90%;
+ padding: $code-padding-y $code-padding-x;
+ font-size: $code-font-size;
color: $code-color;
background-color: $code-bg;
@include border-radius($border-radius);
@@ -17,8 +17,8 @@ code {
// User input typically entered via keyboard
kbd {
- padding: .2rem .4rem;
- font-size: 90%;
+ padding: $code-padding-y $code-padding-x;
+ font-size: $code-font-size;
color: $kbd-color;
background-color: $kbd-bg;
@include border-radius($border-radius-sm);
@@ -37,8 +37,7 @@ pre {
display: block;
margin-top: 0;
margin-bottom: 1rem;
- font-size: 90%;
- line-height: $line-height;
+ font-size: $code-font-size;
color: $pre-color;
// Account for some code outputs that place code tags in pre tags