Kontent qismiga oʻtish

Andoza:Bosh sahifa sarlavhasi/styles.css

Vikiiqtibosdan olingan
.main-top {
	font-size: 1rem;
	display: none;
}

.main-top-left > p {
	font-size: 0.875em;
	margin: 0;
}

.main-top-right {
	font-size: 0.875em;
	margin-top: 0.5em;
}

.main-top-right > ul {
	display: none;
	margin-top: 0.5rem;
}

.main-top-right .mw-ui-button.mw-ui-quiet {
	padding-right: 0;
}

.main-top-header {
	border-bottom: 0;
	margin-bottom: 0;
	margin-top: 0;
}

.main-top-articleCount {
	margin-bottom: 0;
}

body.skin-minerva .main-top-articleCount {
	display: none;
}

.main-top-mobileSearch {
	display: none;
	margin-top: 1rem;
}

body.skin-minerva .main-top-mobileSearch {
	display: block;
}

.main-top-mobileSearchButton {
	background: #fff;
	border: none;
	box-shadow: 0 2px 2px 0 rgba( 0, 0, 0, 0.25 );
	color: #72777d;
	font-weight: normal;
	max-width: none;
	text-align: left;
	width: 100%;
}

@media screen and (min-width: 720px) {
	.main-top {
		background: url(//upload.wikimedia.org/wikipedia/commons/0/05/Wikiquote-logo-2.svg);
		background-repeat: no-repeat;
		background-color: #f7fafc;
        background-size: 250px 140px;
		border: 1px solid #c2dfff;
		border-radius: 10px;
		margin-bottom: 1.5rem;
		margin-top: 0.5rem;
		display: block;
		padding: 21px 0;
	}
	
	.main-top-articleCount {
		margin-bottom: 0.5rem;
	}
	
	body.skin-minerva .main-top-articleCount {
		display: block;
	}
	
	body.skin-minerva .main-top-mobileSearch {
		display: none;
	}
}

@media screen and (min-width: 1000px) {
	.mobile-only { display: none; }
	.desktop-only { display: block; }

	.main-top-right {
		flex: 2;
		margin-top: 0;
		text-align: right;
	}
	
	.main-top-right > ul {
		align-items: center;
		flex-direction: row-reverse;
		justify-content: right;
		margin-top: 0;
		text-align: left;
	}
	
	.main-top-createArticle + li .mw-ui-button.mw-ui-quiet {
		padding-right: 1em;
	}
}