Skip to content

Commit 72bcdc4

Browse files
committed
Update homepage cards to use same hover styling as pagination cards for consistency
1 parent 6f1741b commit 72bcdc4

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

src/components/HomepageFeatures/styles.module.css

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,16 @@
66
}
77

88
.feature {
9-
border: 1px solid var(--ifm-color-primary);
10-
border-radius: 1rem;
11-
padding: 0.5rem;
9+
border: 1px solid var(--ifm-color-emphasis-300);
10+
border-radius: var(--ifm-pagination-nav-border-radius);
11+
padding: var(--ifm-global-spacing);
1212
margin: 0.5rem;
13+
transition: border-color var(--ifm-transition-fast) var(--ifm-transition-timing-default);
14+
15+
&:hover {
16+
border-color: var(--ifm-pagination-nav-color-hover);
17+
text-decoration: none;
18+
}
1319
}
1420

1521
.featureSvg {

0 commit comments

Comments
 (0)