Jump to content

MediaWiki:Vector-2022.css: Difference between revisions

From IECO - International Eurofan's Countries Organisation
Created page with "Ensure Navbox is visible in Vector-2022 Mobile View: .navbox { display: block !important; visibility: visible !important; clear: both; overflow: visible !important; margin: 0 auto; } .nomobile { display: block !important; visibility: visible !important; }"
Tags: Mobile edit Mobile web edit
 
No edit summary
Tags: Mobile edit Mobile web edit
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
/* Ensure Navbox is visible in Vector-2022 Mobile View */
/**
.navbox {
* Note: [[MediaWiki:Common.css]] is loaded in addition to these styles
    display: block !important;
* Please use [[Extension:TemplateStyles]] where possible.
    visibility: visible !important;
*/
    clear: both;
#coordinates {
    overflow: visible !important;
line-height: 2;
    margin: 0 auto;
font-size: 92%;
white-space: nowrap;
}
}
.nomobile {
 
     display: block !important;
/* Don't display some stuff on the main page */
     visibility: visible !important;
.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 );
  }
}
}

Latest revision as of 12:07, 7 January 2025

/**
 * 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 );
  }
}