MediaWiki:Common.css:修订间差异
AltracasysHC(留言 | 贡献) 创建页面,内容为“→这里放置的CSS将应用于所有皮肤: →Reset italic styling set by user agent: cite, dfn { font-style: inherit; } →Straight quote marks for <q>:…” |
AltracasysHC(留言 | 贡献) 小无编辑摘要 |
||
(未显示同一用户的4个中间版本) | |||
第1,207行: | 第1,207行: | ||
display: none; | 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; | |||
} | |||
/* == 浮动目录 == */ | |||
#toc{ | |||
display: block; | |||
position: fixed; | |||
top: 100px; | |||
right: 0px; | |||
min-width: 100px; | |||
max-width: 350px; | |||
max-height: 20px; | |||
overflow-y: scroll; | |||
border: 1px solid #aaa; | |||
border-radius: 0 0 1px 1px; | |||
-moz-border-radius: 0 0 1px 1px; | |||
background: rgba(249,249,249,0.75); | |||
padding: 12px; | |||
box-shadow: 0 1px 8px #000; | |||
-webkit-box-shadow: 0 1px 8px #000; | |||
-moz-box-shadow: 0 1px 8px #000; | |||
} | |||
#toc:hover{ | |||
display: block; | |||
position: fixed; | |||
top: 100px; | |||
right: 0px; | |||
min-width: 100px; | |||
max-width: 350px; | |||
max-height: 500px; | |||
overflow-y: scroll; | |||
border: 1px solid #aaa; | |||
border-radius: 0 0 1px 1px; | |||
-moz-border-radius: 0 0 1px 1px; | |||
background: rgba(249,249,249,0.75); | |||
padding: 12px; | |||
box-shadow: 0 1px 8px #000; | |||
-webkit-box-shadow: 0 1px 8px #000; | |||
-moz-box-shadow: 0 1px 8px #000; | |||
} | |||
body { overflow-x: hidden;} |