“MediaWiki:Common.css”的版本间的差异
小 (试试给评论区上色) |
小 |
||
第77行: | 第77行: | ||
/* 桌面版黑幕模板配合CSS */ | /* 桌面版黑幕模板配合CSS */ | ||
+ | .heimu, | ||
+ | .heimu rt { | ||
+ | background-color: #252525; | ||
+ | } | ||
+ | span.heimu a.external, | ||
+ | span.heimu a.external:visited, | ||
+ | span.heimu a.extiw, | ||
+ | span.heimu a.extiw:visited { | ||
+ | color: #252525; | ||
+ | } | ||
.heimu, | .heimu, | ||
.heimu a, | .heimu a, | ||
a .heimu, | a .heimu, | ||
.heimu a.new { | .heimu a.new { | ||
− | + | color: #252525; | |
− | color: | + | 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; | ||
} | } | ||
− | .heimu a:hover, | + | body:not(.heimu_toggle_on) .heimu:hover a, |
− | a:hover .heimu { | + | body:not(.heimu_toggle_on) a:hover .heimu, |
− | color: | + | body:not(.heimu_toggle_on) .heimu.off a, |
+ | body:not(.heimu_toggle_on) a:hover .heimu.off { | ||
+ | transition: color .13s linear; | ||
+ | color: lightblue; | ||
} | } | ||
− | .heimu .new:hover, | + | body:not(.heimu_toggle_on) .heimu.off .new, |
− | .new:hover .heimu { | + | body:not(.heimu_toggle_on) .heimu.off .new:hover, |
− | color: # | + | body:not(.heimu_toggle_on) .new:hover .heimu.off, |
+ | body:not(.heimu_toggle_on) .heimu:hover .new { | ||
+ | transition: color .13s linear; | ||
+ | color: #FCC; | ||
} | } | ||
+ | |||
/* 回到顶部 */ | /* 回到顶部 */ | ||
.backToTop { | .backToTop { |
2022年1月27日 (四) 02:45的版本
/* 放置于这里的CSS将应用于所有皮肤 */ /* advertisement */ .please-donate { height: 90px; margin: 10px; clear: both; text-align: center; } .please-donate a { display: block; width: 728px; height: 90px; margin: 0 auto; } .ads-main { width: 728px; margin: -90px auto 0; } #p-logo a { height: 170px; } /* navbox所需CSS */ table.navbox { border: 1px solid #AAAAAA; clear: both; margin: auto; padding: 1px; text-align: center; width: 100%; } table.navbox + table.navbox { margin-top: -1px; } .navbox-title, .navbox-abovebelow, table.navbox th { padding-left: 1em; padding-right: 1em; text-align: center; } .navbox-group { font-weight: bold; padding-left: 1em; padding-right: 1em; white-space: nowrap; } .navbox, .navbox-subgroup { background: none repeat scroll 0 0 #FDFDFD; } .navbox-list { border-color: #FDFDFD; } .navbox-title, table.navbox th { background: none repeat scroll 0 0 #CCCCFF; } .navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title { background: none repeat scroll 0 0 #DDDDFF; } .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { background: none repeat scroll 0 0 #E6E6FF; } .navbox-even { background: none repeat scroll 0 0 #F7F7F7; } .navbox-odd { background: none repeat scroll 0 0 transparent; } .collapseButton { float: right; font-weight: normal; text-align: right; width: auto; } .navbox .collapseButton { width: 6em; } /* 桌面版黑幕模板配合CSS */ .heimu, .heimu rt { background-color: #252525; } 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 { 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:hover .new { transition: color .13s linear; color: #FCC; } /* 回到顶部 */ .backToTop { display: none; width: 20px; padding: 5px 0; background-color: #000; color: #fff; font-size: 12px; text-align: center; position: fixed; _position: absolute; right: 0; bottom: 100px; _bottom: "auto"; cursor: pointer; opacity: .6; filter: Alpha(opacity=60); } /* 评论区热评 */ .comment-container-top { background-color: rgba(66, 137, 161, .2); } .comment-container-top > div:first-child { background-color: rgba(19, 109, 134, .47); color: #fff; font-weight: 700; }