Template:Multiple image/styles.css

/* this is a block */ /* Selectors in anticipation of changes to image markup generation - see https://phabricator.wikimedia.org/T271114 figure[typeof~='mw:File/Thumb'], figure[typeof~='mw:File/Frame'], */ .thumbinner { display: flex; flex-direction: column; }

.trow { display: flex; flex-direction: row; clear: left; flex-wrap: wrap; width: 100%; box-sizing: border-box; }

/* this is a cell */ .tsingle { margin: 1px; float: left; }

.theader { clear: both; font-weight: bold; text-align: center; align-self: center; background-color: transparent; color: inherit; width: 100%; }

/* figcaption, */ .thumbcaption { background-color: transparent; color: inherit; }

.text-align-left { text-align: left; }

.text-align-right { text-align: right; }

.text-align-center { text-align: center; }

@media all and ( max-width: 720px ) { /* Selectors in anticipation of changes to image markup generation - see https://phabricator.wikimedia.org/T271114 figure[typeof~='mw:File/Thumb'], figure[typeof~='mw:File/Frame'], */ .thumbinner { /* not !important usage can be removed when these are no longer inline styles inside Template:Multiple image and media query using min-width is introduced */ width: 100% !important; box-sizing: border-box; max-width: none !important; align-items: center; }	.trow, .trow * { justify-content: center; }	.tsingle { /* not !important usage can be removed when these are no longer inline styles inside Template:Multiple image and media query using min-width is introduced */ float: none !important; max-width: 100% !important; box-sizing: border-box; }	.trow > .thumbcaption { text-align: center; } }