MediaWiki:Common.css: Difference between revisions
Appearance
| Line 21: | Line 21: | ||
#mw-content-text p { | #mw-content-text p { | ||
/*margin-top: 0 !important;*/ | /*margin-top: 0 !important;*/ | ||
margin-bottom: 0 !important; | margin-bottom: -0.5em !important; | ||
/*line-height: 1.6 !important;*/ | /*line-height: 1.6 !important;*/ | ||
} | } | ||
Revision as of 17:57, 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 */
body.page-Main_Page #siteNotice {
display: block;
}
/* Fix the large gaps between paragraphs */
#mw-content-text p {
/*margin-top: 0 !important;*/
margin-bottom: -0.5em !important;
/*line-height: 1.6 !important;*/
}
/* Apply tighter line height to the whole content area */
.mw-body-content {
/*line-height: 1.6 !important;*/
}