Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(Created page with "→这里放置的CSS将应用于所有皮肤: h1 { font-weight: 700; border-bottom: 2px solid #0074f9; } h2 { font-weight: 700; border-bottom: 1px solid #00...") |
|||
| Line 1: | Line 1: | ||
/* 这里放置的CSS将应用于所有皮肤 */ | /* 这里放置的CSS将应用于所有皮肤 */ | ||
| + | .mw-wiki-logo { | ||
| + | height: 0em; | ||
| + | } | ||
h1 { | h1 { | ||
font-weight: 700; | font-weight: 700; | ||
Revision as of 19:40, 15 January 2020
/* 这里放置的CSS将应用于所有皮肤 */
.mw-wiki-logo {
height: 0em;
}
h1 {
font-weight: 700;
border-bottom: 2px solid #0074f9;
}
h2 {
font-weight: 700;
border-bottom: 1px solid #0074f9;
}
.mw-wiki-logo{
background-size:220%;
}
/* 被点过的外部链接不变色 */
div#content a.external:visited {
color: #36b;
}
/* 隐藏首页空行,讨论、查看源代码tab */
.page-Mainpage #siteSub,
.page-Mainpage #contentSub,
.page-Mainpage li#ca-viewsource,
.page-Mainpage li#ca-talk {
display: none;
}
/* 黑幕模板配合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;
}