MediaWiki:Vector.css:修订间差异

来自Kyoshihira Encyclopedia
跳转到导航 跳转到搜索
Lhscogs​(留言 | 贡献)
无编辑摘要
标签:已被回退
Lhscogs​(留言 | 贡献)
撤销Lhscogs(讨论)的修订版本2331
标签:撤销
 
第52行: 第52行:
   html.skin-theme-clientpref-os .mw-parser-output > figure img {  
   html.skin-theme-clientpref-os .mw-parser-output > figure img {  
       background: var( --background-color-disabled-fixed, #C8CCD1 );
       background: var( --background-color-disabled-fixed, #C8CCD1 );
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    --color-base: #f8f9fa;
    --background-color-base: #1f1f23;
    --border-color-base: #4b4b4b;
  }
  .infobox, .infobox td, .infobox th {
    background-color: var(--background-color-base) !important;
    color: var(--color-base) !important;
    border-color: var(--border-color-base) !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;
}