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

MediaWiki:Common.css

MediaWiki界面页面
Admin留言 | 贡献2026年4月11日 (六) 19:59的版本

注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的更改的影响。

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-R(Mac为⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac为⌘-Shift-R
  • Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
/* 贴近 zh.minecraft.wiki 浅色风格 */
.outrex-container {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 10px;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    color: #222;
}

.outrex-main {
    width: 72%;
}

.outrex-sidebar {
    width: 28%;
}

/* 顶部双卡片 */
.outrex-topcards {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.card {
    flex: 1;
    background: #f8f9fa;
    border: 1px solid #c8ccd1;
    border-radius: 2px;
    padding: 16px;
}

/* 公告条 */
.outrex-banner {
    background: #eaf3ff;
    border: 1px solid #c8ccd1;
    padding: 10px 14px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
    color: #2a4b8d;
}

/* 图标宫格 */
.outrex-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.grid-item {
    background: #f8f9fa;
    border: 1px solid #c8ccd1;
    padding: 16px;
    text-align: center;
}
.grid-item:hover {
    background: #eaf3ff;
}

/* 文章模块 */
.outrex-articles {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.article {
    flex: 1;
    background: #ffffff;
    border: 1px solid #c8ccd1;
    padding: 16px;
}

/* 底部小入口 */
.outrex-smallgrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.outrex-smallgrid > div {
    background: #f8f9fa;
    border: 1px solid #c8ccd1;
    padding: 12px;
    text-align: center;
}

/* 右侧模块 */
.box {
    background: #f8f9fa;
    border: 1px solid #c8ccd1;
    padding: 14px;
    margin-bottom: 12px;
}

.box.join {
    background: #36c;
    color: white;
    font-weight: bold;
    text-align: center;
    border-color: #36c;
}
.box.join:hover {
    background: #447ff5;
}