Template:Multiple image/styles.css: Difference between revisions

From Vigyanwiki
< Template:Multiple image
m (Protected "Template:Multiple image/styles.css": Highly visible template: RFPP request ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
(Adding protection template)
Line 1: Line 1:
/* {{pp-template}} */
/* Note this will not work on old devices that do not support media queries. Ideally this should be defaults. */
/* Note this will not work on old devices that do not support media queries. Ideally this should be defaults. */
@media all and ( max-width: 720px ) {
@media all and ( max-width: 720px ) {

Revision as of 05:12, 4 March 2019

/* {{pp-template}} */
/* Note this will not work on old devices that do not support media queries. Ideally this should be defaults. */
@media all and ( max-width: 720px ) {
	.tmulti > .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;
		max-width: none !important;
	}
	.tmulti .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: none !important;
	    width: 100% !important;
	    text-align: center;
	}
}