样式修改

This commit is contained in:
hooray 2021-09-22 09:06:25 +08:00
parent 7c126ea37e
commit 41aedb0c12
2 changed files with 3 additions and 1 deletions

1
src/assets/icons/pro.svg Normal file
View File

@ -0,0 +1 @@
<svg class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" width="32" height="32"><path d="M798.663 952.212h-565.04a165.7 165.7 0 0 1-165.701-165.7v-426.68a55.234 55.234 0 0 1 82.85-47.225l156.311 94.173 165.701-175.92A53.024 53.024 0 0 1 512 213.187a55.234 55.234 0 0 1 40.32 18.227l157.416 174.538 152.998-93.344a55.234 55.234 0 0 1 82.85 47.224V693.72a55.234 55.234 0 0 1-110.467 0V458.147l-107.982 66.004a55.234 55.234 0 0 1-69.87-10.218L512 350.165 357.346 515.866a55.234 55.234 0 0 1-68.766 9.39l-110.467-66.833v326.983a55.234 55.234 0 0 0 55.233 55.234h565.317a55.234 55.234 0 0 1 0 110.467z" fill="#FC455D"/><path d="M118.694 239.43900000000002a55.234 55.234 0 1 0 78.112-78.112 55.234 55.234 0 1 0-78.112 78.112zM472.83099999999996 137.748a55.234 55.234 0 1 0 78.113-78.113 55.234 55.234 0 1 0-78.113 78.113zM818.258 239.404a55.234 55.234 0 1 0 78.113-78.112 55.234 55.234 0 1 0-78.113 78.112z" fill="#FF9B57"/><path d="M517.247 795.349a41.425 41.425 0 0 1-32.864-17.123l-93.62-128.142a41.425 41.425 0 0 1 66.003-48.606l57.167 78.985 49.434-77.051a41.425 41.425 0 1 1 69.595 44.739l-82.85 128.142a41.425 41.425 0 0 1-33.693 19.056z" fill="#FD8F9E"/></svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -110,6 +110,7 @@ function pro() {
}
.item-pro {
display: inline-block;
transform-origin: right center;
animation: pro-text 3s ease-out infinite;
@keyframes pro-text {
0%,
@ -118,7 +119,7 @@ function pro() {
}
50%,
70% {
transform: scale(1.2) translateX(-5px) translateY(-2px);
transform: scale(1.2);
}
100% {
transform: scale(1);