From b2a075d0178890b78b184df88d944068efca69e0 Mon Sep 17 00:00:00 2001 From: lidiazuin Date: Mon, 16 Dec 2024 14:02:45 +0100 Subject: [PATCH] adjusting padding on header --- src/css/docs-ndl.css | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/css/docs-ndl.css b/src/css/docs-ndl.css index fa59b1f..4d221e5 100644 --- a/src/css/docs-ndl.css +++ b/src/css/docs-ndl.css @@ -4,7 +4,13 @@ } @media screen and (min-width: 1024px) { - body:not(.landing) main>.content { + body:not(.landing) main > .content { + margin-top: 0; + } +} + +@media screen and (min-width: 769px) { + .doc > .sect-header > h1.page:first-child { margin-top: 0; } } @@ -198,9 +204,9 @@ body.docs-ndl .doc .flex-column { } body.docs-ndl .doc > .sect-header > h1.page:first-child { - margin-top: 1rem; + margin-top: 0; /* font-size: var(--font-size-h1); */ - margin-bottom: 2rem; + margin-bottom: 1rem; } body.docs-ndl.hub .doc div:not(.display) h2 {