Шаблон:Multiple image/styles.css — разлика између измена
Пређи на навигацију
Пређи на претрагу
Нема описа измене |
м (1 измена увезена) |
||
| (Једна међуизмена истог корисника није приказана) | |||
| Ред 1: | Ред 1: | ||
/* | /* 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 ) { | ||
.thumbinner { | .tmulti > .thumbinner { | ||
/* not !important usage can be removed when these are no longer inline styles | /* 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 */ | inside Template:Multiple image and media query using min-width is introduced */ | ||
width: 100% !important; | width: 100% !important; | ||
max-width: none !important; | max-width: none !important; | ||
} | } | ||
. | .tmulti .tsingle { | ||
/* not !important usage can be removed when these are no longer inline styles | /* 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 */ | inside Template:Multiple image and media query using min-width is introduced */ | ||
float: none !important; | float: none !important; | ||
max-width: | max-width: none !important; | ||
width: 100% !important; | |||
text-align: center; | text-align: center; | ||
} | } | ||
} | } | ||
Тренутна верзија на датум 5. фебруар 2021. у 19:07
/* 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;
}
}