MediaWiki:Mobile.css:修订间差异

跳转到导航 跳转到搜索
添加1,346字节 、​ 2020年3月11日 (星期三)
无编辑摘要
(创建页面,内容为“→‎这里放置的CSS将影响使用移动版网站的用户:​ /** You are editing the global css file for all mobile site users. With Great Power Comes Great Respo…”
 
无编辑摘要
 
第290行: 第290行:
@media print {
@media print {
   .navbox, .hatnote, .ambox { display: none; }
   .navbox, .hatnote, .ambox { display: none; }
}
/*** *** ***/
/*黑幕CSS引自萌娘百科(https://zh.moegirl.org/),文字内容遵守【知识共享 署名-非商业性使用-相同方式共享 3.0】协议。*/
/* 黑幕模板配合CSS */
/* 把这几行单独拎出来写,否则会被Firefox合并到“.heimu a”这条规则,然后又被上面的“点过外链不变色”规则override */
span.heimu a.external,
span.heimu a.external:visited,
span.heimu a.extiw,
span.heimu a.extiw:visited {
  color: #252525;
}
.heimu,
.heimu a,
a .heimu,
.heimu a.new {
  background-color: #252525;
  color: #252525;
  text-shadow: none;
}
body:not(.heimu_toggle_on) .heimu:hover,
body:not(.heimu_toggle_on) .heimu:active,
body:not(.heimu_toggle_on) .heimu.off {
  transition: color .13s linear;
  color: white;
}
body:not(.heimu_toggle_on) .heimu:hover a,
body:not(.heimu_toggle_on) a:hover .heimu,
body:not(.heimu_toggle_on) .heimu.off a,
body:not(.heimu_toggle_on) a:hover .heimu.off {
  transition: color .13s linear;
  color: lightblue;
}
body:not(.heimu_toggle_on) .heimu.off .new,
body:not(.heimu_toggle_on) .heimu.off .new:hover,
body:not(.heimu_toggle_on) .new:hover .heimu.off,
body:not(.heimu_toggle_on) .heimu.off .new,
body:not(.heimu_toggle_on) .heimu.off .new:hover,
body:not(.heimu_toggle_on) .new:hover .heimu.off {
  transition: color .13s linear;
  color: #BA0000;
}
}

导航菜单