修复了一些问题

This commit is contained in:
2026-08-21 14:13:53 +08:00
parent 79b1c8cb38
commit 3368261d52
3 changed files with 28 additions and 77 deletions
-66
View File
@@ -278,72 +278,6 @@
color: #e74c3c;
}
/* Header hover VIP cards
* Markup: .navbar-vip > .navbar-vip-hover.hover-show > a + .hover-show-con.sub-vip-card
* (hover-show is on the INNER span, not on .navbar-vip itself)
*/
.navbar-vip-hover.hover-show,
.navbar-vip .hover-show {
position: relative;
}
.sub-vip-card {
display: none;
position: absolute;
top: calc(100% + 0px);
right: 0;
z-index: 60;
width: max-content;
max-width: min(520px, 92vw);
padding: 10px;
padding-top: 12px; /* hover bridge */
border-radius: 12px;
background: transparent;
box-shadow: none;
gap: 10px;
box-sizing: border-box;
}
.navbar-vip-hover.hover-show:hover .sub-vip-card,
.navbar-vip-hover.hover-show:focus-within .sub-vip-card,
.navbar-vip .hover-show:hover .sub-vip-card,
.navbar-vip .hover-show:focus-within .sub-vip-card {
display: flex;
flex-wrap: wrap;
}
.vip-card {
position: relative;
flex: 1 1 160px;
min-width: 150px;
padding: 14px 12px;
border-radius: 10px;
overflow: hidden;
background: linear-gradient(135deg, #2b2f3a, #1b1e27);
color: #fff;
}
.vip-card.vip-theme1 {
background: linear-gradient(135deg, #f6c453, #f39c12);
color: #3b2a00;
}
.vip-card.vip-theme2 {
background: linear-gradient(135deg, #8e44ad, #3f51b5);
color: #fff;
}
.vip-card .payvip-button {
display: inline-block;
margin-top: 6px;
padding: 6px 12px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.92);
color: #333;
text-decoration: none;
font-size: 12px;
}
.vipbg-v2 {
display: flex;
align-items: center;