0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

Merge pull request #19247 from twbs/code-padding-vars

Extract $code-padding-{x,y} variables
This commit is contained in:
Chris Rebert 2016-02-16 22:49:16 -08:00
commit d8ac2f5de2
2 changed files with 4 additions and 2 deletions

View File

@ -8,7 +8,7 @@ samp {
// Inline code
code {
padding: .2rem .4rem;
padding: $code-padding-y $code-padding-x;
font-size: $code-font-size;
color: $code-color;
background-color: $code-bg;
@ -17,7 +17,7 @@ code {
// User input typically entered via keyboard
kbd {
padding: .2rem .4rem;
padding: $code-padding-y $code-padding-x;
font-size: $code-font-size;
color: $kbd-color;
background-color: $kbd-bg;

View File

@ -787,6 +787,8 @@ $close-text-shadow: 0 1px 0 #fff !default;
// Code
$code-font-size: 90% !default;
$code-padding-x: .4rem !default;
$code-padding-y: .2rem !default;
$code-color: #bd4147 !default;
$code-bg: #f7f7f9 !default;