Difference between revisions of "MediaWiki:Common.css"

From Myco Enthusiasm
Jump to navigation Jump to search
Line 4: Line 4:
 
}
 
}
  
@media (min-width: 700px) {
+
#mw-content-text p, #mw-content-text ol {
  #mw-content-text p, #mw-content-text ol {
+
  margin-bottom: 5rem;
    margin-bottom: 5rem;
+
   background-color: red;
   }
 
 
}
 
}
  
@media (min-width: 650px) {
+
@media (max-width: 600px) {
 
   #mw-content-text p, #mw-content-text ol {
 
   #mw-content-text p, #mw-content-text ol {
 
     margin-bottom: 3rem;
 
     margin-bottom: 3rem;
 +
  background-color: blue;
 
   }
 
   }
 
}
 
}

Revision as of 08:52, 2 September 2020

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

#mw-content-text p, #mw-content-text ol {
  margin-bottom: 5rem;
  background-color: red;
}

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