Admin留言 | 贡献
无编辑摘要
Admin留言 | 贡献
无编辑摘要
标签手工回退
 
(未显示同一用户的29个中间版本)
第22行: 第22行:
     position: relative;
     position: relative;
     padding: 15px 20px 15px 35px;
     padding: 15px 20px 15px 35px;
     margin-bottom: 25px;
     margin-bottom: 20px;
     border-radius: 4px;
     border-radius: 4px;
     background: rgba(255,255,255,0.95);
     background: rgba(255,255,255,0.95);
     box-shadow: 0 2px 5px rgba(0,0,0,0.08);
     box-shadow: 0 2px 5px rgba(0,0,0,0.08);
     transition: transform 0.2s ease;
     transition: transform 0.2s ease;
    overflow: hidden; /* 新增属性合并 */
    will-change: transform; /* 预声明变化属性 */
}
}


第39行: 第37行:
     height: 90%;
     height: 90%;
     border-radius: 2px;
     border-radius: 2px;
    transition: transform 0.4s ease, height 0.4s ease; /* 精准控制动画属性 */
     background: #E67E22;
     background: linear-gradient(180deg,
        transparent 0%,
        currentColor 30%,
        currentColor 70%,
        transparent 100%
    );
}
}


/* == 颜色系统定义 == */
.color-system-1 .decorative-line { background: #E67E22; } /* 物品系统橙色 */
.color-system-1 .decorative-line { --deco-color: #E67E22; }
.color-system-2 .decorative-line { background: #3498DB; } /* 游戏机制蓝色 */
.color-system-2 .decorative-line { --deco-color: #3498DB; }
.color-system-3 .decorative-line { background: #2ECC71; } /* 职业体系绿色 */
.color-system-3 .decorative-line { --deco-color: #2ECC71; }
.color-system-4 .decorative-line { background: #9B59B6; } /* 终局内容紫色 */
.color-system-4 .decorative-line { --deco-color: #9B59B6; }
 
.season-block:hover {
    transform: translateX(5px);
}


/* == 动态效果模块 == */
/* 标题渐变与悬停 */
.season-block h3 {
.season-block h3 {
     margin: 0 0 12px 0;
     margin: 0 0 12px 0;
     padding-bottom: 8px;
     padding-bottom: 8px;
     border-bottom: 1px solid rgba(0,0,0,0.1);
     border-bottom: 1px solid rgba(0,0,0,0.1);
}
/* 链接动态下划线 */
.season-nav a {
    position: relative;
    padding-bottom: 2px;
}
.season-nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: all 0.3s;
}
.season-nav a:hover::after {
    left: 0;
    width: 100%;
}
/* 添加文字渐变色与悬停放大 */
.season-block h3 {
     background: linear-gradient(120deg, #2c3e50 30%, #3498db 70%);
     background: linear-gradient(120deg, #2c3e50 30%, #3498db 70%);
     -webkit-background-clip: text;
     -webkit-background-clip: text;
第65行: 第82行:
     -webkit-text-fill-color: transparent;
     -webkit-text-fill-color: transparent;
     transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
     transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    display: inline-block;
     transform-origin: left center;
     transform-origin: left center;
}
}


/* 悬停文字放大+投影 */
.season-block:hover h3 {
.season-block:hover h3 {
     transform: scale(1.05);
     transform: scale(1.05);
第73行: 第92行:
}
}


/* 装饰线动画 */
 
/* 悬停时线条生长动画 */
.season-block:hover .decorative-line {
.season-block:hover .decorative-line {
     height: 100%;
     height: 100%;
     opacity: 0.8;
     opacity: 0.8;
    background-size: 100% 200%;
     animation: lineFlow 1.2s infinite linear;
     animation: lineFlow 1.2s infinite linear;
}
}
第84行: 第105行:
     100% { background-position: 0 200%; }
     100% { background-position: 0 200%; }
}
}
/* 列表 */
.season-block li { list-style: none; }
.season-block li::before { content: "▸"; margin-right: 0.5em; }
.season-block li li::before { content: "|"; color: #666; }


/* 悬浮光影效果 */
/* 列表项悬停效果 */
.season-block::after {
.season-block li {
     content: "";
    position: relative;
    padding-left: 12px;
    transition: transform 0.2s;
}
 
.season-block li::before {
     content: "";
     position: absolute;
     position: absolute;
    top: -50%;
     left: -15px;
     left: -50%;
     color: currentColor;
     width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%,
        rgba(255,255,255,0.2) 0%,
        rgba(255,255,255,0) 70%
    );
    transform: translate(var(--mouse-x), var(--mouse-y)) translateZ(0);
    pointer-events: none;
     opacity: 0;
     opacity: 0;
     transition: opacity 0.3s;
     transition: all 0.3s;
}
 
/* 悬停时项目符号显现与位移 */
.season-block li:hover {
    transform: translateX(8px);
}
 
.season-block li:hover::before {
    opacity: 0.6;
    left: -12px;
}
/* ===== 爪类武器专用样式 ===== */
/* 网格容器 */
.claw-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin: 1rem 0;
}
 
/* 武器卡片 */
.claw-card {
    display: flex;
    align-items: center;
    background: #1a1a1a;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 1rem;
    transition: transform 0.2s;
}
}


.season-block:hover::after {
.claw-card:hover {
     opacity: 0.4;
     transform: translateX(5px);
}
}


/* 链接动态下划线 */
/* 图标样式 */
.season-nav a {
.claw-icon {
     position: relative;
     filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
     padding-bottom: 2px;
     margin-right: 20px;
    flex-shrink: 0;
}
}


.season-nav a::after {
/* 文字信息区 */
     content: "";
.claw-info {
    position: absolute;
     flex-grow: 1;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: all 0.3s;
}
}


.season-nav a:hover::after {
/* 武器名称 */
     left: 0;
.claw-name {
     width: 100%;
    color: #ffffff;
    font-size: 1.3em;
     font-weight: 600;
     margin-bottom: 4px;
}
}


/* == 性能优化模块 == */
/* 需求信息 */
@media (prefers-reduced-motion: reduce) {
.claw-require {
     * {
     color: #8c8c8c;
        transition: none !important;
    font-size: 0.9em;
        animation: none !important;
    }
}
}


/* == 响应式适配 == */
/* 移动端适配 */
@media (max-width: 768px) {
@media (max-width: 768px) {
     .season-block {
     .claw-grid {
         padding: 12px 15px;
         grid-template-columns: 1fr;
         margin-bottom: 20px;
    }
   
    .claw-card {
        flex-direction: column;
         text-align: center;
     }
     }
      
      
     .season-block h3 {
     .claw-icon {
         font-size: 1.2em;
         margin-right: 0;
        margin-bottom: 10px;
     }
     }
}
/* 星级 */
.mw-star-rating {
    color: #ffc53d;
    letter-spacing: 2px;
    font-size: 1.2em;
    unicode-bidi: bidi-override; /* 防止RTL语言导致符号反转 */
}
}