MediaWiki:Vector-2022.css: Difference between revisions

From Ikwipedia
Created page with "→‎* * 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..."
 
EnWikiAdmin changed the content model of the page MediaWiki:Vector-2022.css from "CSS" to "Sanitized CSS"
Tag: content model change
(No difference)

Revision as of 22:07, 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 );
  }
}