Шаблон:Кронос/styles.css

Материал из ultracity
Перейти к навигации Перейти к поиску
.center { /* Minerva skin doesn't provide this */
	text-align: center;
}
.kronos-banner-image {
	max-width: 100%;
	height: 100%;
	object-fit: contain;
	margin-top: 1vh;
}
.kronos-subtitle {
	text-align: center;
}
.kronos-header {
	display: flex;
	flex-direction:row;
	flex-wrap: wrap;
	text-align:center; /* noflex */
	padding: 5px;
	margin-bottom:1em;
}

.kronos-header + .kronos-header {
	margin-top: -2em;
}

.kronos-header > .kronos-tab {
	display:inline-block; /* noflex */
	flex:1 1 0;
	align-self: flex-end;
	vertical-align:bottom; /* noflex */
	text-align:center;
	font-size:larger;
	margin: 5px;
}
.kronos-tab > .blue-marker {
	visibility: hidden;
	background-color: #233b77;
	height: 0.6em;
}
.kronos-tab.selected > .blue-marker {
	visibility: visible;
}
@media (max-width:550px) {
	.kronos-header {
		flex-direction:column;
		padding:0;
		margin-top: 0!important; /* cancels out the sibling styling */
	}
	.kronos-header > .kronos-tab {
		width: 100%;
		margin:0;
	}
	/* At smaller sizes we make the hr the blue marker */
	.kronos-tab > .blue-marker {
		display:none;
	}
	.kronos-tab > p {
		margin:0 2vw 0 2vw;
	}
	.kronos-tab.selected > hr {
		background-color: #233b77;
		height: 5px;
	}
}
@media (min-width:551px) {
	.kronos-subtitle {
		font-size:155%;
	}
}