Skip to content

Commit 3fbbf0b

Browse files
authored
Final fixes to ui (#287)
1 parent 6337fe3 commit 3fbbf0b

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

src/css/docs-ndl.css

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,18 @@
33
src: url('https://storage.googleapis.com/neo4j-fonts/Syne%20Neo%20Medium%20Font.otf') format('opentype');
44
}
55

6+
@media screen and (min-width: 1024px) {
7+
body:not(.landing) main > .content {
8+
margin-top: 0;
9+
}
10+
}
11+
12+
@media screen and (min-width: 769px) {
13+
.doc > .sect-header > h1.page:first-child {
14+
margin-top: 0;
15+
}
16+
}
17+
618
body.docs-ndl.hub,
719
body.docs-ndl.explainer {
820
background: rgba(var(--colors-neutral-15));
@@ -152,6 +164,7 @@ body.docs-ndl.explainer .toolbar {
152164

153165
body.docs-ndl .doc a {
154166
text-decoration: none;
167+
cursor: default;
155168
}
156169

157170
body.docs-ndl .doc a::after {
@@ -191,9 +204,9 @@ body.docs-ndl .doc .flex-column {
191204
}
192205

193206
body.docs-ndl .doc > .sect-header > h1.page:first-child {
194-
margin-top: 1rem;
207+
margin-top: 0;
195208
/* font-size: var(--font-size-h1); */
196-
margin-bottom: 2rem;
209+
margin-bottom: 1.5rem;
197210
}
198211

199212
body.docs-ndl.hub .doc div:not(.display) h2 {
@@ -465,6 +478,10 @@ body.docs-ndl .cards .sect2.selectable a {
465478
text-decoration: solid;
466479
}
467480

481+
body.docs-ndl .cards .sect2.selectable .link a:hover {
482+
text-decoration: underline;
483+
}
484+
468485
body.docs-ndl .cards .sect2.selectable:hover div.description {
469486
text-decoration: none;
470487
}
@@ -544,6 +561,7 @@ body.docs-ndl .highlights .list a:hover,
544561
body.docs-ndl .highlights .list a:focus {
545562
text-decoration: none;
546563
background-color: var(--toc_hover-background-color);
564+
cursor: default;
547565
}
548566

549567
body.docs-ndl .highlights .list ul li {
@@ -590,6 +608,7 @@ body.docs-ndl .lists ul li {
590608
body.docs-ndl .lists ul li a {
591609
font-weight: var(--font-weight-normal);
592610
text-decoration: none;
611+
cursor: default;
593612
}
594613

595614
/* cards */
@@ -637,6 +656,7 @@ body.docs-ndl .cards.selectable .sect2:hover {
637656
transition: 0.1s linear;
638657
border: 1px solid var(--page-version-missing-font-color);
639658
box-shadow: 0 1px 2px 0 rgba(26, 27, 29, 0.18);
659+
cursor: default;
640660
}
641661

642662
/* styles for specific types of cards:

0 commit comments

Comments
 (0)