MediaWiki:Common.css: различия между версиями
Материал из SAMP
Нет описания правки |
Нет описания правки |
||
Строка 1: | Строка 1: | ||
/* Размещённый здесь CSS будет применяться ко всем темам оформления */ | /* Размещённый здесь CSS будет применяться ко всем темам оформления */ | ||
.infobox_head { text-align: center; } | |||
@media screen and (orientation: landscape)/* PK */ | @media screen and (orientation: landscape)/* PK */ | ||
{ | { | ||
Строка 8: | Строка 11: | ||
float: right; | float: right; | ||
width: 350px; | width: 350px; | ||
} | |||
.infobox_image > span > span > img | |||
{ | |||
width: 100%; | |||
height: 200px; | |||
} | |||
} | |||
@media screen and (orientation: portrait )/* mobile */ | |||
{ | |||
.infobox | |||
{ | |||
width: 95%; | |||
} | } | ||
.infobox_image > span > span > img | .infobox_image > span > span > img |
Версия от 21:33, 28 февраля 2025
/* Размещённый здесь CSS будет применяться ко всем темам оформления */ .infobox_head { text-align: center; } @media screen and (orientation: landscape)/* PK */ { .infobox { position: relative; lear: right; float: right; width: 350px; } .infobox_image > span > span > img { width: 100%; height: 200px; } } @media screen and (orientation: portrait )/* mobile */ { .infobox { width: 95%; } .infobox_image > span > span > img { width: 100%; height: 200px; } }