Шаблон:Infobox/styles.css: различия между версиями

Материал из Demovio Wiki
Перейти к навигации Перейти к поиску
Нет описания правки
Нет описания правки
Строка 22: Строка 22:
max-width: 100%;
max-width: 100%;
}
}
.infobox img {
.infobox .image img {
width: 100%;
width: 100%;
height: auto;
height: auto;

Версия от 03:05, 14 марта 2025

.infobox {
	float: right;
	margin-left: 12px;
	margin-bottom: 6px;
	padding: 5px;
	width: 290px;
	border: 1px solid #a2a9b1;
	box-sizing: border-box;
}

.infobox .title {
	background-color: rgb(207, 227, 255);
	font-weight: 700;
	font-size: 15px;
	line-height: 18px;
	text-align: center;
	width: 100%;
	padding: 2px 0;
}

.infobox .image {
	max-width: 100%;
}
.infobox .image img {
	width: 100%;
	height: auto;
}
.infobox .image pre {
	background: transparent;
	border: none;
}

.infobox .plainlist {
	width: 128px;
	font-weight: 700;
	text-align: left;
}

.infobox .plainlist-container {
	display: flex;
}