MediaWiki:Common.css: различия между версиями

Материал из SAMP
Нет описания правки
Нет описания правки
Строка 58: Строка 58:
{
{
width: 100%;
width: 100%;
height: 300px;
height: 180px;
border: none;
border: none;
}
}
}
}

Версия от 21:07, 4 марта 2025

.infobox
{
	border: 1px #C6C6C6 solid;
}
.infobox_head 
{ 
	text-align: center; 
	font-weight: bold; 
	padding: 2% 0.5%; 
	font-size: 18px;
}
.infobox_param
{
	display: flex;
	border-bottom: 2px solid #FFFFFF;
    margin: 1px 5%;
    padding: 5px 5px 10px 5px;
}
.infobox_param:last-child
{
	border-bottom: unset;
}
.infobox_param_titul
{
	font-weight: bold;
}
.infobox_param_text > p
{
	margin: 0;
}
.infobox_param > div
{
	width: 50%;
}
@media screen and (orientation: landscape)/* PK */ 
{
	.infobox
	{
		position: relative;
		lear: right;
		float: right;
		width: 320px;
	}
	.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: 180px;
		border: none;
	}
}