更改

跳到导航 跳到搜索
添加2,429字节 、​ 2021年2月11日 (四) 21:25
无编辑摘要
第1行: 第1行:  
/* 这里放置的CSS将影响使用移动版网站的用户 */
 
/* 这里放置的CSS将影响使用移动版网站的用户 */
 +
body {
 +
  --lightpurple: #F7F1FC;
 +
  --purple: #C794F6;
 +
  --darkpurple: #A443DF;
 +
  --lightgreen: #F9FFEA;
 +
  --green: #B9E66B;
 +
  --darkgreen: #84B63C;
 +
  --lightblue: #EBF7FE;
 +
  --blue: #85C1F7;
 +
  --darkblue: #4487DF;
 +
  --lightyellow: #FEF9DE;
 +
  --yellow: #F9E179;
 +
  --darkyellow: #F1BD4C;
 +
  --lightorange: #FFF7ED;
 +
  --orange: #F4C89C;
 +
  --darkorange: #E7815C;
 +
  --lightred: #FDF5F5;
 +
  --red: #F3ACAA;
 +
  --darkred: #E7615C;
 +
  --theme: #2196F3;
 +
}
    
.heimu,
 
.heimu,
第37行: 第58行:  
     transition: color .13s linear;
 
     transition: color .13s linear;
 
     color: #FCC;
 
     color: #FCC;
 +
}
 +
 +
 +
 +
/* 隐藏移动端页面底部的讨论按钮 */
 +
.talk {
 +
  display: none !important;
 +
}
 +
 +
/* 修正结构式讨论在移动设备上无法点击的问题 */
 +
.flow-ui-load-overlay {
 +
  pointer-events: none;
 +
}
 +
 +
/* 懒加载渐入 */
 +
.lazyload,
 +
.lazyloading {
 +
opacity: 0;
 +
}
 +
.lazyloaded {
 +
opacity: 1;
 +
transition: opacity 300ms;
 +
}
 +
 +
/*模糊样式*/
 +
.fuzzy {filter:blur(3px); text-shadow: 0px 0px 5px white;transition: all 0.1s ease-in-out;}
 +
.fuzzy:hover {filter:none;text-shadow:none;}
 +
 +
/* 侧栏调整 */
 +
.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 #2196f3;
 +
  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;
 +
}
 +
 +
/*手机端*/
 +
@media screen and (max-width: 640px) {
 +
  body {
 +
    font-size: small;
 +
  }
 +
  .wikitable,
 +
  .infobox {
 +
    font-size: x-small
 +
  }
 +
  .infobox-main-title {
 +
    width: 100vw;
 +
  }
 +
}
 +
/* 通知样式 */
 +
.mw-echo-ui-notificationsInboxWidget-toolbarWrapper {
 +
  background: transparent !important;
 +
}
 +
 +
.overlay-header h2>* {
 +
  color: #333 !important;
 +
}
 +
 +
.notification-count {
 +
  background: transparent !important;
 +
}
 +
 +
/* 表格强制不换行,使用最小字体 */
 +
.wikitable {
 +
  white-space: nowrap;
 +
}
 +
 +
table.wraptable {
 +
  white-space: normal;
 +
}
 +
 +
/* 表格内图片设置最小宽度*/
 +
.wikitable img {
 +
  min-width: 24px;
 +
}
 +
/* 使行宽占满表格 */
 +
th.fullline,
 +
td.fullline {
 +
width: 850px;
 +
}
 +
/* 缩小显示表格 */
 +
table.scaletable {
 +
transform: scale(0.5);
 +
transform-origin: top left;
 +
width: 200% !important;
 
}
 
}
15,667

个编辑

导航菜单