Skip to content

Commit 70d2088

Browse files
committed
adding link class for homepage
1 parent 7103bd8 commit 70d2088

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

preview-src/docs-ndl.adoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Learn more about graph databases and start working with your data using Neo4j to
2424
xref:tutorials:index.adoc[Get started]
2525
--
2626

27-
[.cards]
27+
[.cards.selectable]
2828
== CTA cards
2929

3030
[role=label--featured]
@@ -36,7 +36,7 @@ image:icons/ndl/deployment-options.svg[]
3636
[.description]
3737
Choose from self-managed local and cloud deployments, or fully-managed options.
3838

39-
[.link]
39+
[.link.display]
4040
link:https://www.neo4j.com/docs/deployment-options[Get a Neo4j instance]
4141

4242
=== Cypher
@@ -47,7 +47,7 @@ image:icons/ndl/cypher-manual.svg[]
4747
[.description]
4848
Learn how to write Cypher, Neo4j's declarative query language.
4949

50-
[.link]
50+
[.link.display]
5151
link:https://www.neo4j.com/docs/cypher-manual/[Query your data]
5252

5353
=== Neo4j Tools
@@ -58,7 +58,7 @@ image:icons/ndl/neo4j-tools.svg[]
5858
[.description]
5959
Use Neo4j's tools to explore, visualize, manage, monitor, and import data to your graph.
6060

61-
[.link]
61+
[.link.display]
6262
link:https://www.neo4j.com/docs/tools[Discover the products]
6363

6464
=== Graph Data Science
@@ -69,7 +69,7 @@ image:icons/ndl/data-science.svg[]
6969
[.description]
7070
Run graph algorithms and machine learning models to analyze your data at scale.
7171

72-
[.link]
72+
[.link.display]
7373
xref:gds:index.adoc[Unlock insights from data]
7474

7575
=== Create applications
@@ -80,7 +80,7 @@ image:icons/ndl/create-applications.svg[]
8080
[.description]
8181
Discover the client libraries and APIs to develop applications with Neo4j and AuraDB.
8282

83-
[.link]
83+
[.link.display]
8484
xref:create-applications:index.adoc[Start developing]
8585

8686
=== Connect data sources
@@ -91,7 +91,7 @@ image:icons/ndl/connectors.svg[]
9191
[.description]
9292
Learn how to use connectors and other tools to connect Neo4j with other data sources.
9393

94-
[.link]
94+
[.link.display]
9595
xref:connectors:index.adoc[Connect to Neo4j]
9696

9797

src/css/docs-ndl.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,6 @@ body.docs-ndl .lists .sect2 {
651651
line-height: 2rem;
652652
}
653653

654-
body.docs-ndl .cards .sect2:hover,
655654
body.docs-ndl .cards.selectable .sect2:hover,
656655
body.docs-ndl .cards .sect2.selectable:hover {
657656
transition: 0.1s linear;
@@ -830,6 +829,10 @@ body.docs-ndl .cards .sect2.selectable .paragraph.link {
830829
display: none;
831830
}
832831

832+
body.docs-ndl .cards .sect2.selectable .paragraph.link.display {
833+
display: flex;
834+
}
835+
833836
body.docs-ndl .cards.selectable .sect2 .paragraph.link,
834837
body.docs-ndl .cards:not(.selectable) .sect2 .paragraph.link {
835838
box-sizing: border-box;

0 commit comments

Comments
 (0)