Difference between revisions of "MediaWiki:Common.css"

From Myco Enthusiasm
Jump to navigation Jump to search
(Created page with "→‎CSS placed here will be applied to all skins: globalWrapper { position:relative; font-size: 127%; width: 600px; margin-left:auto; margin-right:auto; padding: 0; }")
 
 
(16 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 */
globalWrapper {
+
#bodyContent {
   position:relative; font-size: 127%; width: 600px; margin-left:auto; margin-right:auto; padding: 0;  
+
   max-width: 750px; margin-left: 10px; margin-right:auto; padding: 0;  
 +
}
 +
 
 +
@media (max-device-width: 600px) {
 +
  #mw-content-text p, #mw-content-text ol {
 +
    margin-bottom: 3rem;
 +
  }
 +
}
 +
 
 +
@media (min-device-width: 601px) {
 +
  #mw-content-text p, #mw-content-text ol {
 +
    margin-bottom: 1rem;
 +
  }
 
}
 
}

Latest revision as of 08:57, 2 September 2020

/* CSS placed here will be applied to all skins */
#bodyContent {
  max-width: 750px; margin-left: 10px; margin-right:auto; padding: 0; 
}

@media (max-device-width: 600px) {
  #mw-content-text p, #mw-content-text ol {
    margin-bottom: 3rem;
  }
}

@media (min-device-width: 601px) {
  #mw-content-text p, #mw-content-text ol {
    margin-bottom: 1rem;
  }
}