Skip to content

Commit 378b2ae

Browse files
committed
Border lines and hover effect fixed
1 parent 71ec077 commit 378b2ae

File tree

3 files changed

+16
-11
lines changed

3 files changed

+16
-11
lines changed

preview-src/docs-ndl.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ link:https://discord.com/invite/neo4j[Discord]
217217
image:icons/ndl/icon-developercenter.svg[]
218218

219219
[.link]
220-
link:https://neo4j.com/developer-blog/[Developer blog] xref:reference:resources.adoc[Other resources]
220+
link:https://neo4j.com/developer-blog/[Developer blog] link:https://www.neo4.com/docs/reference/resources[Other resources]
221221

222222

223223

src/css/doc.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1266,8 +1266,7 @@ body {
12661266
}
12671267

12681268
.doc a.external:hover::after {
1269-
top: -12px;
1270-
opacity: 0;
1269+
text-decoration: underline;
12711270
}
12721271

12731272
.doc .no-arrows a::after {

src/css/docs-ndl.css

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -219,10 +219,12 @@ body.docs-ndl .widget .sectionbody {
219219
row-gap: 0;
220220
justify-content: center;
221221
align-content: center;
222+
border: 1px solid var(--panel-border-color);
222223
}
223224

224225
body.docs-ndl .widget.lists .sectionbody {
225226
justify-content: space-between;
227+
line-height: 24px;
226228
}
227229

228230
body.docs-ndl .widget.banner .sectionbody {
@@ -438,9 +440,9 @@ body.docs-ndl .cards .sect2.selectable a {
438440
}
439441

440442
body.docs-ndl .cards .sect2.selectable a:hover {
441-
transform: scale(1.02);
442443
transition: 0.1s linear;
443-
box-shadow: 0 4px 8px 0 rgba(12, 26, 37, 0.08);
444+
border: 1px solid var(--page-version-missing-font-color);
445+
box-shadow: 0 1px 2px 0 rgba(26, 27, 29, 0.18);
444446
}
445447

446448
body.docs-ndl .cards .sect2.selectable:hover div.description {
@@ -582,15 +584,18 @@ body.docs-ndl .sect2 {
582584

583585
body.docs-ndl .cards .sectionbody > div.sect2 {
584586
flex: 0 1 32%;
587+
border: 1px solid var(--panel-border-color);
585588
/* margin-right: 1rem; */
586589
}
587590

588591
body.docs-ndl .cards.bottom-cards .sectionbody > div.sect2 {
589592
flex: 0 1 49%;
593+
border: 1px solid var(--panel-border-color);
590594
}
591595

592596
body.docs-ndl.explainer .sectionbody > div.sect2 {
593597
flex: 0 1 49%;
598+
border: 1px solid var(--panel-border-color);
594599
}
595600

596601
body.docs-ndl .cards .sect2 > a,
@@ -606,22 +611,23 @@ body.docs-ndl .lists .sect2 {
606611
/* min-width: 30%; */
607612
padding: 1rem;
608613
background: var(--color-white);
614+
line-height: 2rem;
609615
}
610616

611617
body.docs-ndl .cards .sect2 a::before,
612618
body.docs-ndl .cards:not(.selectable) .sect2 a::before {
613619
content: "";
614620
position: absolute;
615-
top: 0px;
616-
right: 0px;
617-
bottom: 0px;
618-
left: 0px;
621+
top: 0;
622+
right: 0;
623+
bottom: 0;
624+
left: 0;
619625
}
620626

621627
body.docs-ndl .cards:not(.selectable) .sect2:hover {
622-
transform: scale(1.02);
623628
transition: 0.1s linear;
624-
box-shadow: 0 4px 8px 0 rgba(12, 26, 37, 0.08);
629+
border: 1px solid var(--page-version-missing-font-color);
630+
box-shadow: 0 1px 2px 0 rgba(26, 27, 29, 0.18);
625631
}
626632

627633
/* styles for specific types of cards:

0 commit comments

Comments
 (0)