diff options
| author | Andres Galante <[email protected]> | 2017-10-23 10:13:18 -0300 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2017-10-30 13:11:47 -0700 |
| commit | 1870b871d0b6ad7c842aab780dbd5541d84f3428 (patch) | |
| tree | b859121c9f23c8c58224826f27dfe91261b8e8fc | |
| parent | 904f22c94f58eadc541d3acd52214be5349fbb71 (diff) | |
| download | bootstrap-1870b871d0b6ad7c842aab780dbd5541d84f3428.tar.xz bootstrap-1870b871d0b6ad7c842aab780dbd5541d84f3428.zip | |
adds variables for the hr element margin
| -rw-r--r-- | scss/_type.scss | 4 | ||||
| -rw-r--r-- | scss/_variables.scss | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/scss/_type.scss b/scss/_type.scss index b1b8f61cf..57d610f0c 100644 --- a/scss/_type.scss +++ b/scss/_type.scss @@ -53,8 +53,8 @@ h6, .h6 { font-size: $h6-font-size; } // hr { - margin-top: 1rem; - margin-bottom: 1rem; + margin-top: $hr-margin-y; + margin-bottom: $hr-margin-y; border: 0; border-top: $hr-border-width solid $hr-border-color; } diff --git a/scss/_variables.scss b/scss/_variables.scss index 6fb34289e..3974d0240 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -282,7 +282,9 @@ $nested-kbd-font-weight: $font-weight-bold !default; $list-inline-padding: 5px !default; -$mark-bg: #fcf8e3 !default; +$mark-bg: #fcf8e3 !default; + +$hr-margin-y: $spacer !default; // Tables |
