打开/关闭菜单
46
56
27
964
武外梗百科
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

MediaWiki:Common.css:修订间差异

MediaWiki界面页面
无编辑摘要
无编辑摘要
第19行: 第19行:
}
}


/* ===== Grid Layout (Like Wikipedia, but cleaner) ===== */
/* ===== Grid Layout (Wikipedia-style) ===== */
.mw-main-grid {
.mw-main-grid {
     display: grid;
     display: grid;
第27行: 第27行:
}
}


/* ===== Left Column Cards ===== */
/* ===== Apple-style clickable cards ===== */
.mw-card {
.mw-card {
    margin-bottom: 24px;
}
.mw-card a {
    display: block;
     background: white;
     background: white;
     padding: 26px;
     padding: 26px;
第38行: 第34行:
     border: 1px solid #e5e5e5;
     border: 1px solid #e5e5e5;
     box-shadow: 0 6px 16px rgba(0,0,0,0.06);
     box-shadow: 0 6px 16px rgba(0,0,0,0.06);
     text-decoration: none;
     margin-bottom: 24px;
     color: #000;
     cursor: pointer;
     transition: all 0.2s ease;
     transition: all 0.25s ease;
}
}
.mw-card a:hover {
.mw-card:hover {
     transform: translateY(-4px);
     transform: translateY(-6px);
     box-shadow: 0 12px 28px rgba(0,0,0,0.1);
     box-shadow: 0 12px 28px rgba(0,0,0,0.10);
     border-color: #d0d0d5;
     border-color: #d0d0d5;
}
}
第58行: 第54行:
}
}


/* ===== Right Column Sections ===== */
/* ===== Right Column ===== */
.mw-section h2 {
.mw-section h2 {
     margin-bottom: 10px;
     margin-bottom: 10px;
第66行: 第62行:
}
}


/* ===== Mobile Adaptation ===== */
/* ===== Mobile ===== */
@media (max-width: 900px) {
@media (max-width: 900px) {
     .mw-main-grid {
     .mw-main-grid {
         grid-template-columns: 1fr;
         grid-template-columns: 1fr;
    }
    .mw-right {
        margin-top: 20px;
     }
     }
}
}

2025年11月23日 (日) 23:10的版本

/* ===== Hero (Apple-style) ===== */
.mw-hero {
    width: 100%;
    padding: 80px 20px;
    text-align: center;
    background: #f5f5f7;
    border-radius: 24px;
    margin-bottom: 40px;
}
.mw-hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #1d1d1f;
}
.mw-hero-sub {
    margin-top: 10px;
    font-size: 20px;
    color: #6e6e73;
}

/* ===== Grid Layout (Wikipedia-style) ===== */
.mw-main-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    margin-bottom: 40px;
}

/* ===== Apple-style clickable cards ===== */
.mw-card {
    background: white;
    padding: 26px;
    border-radius: 22px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    margin-bottom: 24px;
    cursor: pointer;
    transition: all 0.25s ease;
}
.mw-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.10);
    border-color: #d0d0d5;
}
.mw-card h2 {
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: 600;
}
.mw-card p {
    margin: 0;
    font-size: 16px;
    color: #555;
}

/* ===== Right Column ===== */
.mw-section h2 {
    margin-bottom: 10px;
    font-size: 22px;
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 4px;
}

/* ===== Mobile ===== */
@media (max-width: 900px) {
    .mw-main-grid {
        grid-template-columns: 1fr;
    }
}