Skip to content

Commit e4b016b

Browse files
authored
Merge pull request #211 from faweizhao26/codex/homepage-button-hover
fix(homepage): remove default hero button highlight
2 parents b27d258 + 257cebb commit e4b016b

1 file changed

Lines changed: 1 addition & 22 deletions

File tree

src/pages/index.module.css

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@
440440
align-items: center;
441441
justify-content: center;
442442
border: 1px solid rgba(198, 220, 255, 0.68);
443-
background: linear-gradient(180deg, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0.10) 100%);
443+
background: transparent;
444444
box-shadow:
445445
0 0 0 1px rgba(255, 255, 255, 0.08) inset,
446446
0 10px 22px rgba(6, 22, 70, 0.22);
@@ -463,16 +463,6 @@
463463
padding-right: 1rem;
464464
}
465465

466-
.actionButton:first-child {
467-
border-color: rgba(251, 175, 66, 0.96);
468-
background: linear-gradient(135deg, #fbb44f 0%, #f79e1f 100%);
469-
color: #ffffff;
470-
box-shadow:
471-
0 0 0 3px rgba(251, 175, 66, 0.22),
472-
0 14px 30px rgba(245, 151, 23, 0.42),
473-
0 4px 12px rgba(0, 0, 0, 0.18);
474-
}
475-
476466
.actionButton:hover {
477467
color: #ffffff;
478468
border-color: rgba(251, 175, 66, 0.94);
@@ -483,17 +473,6 @@
483473
0 18px 36px rgba(245, 151, 23, 0.36);
484474
}
485475

486-
.actionButton:first-child:hover {
487-
color: #ffffff;
488-
border-color: rgba(252, 188, 92, 0.98);
489-
background: linear-gradient(135deg, #fcbf61 0%, #faa12f 100%);
490-
transform: translateY(-3px) scale(1.04);
491-
box-shadow:
492-
0 0 0 4px rgba(251, 175, 66, 0.32),
493-
0 20px 40px rgba(245, 151, 23, 0.46),
494-
0 4px 12px rgba(0, 0, 0, 0.15);
495-
}
496-
497476
/* ── SQL Terminal in Hero ── */
498477
.sqlTerminal {
499478
width: 100%;

0 commit comments

Comments
 (0)