Skip to content

Commit

Permalink
✨ topic hover animation [thanks writerside staff!]
Browse files Browse the repository at this point in the history
  • Loading branch information
asoji committed Aug 7, 2024
1 parent 6233d84 commit fe06fa9
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions Writerside/cfg/static/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -132,31 +132,30 @@
.starting-page-card {
border-radius: 0.5em;
border: 1px solid var(--primary-color-25);
/*animation: cardpulse 2s infinite !important; !* WHY IS THIS NOT WORKING *!*/
/*animation-play-state: paused;*/
}

.starting-page-card:hover, .starting-page-title__card:hover {
border: 1px solid var(--wh-color-primary);
/*animation-play-state: running !important;*/
animation: cardpulse 2s infinite !important; /* WHY IS THIS NOT WORKING */
mask-image: none;
}

/*@keyframes cardpulse {*/
/* 0% {*/
/* transform: scale(1);*/
/* box-shadow: 0 0 0 0 var(--wh-color-primary);*/
/* }*/
@keyframes cardpulse {
0% {
transform: scale(1);
box-shadow: 0 0 0 0 var(--wh-color-primary);
}

/* 70% {*/
/* transform: scale(1);*/
/* box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);*/
/* }*/
70% {
transform: scale(1);
box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
}

/* 100% {*/
/* transform: scale(1);*/
/* box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);*/
/* }*/
/*}*/
100% {
transform: scale(1);
box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
}
}

/* Search and Theme Switcher */
._modeClear_joawza_434._dark_joawza_62 {
Expand Down

0 comments on commit fe06fa9

Please sign in to comment.