Skip to content

Commit 2ba142f

Browse files
leifhanackclaude
andcommitted
Fix hero CTA hover styles broken by /simplify cleanup
Docusaurus's global a:hover adds underline and overrides link color, so hover rules must explicitly set color and text-decoration: none. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 69153c0 commit 2ba142f

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/pages/index.module.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@
6565
}
6666

6767
.ctaPrimary:hover {
68+
color: #E91E8C;
6869
background: rgba(255, 255, 255, 0.92);
70+
text-decoration: none;
6971
}
7072

7173
.ctaSecondary {
@@ -76,7 +78,9 @@
7678
}
7779

7880
.ctaSecondary:hover {
81+
color: white;
7982
background: rgba(255, 255, 255, 0.08);
83+
text-decoration: none;
8084
}
8185

8286
/* Content */
@@ -119,6 +123,7 @@
119123
.card:hover {
120124
border-color: #ccc;
121125
background: #fafafa;
126+
text-decoration: none;
122127
}
123128

124129
.cardTitle {
@@ -186,7 +191,9 @@
186191
}
187192

188193
.federationBtn:hover {
194+
color: white;
189195
background: #d01a7e;
196+
text-decoration: none;
190197
}
191198

192199
/* Dark mode */

0 commit comments

Comments
 (0)