Admin留言 | 贡献
无编辑摘要
Admin留言 | 贡献
无编辑摘要
标签手工回退
 
(未显示同一用户的30个中间版本)
第18行: 第18行:


/* 赛季首页专用样式 v2.0 (2025-04-13) */
/* 赛季首页专用样式 v2.0 (2025-04-13) */
/* MediaWiki:Common.css */
/* == 基础样式模块 == */
.season-block {
.season-block {
     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);
第53行: 第53行:
     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%;
}
}
/* 添加文字渐变色与悬停放大 */
/* 添加文字渐变色与悬停放大 */
第70行: 第91行:
     text-shadow: 0 2px 8px rgba(52,152,219,0.2);
     text-shadow: 0 2px 8px rgba(52,152,219,0.2);
}
}
/* 新增装饰线动画 */
 
.decorative-line {
    transition: all 0.4s ease;
    background: linear-gradient(180deg,
        transparent 0%,
        currentColor 30%,
        currentColor 70%,
        transparent 100%
    ) !important;
}


/* 悬停时线条生长动画 */
/* 悬停时线条生长动画 */
第93行: 第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 li {
.season-block li {
第118行: 第135行:
     left: -12px;
     left: -12px;
}
}
/* 新增悬浮光影效果 */
/* ===== 爪类武器专用样式 ===== */
.season-block {
/* 网格容器 */
     position: relative;
.claw-grid {
     overflow: hidden;
     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;
}
 
.claw-card:hover {
    transform: translateX(5px);
}
 
/* 图标样式 */
.claw-icon {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
    margin-right: 20px;
    flex-shrink: 0;
}
}


.season-block::after {
/* 文字信息区 */
     content: "";
.claw-info {
    position: absolute;
     flex-grow: 1;
    top: -50%;
    left: -50%;
    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));
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}
}


.season-block:hover::after {
/* 武器名称 */
     opacity: 0.4;
.claw-name {
    color: #ffffff;
    font-size: 1.3em;
    font-weight: 600;
     margin-bottom: 4px;
}
}
/* 链接动态下划线 */
 
.season-nav a {
/* 需求信息 */
     position: relative;
.claw-require {
     padding-bottom: 2px;
     color: #8c8c8c;
     font-size: 0.9em;
}
}


.season-nav a::after {
/* 移动端适配 */
     content: "";
@media (max-width: 768px) {
     position: absolute;
     .claw-grid {
    bottom: 0;
        grid-template-columns: 1fr;
     left: 50%;
     }
     width: 0;
   
     height: 1px;
    .claw-card {
    background: currentColor;
        flex-direction: column;
     transition: all 0.3s;
        text-align: center;
     }
      
     .claw-icon {
        margin-right: 0;
        margin-bottom: 10px;
     }
}
}


.season-nav a:hover::after {
 
     left: 0;
/* 星级 */
     width: 100%;
.mw-star-rating {
    color: #ffc53d;
    letter-spacing: 2px;
     font-size: 1.2em;
     unicode-bidi: bidi-override; /* 防止RTL语言导致符号反转 */
}
}