Skip to content

Commit 252c52b

Browse files
chore: hover state
1 parent 732debc commit 252c52b

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

.vitepress/theme/components/Banner.vue

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,6 @@ html:not(.banner-dismissed) {
151151
display: none;
152152
}
153153
154-
a:hover {
155-
text-decoration: underline;
156-
}
157-
158154
button {
159155
position: absolute;
160156
right: 0;
@@ -189,15 +185,14 @@ button {
189185
text-decoration: none;
190186
margin: 0 20px;
191187
font-weight: bold;
192-
transition: all;
193-
transition-duration: 200ms;
194-
}
188+
transition: all .2s ease-in-out;
195189
196-
.vt-primary-action:hover {
197-
text-decoration: none;
198-
transform: translate3d(0, -2px, 0);
190+
&:hover {
191+
box-shadow: 0 1px #fffc inset;
192+
}
199193
}
200194
195+
201196
@media (max-width: 1280px) {
202197
.banner .vt-banner-text {
203198
font-size: 14px;

0 commit comments

Comments
 (0)