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

import TemplateStyles CSS
import TemplateStyles CSS
Строка 16: Строка 16:
gap: 0.5rem;
gap: 0.5rem;
}
}
.portalsection-content--wrap {
.portalsection-content.is-wrap {
display: grid;
display: grid;
grid-template-rows: repeat(2, auto);
grid-template-rows: repeat(2, auto);
Строка 26: Строка 26:
}
}
@media (max-width: 720px) {
@media (max-width: 720px) {
.portalsection-content--wrap {
.portalsection-content.is-wrap {
display: flex;
display: flex;
flex-wrap: wrap;
flex-wrap: wrap;

Версия от 20:13, 6 августа 2026

.portalsection {
	margin: 1rem 0;
}
.portalsection:first-of-type { margin-top: 0; }
.portalsection:last-of-type { margin-bottom: 0; }
.portalsection hr { margin-top: 0.33rem; }
.portalsection-title {
	font-size: 120%;
	font-weight: bold;
	line-height: 1.1rem;
}
.portalsection-content {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.portalsection-content.is-wrap {
	display: grid;
	grid-template-rows: repeat(2, auto);
	grid-auto-flow: column;
	grid-auto-columns: 7.5rem;
	justify-content: center;
	align-items: stretch;
	gap: 0.5rem;
}
@media (max-width: 720px) {
	.portalsection-content.is-wrap {
		display: flex;
		flex-wrap: wrap;
		grid-auto-flow: unset;
	}
}