Extract $code-padding-{x,y} variables

[skip sauce]
[skip validator]
This commit is contained in:
Chris Rebert 2016-02-16 22:45:26 -08:00
parent 881e51d4a7
commit 67ecc8ca98
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;