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

