From 6b2553ef517101310fcf65a7c682aa92d4905738 Mon Sep 17 00:00:00 2001 From: lidiazuin Date: Mon, 16 Dec 2024 13:35:36 +0100 Subject: [PATCH 1/3] Final fixes to ui --- src/css/docs-ndl.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/css/docs-ndl.css b/src/css/docs-ndl.css index 8e72e6d8..fa59b1fc 100644 --- a/src/css/docs-ndl.css +++ b/src/css/docs-ndl.css @@ -3,6 +3,12 @@ src: url('https://storage.googleapis.com/neo4j-fonts/Syne%20Neo%20Medium%20Font.otf') format('opentype'); } +@media screen and (min-width: 1024px) { + body:not(.landing) main>.content { + margin-top: 0; + } +} + body.docs-ndl.hub, body.docs-ndl.explainer { background: rgba(var(--colors-neutral-15)); @@ -152,6 +158,7 @@ body.docs-ndl.explainer .toolbar { body.docs-ndl .doc a { text-decoration: none; + cursor: default; } body.docs-ndl .doc a::after { @@ -465,6 +472,10 @@ body.docs-ndl .cards .sect2.selectable a { text-decoration: solid; } +body.docs-ndl .cards .sect2.selectable .link a:hover { + text-decoration: underline; +} + body.docs-ndl .cards .sect2.selectable:hover div.description { text-decoration: none; } @@ -544,6 +555,7 @@ body.docs-ndl .highlights .list a:hover, body.docs-ndl .highlights .list a:focus { text-decoration: none; background-color: var(--toc_hover-background-color); + cursor: default; } body.docs-ndl .highlights .list ul li { @@ -590,6 +602,7 @@ body.docs-ndl .lists ul li { body.docs-ndl .lists ul li a { font-weight: var(--font-weight-normal); text-decoration: none; + cursor: default; } /* cards */ @@ -637,6 +650,7 @@ body.docs-ndl .cards.selectable .sect2:hover { transition: 0.1s linear; border: 1px solid var(--page-version-missing-font-color); box-shadow: 0 1px 2px 0 rgba(26, 27, 29, 0.18); + cursor: default; } /* styles for specific types of cards: From b2a075d0178890b78b184df88d944068efca69e0 Mon Sep 17 00:00:00 2001 From: lidiazuin Date: Mon, 16 Dec 2024 14:02:45 +0100 Subject: [PATCH 2/3] 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 fa59b1fc..4d221e5a 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 { From 27ff223110b1a9fc018149f786067906ce567231 Mon Sep 17 00:00:00 2001 From: lidiazuin Date: Mon, 16 Dec 2024 14:12:15 +0100 Subject: [PATCH 3/3] fix padding; --- src/css/docs-ndl.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/css/docs-ndl.css b/src/css/docs-ndl.css index 4d221e5a..1b2c411d 100644 --- a/src/css/docs-ndl.css +++ b/src/css/docs-ndl.css @@ -11,7 +11,7 @@ @media screen and (min-width: 769px) { .doc > .sect-header > h1.page:first-child { - margin-top: 0; + margin-top: 0; } } @@ -206,7 +206,7 @@ body.docs-ndl .doc .flex-column { body.docs-ndl .doc > .sect-header > h1.page:first-child { margin-top: 0; /* font-size: var(--font-size-h1); */ - margin-bottom: 1rem; + margin-bottom: 1.5rem; } body.docs-ndl.hub .doc div:not(.display) h2 {