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

Материал из Википедии — свободной энциклопедии
Перейти к навигации Перейти к поиску
.ts-geotemplate-map {
	background: #f8f9fa;
	border: 1px solid #a2a9b1;
	height: 500px;
	height: 80vh;
	text-align: center;
	width: 100%;
}

.ts-geotemplate-map:not(.leaflet-container) {
	display: grid;
}

.ts-geotemplate-map-noscript {
	font-style: italic;
	padding: 1em;
	place-self: center;
}

.ts-geotemplate-map.leaflet-container .ts-geotemplate-map-noscript {
	display: none;
}

.ts-geotemplate-table {
	background: #f8f9fa;
	border: 1px solid #a2a9b1;
	border-collapse: collapse;
}

.ts-geotemplate-table > caption {
	font-size: 125%;
	font-weight: bold;
}

.ts-geotemplate-table th {
	background: #eaecf0;
	text-align: center;
}

.ts-geotemplate-table th[scope="row"] {
	text-align: left;
}

.ts-geotemplate-table th,
.ts-geotemplate-table td {
	border: 1px solid #a2a9b1;
	padding: 0.2em 0.4em;
}

.ts-geotemplate-columns {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: 1em;
	margin: 1em 0;
}

.ts-geotemplate-toc {
	background: #eaecf0;
	border: 1px solid #a2a9b1;
	margin: 1em 0;
	padding: 0.5em 1em;
}

.ts-geotemplate-columns > :first-child {
	margin: 0 auto;
}

.ts-geotemplate-toc-title {
	display: inline;
	font-weight: bold;
}

@media (min-width: 1024px) {
	.ts-geotemplate-columns {
		flex-direction: row-reverse;
		gap: 1.5em;
	}
	
	.ts-geotemplate-columns > :first-child {
		flex: 0 auto;
	}
	
	.ts-geotemplate-map {
		flex: 1;
		width: auto;
	}
}

/* [[Категория:Шаблоны:Подстраницы CSS]] */