mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-18 10:52:19 +01:00
Merge pull request #8237 from luishdez/feature/var-heading-family
Add heading font family variable
This commit is contained in:
commit
3c60645ec0
@ -54,6 +54,7 @@ a.text-success:focus { color: darken(@state-success-text, 10%); }
|
|||||||
|
|
||||||
h1, h2, h3, h4, h5, h6,
|
h1, h2, h3, h4, h5, h6,
|
||||||
.h1, .h2, .h3, .h4, .h5, .h6 {
|
.h1, .h2, .h3, .h4, .h5, .h6 {
|
||||||
|
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;
|
||||||
small {
|
small {
|
||||||
|
@ -53,6 +53,7 @@
|
|||||||
@line-height-base: 1.428571429; // 20/14
|
@line-height-base: 1.428571429; // 20/14
|
||||||
@line-height-computed: floor(@font-size-base * @line-height-base); // ~20px
|
@line-height-computed: floor(@font-size-base * @line-height-base); // ~20px
|
||||||
|
|
||||||
|
@headings-font-family: @font-family-sans-serif;
|
||||||
@headings-font-weight: 500;
|
@headings-font-weight: 500;
|
||||||
@headings-line-height: 1.1;
|
@headings-line-height: 1.1;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user