Difference between revisions of "MediaWiki:Common.css"

From NY Science Standards Wiki
Line 3: Line 3:
 
@import "override.css";
 
@import "override.css";
  
.question-image img {
+
/* Target only the images inside the question section */
 +
#question-images .question-img-file img {
 +
  display: block;
 +
  margin: 0 auto;
 
   width: 100% !important;
 
   width: 100% !important;
 +
  max-width: 650px !important;
 
   height: auto !important;
 
   height: auto !important;
  max-width: 650px;
 
  display: block;
 
  margin: 0 auto;
 
 
}
 
}

Revision as of 21:02, 16 April 2025

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

@import "override.css";

/* Target only the images inside the question section */
#question-images .question-img-file img {
  display: block;
  margin: 0 auto;
  width: 100% !important;
  max-width: 650px !important;
  height: auto !important;
}