MediaWiki:Common.css:修订间差异
来自互联网一战博物馆
Iopk123451(留言 | 贡献) 无编辑摘要 |
Iopk123451(留言 | 贡献) 无编辑摘要 |
||
第42行: | 第42行: | ||
.theme-cosmos-dark .mainpage-contact img { | .theme-cosmos-dark .mainpage-contact img { | ||
filter: none; | filter: none; | ||
} | |||
/* 黑幕 */ | |||
.heimu, | |||
.heimu rt, | |||
.heimu sub, | |||
.heimu sup { | |||
background-color: #252525; | |||
} | |||
span.heimu, | |||
span.heimu a, | |||
span.heimu a.new, | |||
span.heimu a.external, | |||
span.heimu a.extiw, | |||
span.heimu a.mw-disambig, | |||
span.heimu a.mw-redirect, | |||
a span.heimu{ | |||
transition: color .13s linear; | |||
color: #252525; | |||
text-shadow: none; | |||
} | |||
span.heimu:hover, | |||
span.heimu:active { | |||
color: white; | |||
} | |||
span.heimu:hover a, | |||
span.heimu:hover a.extiw, | |||
span.heimu:hover a.external, | |||
span.heimu:hover a.mw-disambig, | |||
span.heimu:hover a.mw-redirect, | |||
a:hover span.heimu, | |||
a.extiw:hover span.heimu, | |||
a.external:hover span.heimu, | |||
a.mw-disambig:hover span.heimu, | |||
a.mw-redirect:hover span.heimu { | |||
color: #c85b5b; | |||
} | |||
span.heimu:hover a:visited, | |||
span.heimu:hover a.extiw:visited, | |||
span.heimu:hover a.external:visited, | |||
span.heimu:hover a.mw-disambig:visited, | |||
span.heimu:hover a.mw-redirect:visited, | |||
a:visited:hover span.heimu, | |||
a.extiw:visited:hover span.heimu, | |||
a.external:visited:hover span.heimu, | |||
a.mw-disambig:visited:hover span.heimu, | |||
a.mw-redirect:visited:hover span.heimu { | |||
color: grey; | |||
} | |||
span.heimu:hover a.new, | |||
a.new:hover span.heimu, | |||
span.heimu a.new:visited:hover, | |||
a.new:visited:hover span.heimu { | |||
color: #e91e1e; | |||
} | } |
2025年7月30日 (三) 12:24的版本
/* 这里放置的CSS将应用于所有皮肤 */
/* 首页 */
.mainpage-banner,
.mainpage-block {
background-color: var(--cosmos-page-background-color--secondary);
border-color: var(--cosmos-border-color);
border-style: solid;
border-width: 0.6px;
box-shadow: 0 0 5px 0.5px grey;
margin: 10px 5px;
padding: 15px 0;
}
.mainpage-banner {
border-radius: 30px 0;
text-align: center;
}
.mainpage-banner-content {
margin: 0 2.5%;
}
.mainpage-banner-header {
background-color: var(--cosmos-border-color);
font-size: 175%;
font-weight: bold;
margin: 12px;
}
.mainpage-block {
border-radius: 9px;
}
.mainpage-block-content {
margin: 0 10px;
}
.mainpage-block-header {
background-color: var(--cosmos-border-color);
font-size: 150%;
font-weight: bold;
margin-bottom: 15px;
padding: 0 30px;
}
.mainpage-contact img {
filter: sepia(0.5) invert(0.9);
}
.theme-cosmos-dark .mainpage-contact img {
filter: none;
}
/* 黑幕 */
.heimu,
.heimu rt,
.heimu sub,
.heimu sup {
background-color: #252525;
}
span.heimu,
span.heimu a,
span.heimu a.new,
span.heimu a.external,
span.heimu a.extiw,
span.heimu a.mw-disambig,
span.heimu a.mw-redirect,
a span.heimu{
transition: color .13s linear;
color: #252525;
text-shadow: none;
}
span.heimu:hover,
span.heimu:active {
color: white;
}
span.heimu:hover a,
span.heimu:hover a.extiw,
span.heimu:hover a.external,
span.heimu:hover a.mw-disambig,
span.heimu:hover a.mw-redirect,
a:hover span.heimu,
a.extiw:hover span.heimu,
a.external:hover span.heimu,
a.mw-disambig:hover span.heimu,
a.mw-redirect:hover span.heimu {
color: #c85b5b;
}
span.heimu:hover a:visited,
span.heimu:hover a.extiw:visited,
span.heimu:hover a.external:visited,
span.heimu:hover a.mw-disambig:visited,
span.heimu:hover a.mw-redirect:visited,
a:visited:hover span.heimu,
a.extiw:visited:hover span.heimu,
a.external:visited:hover span.heimu,
a.mw-disambig:visited:hover span.heimu,
a.mw-redirect:visited:hover span.heimu {
color: grey;
}
span.heimu:hover a.new,
a.new:hover span.heimu,
span.heimu a.new:visited:hover,
a.new:visited:hover span.heimu {
color: #e91e1e;
}