1,085
个编辑
AltracasysHC(留言 | 贡献) 无编辑摘要 |
AltracasysHC(留言 | 贡献) 小无编辑摘要 |
||
(未显示同一用户的3个中间版本) | |||
第1,208行: | 第1,208行: | ||
} | } | ||
.heimu, .heimu a, a .heimu, .heimu a.new { | /*** *** ***/ | ||
/*黑幕CSS引自萌娘百科(https://zh.moegirl.org/),文字内容遵守【知识共享 署名-非商业性使用-相同方式共享 3.0】协议。*/ | |||
/* 黑幕模板配合CSS */ | |||
/* 把这几行单独拎出来写,否则会被Firefox合并到“.heimu a”这条规则,然后又被上面的“点过外链不变色”规则override */ | |||
span.heimu a.external, | |||
.heimu:hover, .heimu:active, | span.heimu a.external:visited, | ||
. | span.heimu a.extiw, | ||
span.heimu a.extiw:visited { | |||
color: #252525; | |||
.heimu:hover a, a:hover .heimu, | } | ||
.heimu | |||
.heimu, | |||
.heimu a, | |||
.heimu | a .heimu, | ||
.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;} |