Skip to content

Commit 4f7ffac

Browse files
committed
Remove the translate effect from menus, buttons etc
1 parent 657798b commit 4f7ffac

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

feascript-website.css

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ a {
102102

103103
#menu li a:hover {
104104
color: #333;
105-
transform: translateY(-2px);
106105
cursor: default;
107106
transition: transform 0.2s;
108107
display: inline-block;
@@ -364,7 +363,7 @@ mjx-container {
364363

365364
.tutorials-list li:hover {
366365
box-shadow: 0 5px 18px rgba(0, 0, 0, 0.11);
367-
transform: translateY(-2px);
366+
/* transform: translateY(-2px); */
368367
}
369368

370369
.tutorial-card-content {
@@ -420,8 +419,9 @@ mjx-container {
420419
}
421420

422421
.tutorials-list .badge:hover {
423-
transform: translateY(-2px);
422+
/* transform: translateY(-2px); */
424423
cursor: default;
424+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
425425
}
426426

427427
/* Badge variants */
@@ -563,7 +563,6 @@ mjx-container {
563563

564564
.btn-codepen:hover {
565565
background: #35ba5f;
566-
transform: translateY(-2px);
567566
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
568567
}
569568

@@ -609,7 +608,6 @@ mjx-container {
609608

610609
.btn-video-quickstart:hover {
611610
background: #e60000;
612-
transform: translateY(-2px);
613611
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
614612
color: #fff;
615613
}
@@ -771,16 +769,6 @@ mjx-container {
771769
transition: all 0.2s ease;
772770
}
773771

774-
/* Sponsor link styles */
775-
.sponsor-link {
776-
display: inline-block;
777-
transition: transform 0.2s;
778-
}
779-
780-
.sponsor-link:hover {
781-
transform: translateY(-2px);
782-
}
783-
784772
#github-stars {
785773
color: #555;
786774
font-size: 0.6em !important;

0 commit comments

Comments
 (0)