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

MediaWiki:Common.css

MediaWiki界面页面
Dream pep留言 | 贡献2026年4月20日 (一) 00:20的版本 (创建页面,内容为“这里放置的CSS将应用于所有皮肤:​ 首页 Header 样式:​ .home-header { text-align: center; padding: 40px 20px 50px; background: #f8f9fa; border-radius: 8px; margin-bottom: 30px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); } 主标题:​ .header-title { font-size: 42px !important; font-weight: 600 !important; color: #2c3e50 !important; margin: 0 0 10px !important; line-height: 1.2 !important; } 副标题:​ .header-s…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

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

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-R(Mac为⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac为⌘-Shift-R
  • Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
/* 这里放置的CSS将应用于所有皮肤 */

/* 首页 Header 样式 */
.home-header {
  text-align: center;
  padding: 40px 20px 50px;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 主标题 */
.header-title {
  font-size: 42px !important;
  font-weight: 600 !important;
  color: #2c3e50 !important;
  margin: 0 0 10px !important;
  line-height: 1.2 !important;
}

/* 副标题 */
.header-subtitle {
  font-size: 18px !important;
  color: #7f8c8d !important;
  margin: 0 0 30px !important;
}

/* 搜索框容器 */
.header-search {
  max-width: 600px;
  margin: 0 auto;
}

/* 搜索框输入框样式 */
.header-search input.searchbox {
  width: 100% !important;
  height: 46px !important;
  font-size: 16px !important;
  padding: 0 15px !important;
  border: 1px solid #ddd !important;
  border-radius: 6px !important;
}

/* 搜索按钮样式 */
.header-search input.searchbutton {
  height: 46px !important;
  padding: 0 20px !important;
  font-size: 16px !important;
  border-radius: 6px !important;
  margin-left: 8px !important;
  background: #3498db !important;
  color: white !important;
  border: none !important;
  cursor: pointer !important;
}