「MediaWiki:Common.css」の版間の差分
(update Hidden content) |
|||
64行目: | 64行目: | ||
.Tabs .Tab .TabContentText { | .Tabs .Tab .TabContentText { | ||
padding: 3px; | padding: 3px; | ||
+ | } | ||
+ | /* Hidden content (Heimu) */ | ||
+ | /* 黑幕模板配合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 { | ||
+ | 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 { | ||
+ | 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 { | ||
+ | color: #BA0000; | ||
} | } |
2017年12月26日 (火) 23:59時点における版
/* ここに記述した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; } /* Tabs */ .tab .TabLabelText { display: inline-block; padding: 1px; cursor: pointer; } .tab .TabLabel { z-index: 2; position: relative; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; -o-user-select: none; user-select: none; } .tab .TabLabelText.selected { border-top: 3px solid green; padding: 1px; background: white; border-left: 1px solid #aaa; border-right: 1px solid #aaa; } .tab .TabContent { background: white; padding: 20px 30px; position: relative; z-index: 1; border: 1px solid #aaa; } .tab .TabContentText { display: none; } .tab .TabContentText.selected { display: block; } .Tabs .Tab { border-bottom: 1px solid #aaa; } .Tabs .Tab:first-child { border-top: 1px solid #aaa; } .Tabs .Tab .TabLabelText { padding: 7px; } .Tabs .Tab .TabContentText { padding: 3px; } /* Hidden content (Heimu) */ /* 黑幕模板配合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 { 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 { 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 { color: #BA0000; }