From c28d87b03c5db55b3814ee78f468410d458c8091 Mon Sep 17 00:00:00 2001 From: spongycake Date: Wed, 2 Feb 2022 12:26:01 +0000 Subject: [PATCH] headings defined in typography --- src/scss/core/_type.scss | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/scss/core/_type.scss diff --git a/src/scss/core/_type.scss b/src/scss/core/_type.scss new file mode 100644 index 0000000..c955641 --- /dev/null +++ b/src/scss/core/_type.scss @@ -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; +} +