Jump to content

MediaWiki:Vector-2022.css: Difference between revisions

From Bradshaw, the companion guide to On Our Lines
 
hmm, let's stick to what we know
Line 1: Line 1:
/**
/* Fix the logo dimensions */
* Note: [[MediaWiki:Common.css]] is loaded in addition to these styles
#p-logo a { background-size: contain; }
* 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 */
/* Don't display some stuff on the main page */
.page-Main_Page #deleteconfirm,
.page-Bradshaw #deleteconfirm,
.page-Main_Page #t-cite,
.page-Bradshaw #t-cite,
.page-Main_Page #footer-info-lastmod,
.page-Bradshaw #footer-info-lastmod,
.action-view.page-Main_Page #siteSub,
.action-view.page-Bradshaw #siteSub,
.action-view.page-Main_Page #contentSub,
.action-view.page-Bradshaw #contentSub,
.action-view.page-Main_Page #contentSub2 {
.action-view.page-Bradshaw #contentSub2 {
display: none !important;
display: none !important;
}
}


/* Override [[phab:T265947]] */
/* Move page status indicators down slightly */
.mw-body-content blockquote {
.mw-body .mw-indicators {
border-left: none;
padding-top: 0.4em;
}
}


/* Styling for tags in changes pages */
/* Don't display some stuff on the SimSig home page */
.mw-tag-markers {
.page-SimSig_Home #deleteconfirm,
font-style: italic;
.page-SimSig_Home #t-cite,
font-size: 90%;
.page-SimSig_Home #footer-info,
.action-view.page-SimSig_Home #siteSub,
.action-view.page-SimSig_Home #contentSub,
.action-view.page-SimSig_Home .firstHeading {
display: none !important;
}
}


@media screen {
/* Don't display some stuff on the LTR home page */
  html.skin-theme-clientpref-night .navbox a:not(.new):not(.mw-selflink):link,
.page-London_s_Transport_Race #deleteconfirm,
  html.skin-theme-clientpref-night .infobox a:not(.new):not(.mw-selflink):link {
.page-London_s_Transport_Race #t-cite,
    color: var( --color-progressive ) !important;
.page-London_s_Transport_Race #footer-info,
  }
.action-view.page-London_s_Transport_Race #siteSub,
.action-view.page-London_s_Transport_Race #contentSub,
.action-view.page-London_s_Transport_Race .firstHeading {
display: none !important;
}


  /* T370074 */
/* Make Categories same font size as body text */
  html.skin-theme-clientpref-night .mw-parser-output > figure img {  
.catlinks {
      background: var( --background-color-disabled-fixed, #C8CCD1 );
font-size: 0.875em;
  }
}
}


/* Don't display some stuff on the SotM home page */
.page-Stations_of_the_Month #deleteconfirm,
.page-Stations_of_the_Month #t-cite,
.page-Stations_of_the_Month #footer-info,
.action-view.page-Stations_of_the_Month #siteSub,
.action-view.page-Stations_of_the_Month #contentSub,
.action-view.page-Stations_of_the_Month .firstHeading {
display: none !important;
}


@media screen and (prefers-color-scheme: dark) {
/* Don't display some stuff on the SotY home page */
  html.skin-theme-clientpref-os .navbox a:not(.new):not(.mw-selflink):link,
.page-Systems_of_the_Year #deleteconfirm,
  html.skin-theme-clientpref-os .infobox a:not(.new):not(.mw-selflink):link {
.page-Systems_of_the_Year #t-cite,
    color: var( --color-progressive ) !important;
.page-Systems_of_the_Year #footer-info,
  }
.action-view.page-Systems_of_the_Year #siteSub,
  /* T370074 */
.action-view.page-Systems_of_the_Year #contentSub,
  html.skin-theme-clientpref-os .mw-parser-output > figure img {  
.action-view.page-Systems_of_the_Year .firstHeading {
      background: var( --background-color-disabled-fixed, #C8CCD1 );
display: none !important;
  }
}
}

Revision as of 16:07, 2 May 2025

/* Fix the logo dimensions */
#p-logo a { background-size: contain; }

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

/* Move page status indicators down slightly */
.mw-body .mw-indicators {
	padding-top: 0.4em;
}

/* Don't display some stuff on the SimSig home page */
.page-SimSig_Home #deleteconfirm,
.page-SimSig_Home #t-cite,
.page-SimSig_Home #footer-info,
.action-view.page-SimSig_Home #siteSub,
.action-view.page-SimSig_Home #contentSub,
.action-view.page-SimSig_Home .firstHeading {
	display: none !important;
}

/* Don't display some stuff on the LTR home page */
.page-London_s_Transport_Race #deleteconfirm,
.page-London_s_Transport_Race #t-cite,
.page-London_s_Transport_Race #footer-info,
.action-view.page-London_s_Transport_Race #siteSub,
.action-view.page-London_s_Transport_Race #contentSub,
.action-view.page-London_s_Transport_Race .firstHeading {
	display: none !important;
}

/* Make Categories same font size as body text */
.catlinks {
	font-size: 0.875em;
}

/* Don't display some stuff on the SotM home page */
.page-Stations_of_the_Month #deleteconfirm,
.page-Stations_of_the_Month #t-cite,
.page-Stations_of_the_Month #footer-info,
.action-view.page-Stations_of_the_Month #siteSub,
.action-view.page-Stations_of_the_Month #contentSub,
.action-view.page-Stations_of_the_Month .firstHeading {
	display: none !important;
}

/* Don't display some stuff on the SotY home page */
.page-Systems_of_the_Year #deleteconfirm,
.page-Systems_of_the_Year #t-cite,
.page-Systems_of_the_Year #footer-info,
.action-view.page-Systems_of_the_Year #siteSub,
.action-view.page-Systems_of_the_Year #contentSub,
.action-view.page-Systems_of_the_Year .firstHeading {
	display: none !important;
}
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.