From 0c8cdaa76f16acc1ef48cc1ef156199d66dec779 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 5 Jan 2018 01:27:12 +0100 Subject: [PATCH] css: improved styling for landing page title. It's a bit bigger now, with some more padding around and a possibility to control its casing. --- css/m-components.css | 7 +++++++ css/m-dark.css | 1 + css/m-light.css | 1 + 3 files changed, 9 insertions(+) diff --git a/css/m-components.css b/css/m-components.css index dc9f7aff..287c4506 100644 --- a/css/m-components.css +++ b/css/m-components.css @@ -453,6 +453,13 @@ article section > h4 a, article section > h5 a, article section > h6 a { height: 30rem; margin-bottom: -26rem; } +#m-landing-cover h1 { + font-size: 2.8rem; + margin-top: -0.5rem; + padding-left: var(--paragraph-indent); + padding-bottom: 1rem; + text-transform: var(--landing-header-case); +} #m-landing-cover { padding-bottom: 10rem; margin-bottom: -6rem; diff --git a/css/m-dark.css b/css/m-dark.css index fa8f8958..d82b2a17 100644 --- a/css/m-dark.css +++ b/css/m-dark.css @@ -41,6 +41,7 @@ --nav-menu-case: none; --nav-heading-case: uppercase; --nav-categories-case: lowercase; + --landing-header-case: lowercase; --heading-font-weight: bold; /* Shapes */ diff --git a/css/m-light.css b/css/m-light.css index 22cf5e3d..4fca3ed1 100644 --- a/css/m-light.css +++ b/css/m-light.css @@ -41,6 +41,7 @@ --nav-menu-case: lowercase; --nav-heading-case: uppercase; --nav-categories-case: lowercase; + --landing-header-case: lowercase; --heading-font-weight: normal; /* Shapes */ -- 2.30.2