MediaWiki:Vector.css:修订间差异
跳转到导航
跳转到搜索
创建页面,内容为“→此处所有CSS将为使用Vector皮肤的用户加载: →更改 Vector 2022 顶部 logo 区域 Wiki 名称的颜色: .skin-vector-2022 .mw-logo-container a { color: black !important; →更改为你希望的颜色: text-decoration: none; →可选:去掉下划线: }” |
标签:撤销 |
||
| (未显示同一用户的3个中间版本) | |||
| 第1行: | 第1行: | ||
/* | /** | ||
/* | * Note: [[MediaWiki:Common.css]] [[MediaWiki:Vector.css]] is loaded in addition to these styles | ||
.skin-vector-2022 .mw- | * Please use [[Extension:TemplateStyles]] where possible. | ||
color: | */ | ||
/* T281974#8869238 */ | |||
#mw-indicator-coordinates #coordinates { | |||
right: auto; | |||
position: relative; | |||
top: auto; | |||
line-height: 2; | |||
float: none; | |||
font-size: 92%; | |||
} | |||
.mw-indicators .mw-indicators { | |||
display: flex; | |||
column-gap: 10px; | |||
} | |||
/* | |||
修复vector 2022下首页问题 | |||
*/ | |||
.skin-vector-2022 #mp-2012-banner { | |||
margin: auto !important; | |||
} | |||
@media screen and (min-width: 982px) { | |||
.skin-vector-2022 #mp-2012-banner { | |||
margin: auto !important; | |||
} | |||
} | |||
@media screen { | |||
html.skin-theme-clientpref-night .navbox a:not(.new):not(.mw-selflink):link, | |||
html.skin-theme-clientpref-night .infobox a:not(.new):not(.mw-selflink):link { | |||
color: var( --color-progressive ) !important; | |||
} | |||
/* T370074 */ | |||
html.skin-theme-clientpref-night .mw-parser-output > figure img { | |||
background: var( --background-color-disabled-fixed, #C8CCD1 ); | |||
} | |||
} | |||
@media screen and (prefers-color-scheme: dark) { | |||
html.skin-theme-clientpref-os .navbox a:not(.new):not(.mw-selflink):link, | |||
html.skin-theme-clientpref-os .infobox a:not(.new):not(.mw-selflink):link { | |||
color: var( --color-progressive ) !important; | |||
} | |||
/* T370074 */ | |||
html.skin-theme-clientpref-os .mw-parser-output > figure img { | |||
background: var( --background-color-disabled-fixed, #C8CCD1 ); | |||
} | |||
} | |||
/* T314254 */ | |||
.toc { | |||
display: table; | |||
padding: 7px; | |||
} | |||
.toccolours, | |||
.toc { | |||
background-color: var(--background-color-neutral-subtle, #f8f9fa); | |||
border: 1px solid var(--border-color-base, #a2a9b1); | |||
padding: 5px; | |||
font-size: 95%; | |||
} | |||
table.toc { | |||
border-collapse: collapse; | |||
} | |||
table.toc td { | |||
padding: 0; | |||
} | |||
/* Don't display some stuff on the main page */ | |||
.action-view.page-Main_Page #siteSub{ | |||
display: none !important; | |||
} | } | ||
2025年7月3日 (四) 13:29的最新版本
/**
* Note: [[MediaWiki:Common.css]] [[MediaWiki:Vector.css]] is loaded in addition to these styles
* Please use [[Extension:TemplateStyles]] where possible.
*/
/* T281974#8869238 */
#mw-indicator-coordinates #coordinates {
right: auto;
position: relative;
top: auto;
line-height: 2;
float: none;
font-size: 92%;
}
.mw-indicators .mw-indicators {
display: flex;
column-gap: 10px;
}
/*
修复vector 2022下首页问题
*/
.skin-vector-2022 #mp-2012-banner {
margin: auto !important;
}
@media screen and (min-width: 982px) {
.skin-vector-2022 #mp-2012-banner {
margin: auto !important;
}
}
@media screen {
html.skin-theme-clientpref-night .navbox a:not(.new):not(.mw-selflink):link,
html.skin-theme-clientpref-night .infobox a:not(.new):not(.mw-selflink):link {
color: var( --color-progressive ) !important;
}
/* T370074 */
html.skin-theme-clientpref-night .mw-parser-output > figure img {
background: var( --background-color-disabled-fixed, #C8CCD1 );
}
}
@media screen and (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .navbox a:not(.new):not(.mw-selflink):link,
html.skin-theme-clientpref-os .infobox a:not(.new):not(.mw-selflink):link {
color: var( --color-progressive ) !important;
}
/* T370074 */
html.skin-theme-clientpref-os .mw-parser-output > figure img {
background: var( --background-color-disabled-fixed, #C8CCD1 );
}
}
/* T314254 */
.toc {
display: table;
padding: 7px;
}
.toccolours,
.toc {
background-color: var(--background-color-neutral-subtle, #f8f9fa);
border: 1px solid var(--border-color-base, #a2a9b1);
padding: 5px;
font-size: 95%;
}
table.toc {
border-collapse: collapse;
}
table.toc td {
padding: 0;
}
/* Don't display some stuff on the main page */
.action-view.page-Main_Page #siteSub{
display: none !important;
}