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 | + | #question-images .question-img-file img { |
− | max-width: | + | max-width: 100%; |
− | width: | + | width: auto; |
− | height: auto | + | height: auto; |
display: block; | display: block; | ||
− | margin: | + | margin-left: auto; |
+ | margin-right: auto; | ||
+ | } | ||
+ | |||
+ | @media (min-width: 701px) { | ||
+ | #question-images .question-img-file img { | ||
+ | max-width: 650px; | ||
+ | } | ||
} | } |
Revision as of 20:59, 16 April 2025
/* CSS placed here will be applied to all skins */ @import "override.css"; #question-images .question-img-file img { max-width: 100%; width: auto; height: auto; display: block; margin-left: auto; margin-right: auto; } @media (min-width: 701px) { #question-images .question-img-file img { max-width: 650px; } }