Skip to content

Commit

Permalink
修复龙特效在移动端遮挡侧边导航的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
weizwz committed Feb 1, 2024
1 parent d7e71d3 commit b36909c
Showing 1 changed file with 9 additions and 15 deletions.
24 changes: 9 additions & 15 deletions lib/recommend.css
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@
.recommend-post-item.recommend-post-item-overflow {
overflow: inherit;
position: relative;
z-index: 111;
z-index: 100;
box-shadow: none;
}
.recommend-post-item-icon > i {
Expand Down Expand Up @@ -459,7 +459,7 @@
.recommend-post-item-decoration-wrapper {
position: absolute;
top: 0;
left: calc(0% - 1vw);
left: calc(0% - 2vw);
width: calc(100% + 6vw);
height: calc(100% + var(--recommend-margin-inner));
}
Expand All @@ -481,22 +481,22 @@
top: 15%;
height: 42px;
z-index: 4;
animation-duration: 5s;
animation-duration: 8s;
animation-delay: 1s;
}
.recommend-post-item-decoration:nth-child(3) {
top: 30%;
height: 30px;
z-index: 2;
animation-duration: 5s;
animation-delay: 5s;
animation-delay: 4s;
}
.recommend-post-item-decoration:nth-child(4) {
top: 50%;
height: 28px;
z-index: 4;
animation-duration: 8s;
animation-delay: 4s;
animation-duration: 10s;
animation-delay: 5s;
}
.recommend-post-item-decoration:nth-child(5) {
top: 70%;
Expand All @@ -509,7 +509,7 @@
bottom: 0;
height: 24px;
z-index: 4;
animation-duration: 6s;
animation-duration: 9s;
animation-delay: 2s;
}
.recommend-post-item-decoration > img {
Expand Down Expand Up @@ -739,12 +739,9 @@
10% {
opacity: 1;
}
85% {
90% {
opacity: 1;
}
95% {
opacity: 0.5;
}
100% {
transform: translateX(-12vw);
opacity: 0;
Expand All @@ -759,12 +756,9 @@
10% {
opacity: 1;
}
80% {
90% {
opacity: 1;
}
95% {
opacity: 0.5;
}
100% {
transform: translateX(-180px);
opacity: 0;
Expand Down

0 comments on commit b36909c

Please sign in to comment.