Шаблон:FlexBox/styles.css

Версия от 03:00, 26 августа 2026; Sanec (обсуждение | вклад) (Новая страница: «.flexbox-container { display: flex; flex: 1 0 30rem; flex-direction: column; background-color: #f5f5f5; border-radius: 8px; box-shadow: 0 0 0.3em #999; } .flexbox-container:before { border-radius: 8px; } @media (max-width: 719px) { .flexbox-container { flex: 1 0 100%; } } .flexbox-header { display: flex; align-items: center; min-height: 1.75rem; font-weight: bold; font-size: 1.1rem; background-color: #e0e0e0; border-bottom: 2px solid #99...»)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)
.flexbox-container {
	display: flex;
	flex: 1 0 30rem;
	flex-direction: column;
	background-color: #f5f5f5;
	border-radius: 8px;
	box-shadow: 0 0 0.3em #999;
}

.flexbox-container:before {
	border-radius: 8px;
}

@media (max-width: 719px) {
	.flexbox-container {
		flex: 1 0 100%;
	}
}

.flexbox-header {
	display: flex;
	align-items: center;
	min-height: 1.75rem;
	font-weight: bold;
	font-size: 1.1rem;
	background-color: #e0e0e0;
	border-bottom: 2px solid #999;
	border-radius: 8px 8px 0 0;
}

.flexbox-header hr {
	display: none;
}

.flexbox-title {
	padding-top: 2px;
	margin: 0 0.5em;
	font-size: 0.85em;
	line-height: 1.1rem;
}

.flexbox-subtitle {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	min-width: 2.5rem;
	padding: 0 0.25em;
	background-color: #999;
	color: #ffffff;
	border-radius: 8px 8px 0 0;
}

.flexbox-subtitle.alone {
	width: 100%;
	margin: 0;
	padding: 2px 0.25em 0;
	text-align: center;
	line-height: 1.1rem;
	font-size: 1.1em;
}

.flexbox-content {
	flex: 1;
	display: flex;
}

.flexbox-image {
	overflow: hidden;
	align-content: center;
	border: 2px solid #999;
	border-top: 0;
	border-bottom-left-radius: 8px;
}

.flexbox-text {
	border: solid #e0e0e0;
	border-width: 0px 1px 1px 0;
	border-bottom-right-radius: 8px;
}

.flexbox-desc {
	flex: 1;
	padding: 0.33rem;
	line-height: 1.125rem;
}

.flexbox-text {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.flexbox-desc {
	flex: 1;
}