Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Final fixes to ui #287

Merged
merged 3 commits into from
Dec 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 22 additions & 2 deletions src/css/docs-ndl.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
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;
}
}

@media screen and (min-width: 769px) {
.doc > .sect-header > h1.page:first-child {
margin-top: 0;
}
}

body.docs-ndl.hub,
body.docs-ndl.explainer {
background: rgba(var(--colors-neutral-15));
Expand Down Expand Up @@ -152,6 +164,7 @@ body.docs-ndl.explainer .toolbar {

body.docs-ndl .doc a {
text-decoration: none;
cursor: default;
}

body.docs-ndl .doc a::after {
Expand Down Expand Up @@ -191,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: 1.5rem;
}

body.docs-ndl.hub .doc div:not(.display) h2 {
Expand Down Expand Up @@ -465,6 +478,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;
}
Expand Down Expand Up @@ -544,6 +561,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 {
Expand Down Expand Up @@ -590,6 +608,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 */
Expand Down Expand Up @@ -637,6 +656,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:
Expand Down
Loading