MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
(Move TOC code to Common)
(Add CSS for disclaimer box)
(One intermediate revision by the same user not shown)
Line 14: Line 14:
}
}


/* Add columns to TOC in Game Patches page */
#disclaimer-box {
.page-Help_Game_Patches #toc > ul:nth-child(3) {
   border: 1px solid #eaecf0;  
   column-count: 3;
  padding: 1em;
}
   background-color: #f8f9fa;
 
.page-Help_Game_Patches #toc > ul > .toclevel-1 {
   page-break-inside: avoid;
}
}

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;
}