headings defined in typography

This commit is contained in:
spongycake 2022-02-02 12:26:01 +00:00
parent 2ed7dc362f
commit c28d87b03c
1 changed files with 27 additions and 0 deletions

27
src/scss/core/_type.scss Normal file
View File

@ -0,0 +1,27 @@
// headings
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
margin-top:0;
@include margin-bottom($headings-margin-bottom);
font-family: $font-family;
font-weight: $font-weight-bold;
color: $headings-color;
}
h1, .h1 { @include font-size($h1-font-size); }
h2, .h2 { @include font-size($h2-font-size); }
h3, .h3 { @include font-size($h3-font-size); }
h4, .h4 { @include font-size($h4-font-size); }
h5, .h5 { @include font-size($h5-font-size); }
h6, .h6 { @include font-size($h6-font-size); }
// lead paragraph
.lead {
color: $body-text-color;
@include font-size($lead-font-size);
font-weight: $lead-font-weight;
margin-top:0;
}