From ba2d4bab1e851d5e7a494416ca57f4ca7bf0d8ee Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Tue, 24 Apr 2018 15:48:26 +0400 Subject: [PATCH] Decor typography Signed-off-by: Valentin Popov --- _scss/components/theme/_typography.scss | 50 +++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 _scss/components/theme/_typography.scss diff --git a/_scss/components/theme/_typography.scss b/_scss/components/theme/_typography.scss new file mode 100644 index 0000000..9772d6c --- /dev/null +++ b/_scss/components/theme/_typography.scss @@ -0,0 +1,50 @@ +b, +strong { + font-weight: bold; +} + +p { + margin-top: 0; +} + + +h1, +h2, +h3, +h4, +h5, +h6 { + font-weight: 300; + margin-bottom: 2rem; + margin-top: 0; +} + +h1 { + font-size: 4.6rem; + line-height: 1.2; +} + +h2 { + font-size: 3.6rem; + line-height: 1.25; +} + +h3 { + font-size: 2.8rem; + line-height: 1.3; +} + +h4 { + font-size: 2.2rem; + line-height: 1.35; +} + +h5 { + font-size: 1.8rem; + line-height: 1.5; +} + +h6 { + font-size: 1.6rem; + line-height: 1.4; +}