Skip to content

Commit 356e625

Browse files
authored
Making all card styles clickable (#298)
1 parent 473d328 commit 356e625

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

preview-src/docs-ndl.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -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: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -825,10 +825,14 @@ body.docs-ndl .cards .sect2 .paragraph:not(.icon) {
825825
/* flex-grow: 1; */
826826
}
827827

828-
body.docs-ndl .cards .sect2.selectable .paragraph.link {
828+
body.docs-ndl .cards .sect2.selectable .paragraph.link:not(.display) {
829829
display: none;
830830
}
831831

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

0 commit comments

Comments
 (0)