MediaWiki:Vector.css: Difference between revisions
Appearance
Homepage visual fixes |
+PotM and SotY |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* All CSS here will be loaded for users of the Vector skin */ | /* All CSS here will be loaded for users of the Vector skin */ | ||
/* Fix the logo dimensions */ | |||
#p-logo a { background-size: contain; } | |||
/* Don't display some stuff on the main page */ | /* Don't display some stuff on the main page */ | ||
.page-Bradshaw #deleteconfirm, | .page-Bradshaw #deleteconfirm, | ||
.page-Bradshaw #t-cite, | .page-Bradshaw #t-cite, | ||
.page-Bradshaw #footer-info | .page-Bradshaw #footer-info, | ||
.action-view.page-Bradshaw #siteSub, | .action-view.page-Bradshaw #siteSub, | ||
.action-view.page-Bradshaw #contentSub, | .action-view.page-Bradshaw #contentSub, | ||
| Line 14: | Line 17: | ||
.mw-body .mw-indicators { | .mw-body .mw-indicators { | ||
padding-top: 0.4em; | 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; | |||
} | |||
/* Don't display some stuff on the PotM home page */ | |||
.page-Picture_of_the_Month #deleteconfirm, | |||
.page-Picture_of_the_Month #t-cite, | |||
.page-Picture_of_the_Month #footer-info, | |||
.action-view.page-Picture_of_the_Month #siteSub, | |||
.action-view.page-Picture_of_the_Month #contentSub, | |||
.action-view.page-Picture_of_the_Month .firstHeading { | |||
display: none !important; | |||
} | } | ||
Latest revision as of 21:44, 8 May 2025
/* All CSS here will be loaded for users of the Vector skin */
/* 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,
.action-view.page-Bradshaw #siteSub,
.action-view.page-Bradshaw #contentSub,
.action-view.page-Bradshaw .firstHeading {
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;
}
/* Don't display some stuff on the PotM home page */
.page-Picture_of_the_Month #deleteconfirm,
.page-Picture_of_the_Month #t-cite,
.page-Picture_of_the_Month #footer-info,
.action-view.page-Picture_of_the_Month #siteSub,
.action-view.page-Picture_of_the_Month #contentSub,
.action-view.page-Picture_of_the_Month .firstHeading {
display: none !important;
}