MediaWiki:Vector-2022.css: Difference between revisions

From Ikwipedia
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 83: Line 83:
   max-width: none !important;
   max-width: none !important;
   width: 100% !important;
   width: 100% !important;
}
body.skin-vector-2022.page-Test_page .mw-page-container-inner {
  display: flex !important;
}
body.skin-vector-2022.page-Test_page .mw-content-container {
  flex: 1 1 100% !important;
}
}

Revision as of 22:47, 21 December 2024

/**
 * Note: [[MediaWiki:Common.css]] is loaded in addition to these styles
 * Please use [[Extension:TemplateStyles]] where possible.
 */
#coordinates {
	line-height: 2;
	font-size: 92%;
	white-space: nowrap;
}

/* Don't display some stuff on the main page */
.page-Main_Page #deleteconfirm,
.page-Main_Page #t-cite,
.page-Main_Page #footer-info-lastmod,
.action-view.page-Main_Page #siteSub,
.action-view.page-Main_Page #contentSub,
.action-view.page-Main_Page #contentSub2 {
	display: none !important;
}

/* Override [[phab:T265947]] */
.mw-body-content blockquote {
	border-left: none;
}

/* Styling for tags in changes pages */
.mw-tag-markers {
	font-style: italic;
	font-size: 90%;
}

@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 );
  }
}

/* Hide the Test_page title for everyone using Vector 2022 */
body.skin-vector-2022.page-Test_page #firstHeading {
  display: none !important;
}

/* Force Test_page full width */
body.skin-vector-2022.page-Test_page .mw-page-container-inner {
  max-width: none !important;
  width: 100% !important; /* Optional fallback */
}

body.skin-vector-2022.page-Test_page .mw-content-container {
  max-width: none !important;
  width: 100% !important;
}
body.skin-vector-2022.page-Test_page .mw-body-content,
body.skin-vector-2022.page-Test_page .vector-limited-content {
  max-width: none !important;
  width: 100% !important;
}


body.skin-vector-2022.page-Test_page div.mw-content-container div.mw-body-content {
  max-width: none !important;
  width: 100% !important;
}
body.skin-vector-2022.page-Test_page #mw-content-text {
  max-width: none !important;
  width: 100% !important;
}