更改

跳到导航 跳到搜索
添加2,375字节 、​ 2021年2月19日 (五) 11:15
无编辑摘要
第179行: 第179行:  
.nomobile {
 
.nomobile {
 
   display: none !important;
 
   display: none !important;
 +
}
 +
 +
/** 隐藏登录后的首页欢迎语 **/
 +
body.page-Main_Page.is-authenticated .pre-content {
 +
  display: none !important;
 +
}
 +
 +
/* 侧栏调整 */
 +
.navigation-enabled #mw-mf-viewport {
 +
  overflow: hidden;
 +
  min-height: 100%;
 +
  height: 100% !important;
 +
}
 +
 +
nav#mw-mf-page-left {
 +
  height: 100%
 +
}
 +
 +
nav#mw-mf-page-left>.menu.view-border-box {
 +
  overflow-x: hidden;
 +
  overflow-y: scroll;
 +
  height: 100%;
 +
  position: relative;
 +
}
 +
 +
nav ul li a:hover {
 +
  box-shadow: inset 5px 0 0 0 var(--senior);
 +
  text-decoration: none;
 +
}
 +
 +
nav .mw-parser-output ul li a {
 +
  font-weight: bold;
 +
  line-height: 1.857;
 +
  white-space: nowrap;
 +
  overflow: hidden;
 +
  text-overflow: ellipsis;
 +
}
 +
 +
nav .mw-parser-output ul li a>i {
 +
  margin-right: 0.76em;
 +
  font-size: 1.4em;
 +
  vertical-align: middle;
 +
  width: 24px;
 +
  text-align: center;
 +
}
 +
 +
 +
 +
/* 通知样式 */
 +
.mw-echo-ui-notificationsInboxWidget-toolbarWrapper {
 +
  background: transparent !important;
 +
}
 +
 +
.overlay-header h2>* {
 +
  color: #333 !important;
 +
}
 +
 +
.notification-count {
 +
  background: transparent !important;
 +
}
 +
 +
/* 隐藏首页和sandbox顶部内容 */
 +
body.page-首页 .pre-content,
 +
body.page-首页_sandbox .pre-content {
 +
display: none;
 +
}
 +
 +
/* Style for horizontal lists (separator following item) */
 +
.skin-monobook .hlist dl,
 +
.skin-modern .hlist dl,
 +
.skin-vector .hlist dl {
 +
  line-height: 1.5em;
 +
}
 +
 +
.hlist dl,
 +
.hlist ol,
 +
.hlist ul {
 +
  margin: 0;
 +
}
 +
 +
.hlist dd,
 +
.hlist dt,
 +
.hlist li {
 +
  display: inline;
 +
  margin: 0;
 +
}
 +
 +
/* Display nested lists inline */
 +
.hlist dl dl,
 +
.hlist ol ol,
 +
.hlist ul ul {
 +
  display: inline;
 +
}
 +
 +
/* Generate interpuncts */
 +
.hlist dt:after {
 +
  content: " :";
 +
}
 +
 +
.hlist dd:after,
 +
.hlist li:after {
 +
  content: " · ";
 +
  font-weight: bold;
 +
}
 +
 +
.hlist dd:last-child:after,
 +
.hlist dt:last-child:after,
 +
.hlist li:last-child:after {
 +
  content: none;
 +
}
 +
 +
/* for IE 8 */
 +
.hlist dd.nopunct:after,
 +
.hlist dt.nopunct:after,
 +
.hlist li.nopunct:after {
 +
  content: none;
 +
}
 +
 +
/* Add parens around nested lists */
 +
.hlist dl dl:before,
 +
.hlist ol ol:before,
 +
.hlist ul ul:before {
 +
  content: "(";
 +
}
 +
 +
.hlist dl dl:after,
 +
.hlist ol ol:after,
 +
.hlist ul ul:after {
 +
  content: ")";
 +
}
 +
 +
/* Put numbers in ordered lists */
 +
.hlist.hnum ol li {
 +
  counter-increment: level1;
 +
}
 +
 +
.hlist.hnum ol li:before {
 +
  content: counter(level1) " ";
 +
}
 +
 +
.hlist.hnum ol ol li {
 +
  counter-increment: level2;
 +
}
 +
 +
.hlist.hnum ol ol li:before {
 +
  content: counter(level2) " ";
 
}
 
}
15,666

个编辑

导航菜单