跳转到内容

MediaWiki:Vector-2022.css

维基百科,自由的百科全书

注意:保存之后,你必须清除浏览器缓存才能看到做出的更改。Google ChromeFirefoxMicrosoft EdgeSafari:按住⇧ Shift键并单击工具栏的“刷新”按钮。参阅Help:绕过浏览器缓存以获取更多帮助。

/**
 * Note: [[MediaWiki:Common.css]] [[MediaWiki:Vector.css]] is loaded in addition to these styles
 * This stylesheet is reserved only for styles that override rules in [[MediaWiki:Vector.css]].
 * 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;
}