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

MediaWiki:Common.css

MediaWiki界面页面
Zelda110留言 | 贡献2025年12月13日 (六) 21:50的版本

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

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-R(Mac为⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac为⌘-Shift-R
  • Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
/* 首页整体 */
.home {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5em 1em;
}

.home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5em;
}

@media (max-width: 900px) {
  .home-grid {
    grid-template-columns: 1fr;
  }
}

/* 区块 */
.home-section {
  background: var(--background-color-neutral-subtle, #f8f9fa);
  border-radius: 8px;
  padding: 1em 1.2em;
}

.section-title {
  font-size: 1.25em;
  margin-bottom: 0.8em;
}

/* 最新页面 */
.latest-item {
  padding: 0.4em 0;
  border-bottom: 1px solid #e0e0e0;
}

.latest-item:last-child {
  border-bottom: none;
}

/* 典范条目 */
.featured-item {
  padding: 0.5em 0;
}

.featured-title {
  font-weight: 600;
}

/* 底部链接 */
.section-footer {
  margin-top: 0.8em;
  font-size: 0.9em;
  text-align: right;
}

/* 最新页面列表 */
.latest-list {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
}

.latest-item {
  padding: 0.4em 0.2em;
}

.latest-link {
  text-decoration: none;
  color: inherit;
}

.latest-link:hover {
  text-decoration: underline;
}