MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
(Hide title on the main page)
 
(Add CSS for disclaimer box)
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


/* hide the Main page title */
/* Hide the title on the main page */
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }
.action-view.page-Main_Page #siteSub, .action-submit.page-Main_Page #siteSub,
.action-view.page-Main_Page #contentSub, .action-submit.page-Main_Page #contentSub,
.action-view.page-Main_Page .firstHeading, .action-submit.page-Main_Page .firstHeading {
  display: none;
}
 
.text-bottomline {
  border-bottom-style: solid;
  border-bottom-width: 1px;
  border-bottom-color: #a2a9b1;
}
 
#disclaimer-box {
  border: 1px solid #eaecf0;
  padding: 1em;
  background-color: #f8f9fa;
}

Revision as of 09:10, 9 June 2020

/* CSS placed here will be applied to all skins */

/* Hide the title on the main page */
.action-view.page-Main_Page #siteSub, .action-submit.page-Main_Page #siteSub,
.action-view.page-Main_Page #contentSub, .action-submit.page-Main_Page #contentSub,
.action-view.page-Main_Page .firstHeading, .action-submit.page-Main_Page .firstHeading {
  display: none;
}

.text-bottomline {
  border-bottom-style: solid; 
  border-bottom-width: 1px;
  border-bottom-color: #a2a9b1;
}

#disclaimer-box {
  border: 1px solid #eaecf0; 
  padding: 1em; 
  background-color: #f8f9fa;
}