website: update style.

This commit is contained in:
jaywcjlove 2022-11-03 01:20:38 +08:00
parent 3cdc2685e6
commit e84c69f8b9

View File

@ -379,7 +379,20 @@ body.home .max-container a.home-button:visited:hover {
} }
.home-card a.contributing:hover:after { .home-card a.contributing:hover:after {
color: var(--color-fg-muted); color: var(--color-fg-muted);
animation: contributing-move 0.1s infinite;
} }
@keyframes contributing-move {
0% {
transform: translate(0px, 0px);
}
50% {
transform: translate(0px, -3px);
}
100% {
transform: translate(0px, 0px);
}
}
.home-card a.tag::before { .home-card a.tag::before {
content: attr(data-lang); content: attr(data-lang);
display: block; display: block;