MediaWiki:Common.css: Difference between revisions
Appearance
| Line 7: | Line 7: | ||
body.page-Main_Page #footer-info-lastmod { | body.page-Main_Page #footer-info-lastmod { | ||
display: none; | display: none; | ||
} | |||
/* 1. Hide sitenotice on all pages */ | |||
#siteNotice { | |||
display: none; | |||
} | |||
/* 2. Show sitenotice only on Main Page */ | |||
.mainpage #siteNotice { | |||
display: block; | |||
} | } | ||
Revision as of 17:11, 10 April 2026
/* CSS placed here will be applied to all skins */
/* hide main page title */
body.page-Main_Page h1.firstHeading { display: none; }
/* hide lastmodified date from homepage */
body.page-Main_Page #footer-info-lastmod {
display: none;
}
/* 1. Hide sitenotice on all pages */
#siteNotice {
display: none;
}
/* 2. Show sitenotice only on Main Page */
.mainpage #siteNotice {
display: block;
}