Difference between revisions of "MediaWiki:Common.css"

From P2SR Wiki

(Created page with "→‎CSS placed here will be applied to all skins: .p2-mainmenu{ margin: 0 -100vw; //hack to stretch the div through entire page despite the content padding. display: fle...")
 
Line 2: Line 2:
  
 
.p2-mainmenu{
 
.p2-mainmenu{
   margin: 0 -100vw; //hack to stretch the div through entire page despite the content padding.
+
   margin: 0 -100vw; /*hack to stretch the div through entire page despite the content padding.*/
 
   display: flex;
 
   display: flex;
 
   justify-content: center;
 
   justify-content: center;

Revision as of 08:24, 9 September 2020

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

.p2-mainmenu{
  margin: 0 -100vw; /*hack to stretch the div through entire page despite the content padding.*/
  display: flex;
  justify-content: center;
}

.p2-mainmenu-inner{
  max-width: 98vw;
  display:flex;
  align-items: stretch;
  flex-wrap: wrap;
}