MediaWiki:Common.css: различия между версиями
Материал из SAMP
Нет описания правки |
Нет описания правки |
||
| Строка 1: | Строка 1: | ||
.infobox | .infobox | ||
{ | { | ||
border: 1px #C6C6C6 solid; | border: 1px #C6C6C6 solid; | ||
} | } | ||
.infobox_head { text-align: center; font-weight: bold; padding: 0.5%; } | .infobox_head | ||
{ | |||
text-align: center; | |||
font-weight: bold; | |||
padding: 2% 0.5%; | |||
} | |||
@media screen and (orientation: landscape)/* PK */ | @media screen and (orientation: landscape)/* PK */ | ||
Версия от 20:50, 3 марта 2025
.infobox
{
border: 1px #C6C6C6 solid;
}
.infobox_head
{
text-align: center;
font-weight: bold;
padding: 2% 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: 100%;
}
.infobox_image > span > span > img
{
width: 100%;
height: 500px;
border: none;
}
}

