MediaWiki:Vector-2022.css: Difference between revisions

From yangwa
No edit summary
(Replaced content with "body { background-color: #ffffcc !important; }")
Tag: Replaced
Line 1: Line 1:
body.page-Main_Page {
body {
   background-color: #ffffcc !important;
   background-color: #ffffcc !important;
}
/* === 首页专用样式:将顶部导航栏移到底部(仅 Main_Page) === */
body.page-Main_Page #mw-head-base,
body.page-Main_Page #mw-head,
body.page-Main_Page #p-personal,
body.page-Main_Page #mw-navigation {
  position: fixed !important;
  top: auto !important;
  bottom: 0 !important;
  width: 100%;
  z-index: 999;
  background-color: #f8f9fa;
  padding: 10px 20px;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.05);
  display: flex !important;
  justify-content: space-between;
  align-items: center;
}
/* 内容区域底部留白避免被导航挡住 */
body.page-Main_Page #bodyContent {
  margin-bottom: 140px !important;
}
/* 隐藏首页标题 */
body.page-Main_Page .vector-page-title {
  display: none !important;
}
/* 隐藏 logo 名字(文字) */
body.page-Main_Page .mw-logo-wordmark {
  display: none !important;
}
}

Revision as of 09:00, 11 April 2025

body {
  background-color: #ffffcc !important;
}