Difference between revisions of "MediaWiki:Common.css"

From NY Science Standards Wiki
Line 3: Line 3:
 
@import "override.css";
 
@import "override.css";
  
−
#question-images .question-img-file img {
+
.question-image img {
−
   max-width: 100%;
+
   width: 100% !important;
−
   width: auto;
+
   height: auto !important;
−
   height: auto;
+
   max-width: 650px;
 
   display: block;
 
   display: block;
−
   margin-left: auto;
+
   margin: 0 auto;
−
  margin-right: auto;
 
−
}
 
−
 
 
−
@media (min-width: 701px) {
 
−
  #question-images .question-img-file img {
 
−
    max-width: 650px;
 
−
  }
 
 
}
 
}

Revision as of 21:00, 16 April 2025

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

@import "override.css";

.question-image img {
  width: 100% !important;
  height: auto !important;
  max-width: 650px;
  display: block;
  margin: 0 auto;
}