MediaWiki:Vector.css:修订间差异

Lhscogs​(留言 | 贡献)
创建页面,内容为“→此处所有CSS将为使用Vector皮肤的用户加载:​ →更改 Vector 2022 顶部 logo 区域 Wiki 名称的颜色:​ .skin-vector-2022 .mw-logo-container a { color: black !important; →更改为你希望的颜色:​ text-decoration: none; →可选:去掉下划线:​ }”
 
Lhscogs​(留言 | 贡献)
撤销Lhscogs(讨论)的修订版本2331
标签:撤销
 
(未显示同一用户的3个中间版本)
第1行: 第1行:
/* 此处所有CSS将为使用Vector皮肤的用户加载 */
/**
/* 更改 Vector 2022 顶部 logo 区域 Wiki 名称的颜色 */
* Note: [[MediaWiki:Common.css]] [[MediaWiki:Vector.css]] is loaded in addition to these styles
.skin-vector-2022 .mw-logo-container a {
* Please use [[Extension:TemplateStyles]] where possible.
     color: black !important;    /* 更改为你希望的颜色 */
*/
    text-decoration: none;       /* 可选:去掉下划线 */
 
/* 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;
}
}