mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
Merge pull request #18215 from twbs/hN-simplify
Consolidate redundant heading style declaration
This commit is contained in:
commit
c831e83ec8
@ -4,21 +4,13 @@
|
|||||||
|
|
||||||
h1, h2, h3, h4, h5, h6,
|
h1, h2, h3, h4, h5, h6,
|
||||||
.h1, .h2, .h3, .h4, .h5, .h6 {
|
.h1, .h2, .h3, .h4, .h5, .h6 {
|
||||||
|
margin-bottom: $headings-margin-bottom;
|
||||||
font-family: $headings-font-family;
|
font-family: $headings-font-family;
|
||||||
font-weight: $headings-font-weight;
|
font-weight: $headings-font-weight;
|
||||||
line-height: $headings-line-height;
|
line-height: $headings-line-height;
|
||||||
color: $headings-color;
|
color: $headings-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, .h1,
|
|
||||||
h2, .h2,
|
|
||||||
h3, .h3,
|
|
||||||
h4, .h4,
|
|
||||||
h5, .h5,
|
|
||||||
h6, .h6 {
|
|
||||||
margin-bottom: $headings-margin-bottom;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1 { font-size: $font-size-h1; }
|
h1 { font-size: $font-size-h1; }
|
||||||
h2 { font-size: $font-size-h2; }
|
h2 { font-size: $font-size-h2; }
|
||||||
h3 { font-size: $font-size-h3; }
|
h3 { font-size: $font-size-h3; }
|
||||||
|
Loading…
Reference in New Issue
Block a user