Bản mẫu:NewMainPage/Đầu trang/styles.css

/Thiết kế Trang Chính mới
Dựa trên:
https://github.com/wikimedia/wikimedia-ui-base/blob/master/wikimedia-ui-base.less
https://design.wikimedia.org/style-guide/
*/
.main-top {
	font-size: 1rem;
	margin-top: 0.5rem;
	padding-bottom: 0rem;
}
.main-top-left {
	text-align: center;
}
.main-top-left > p {
	font-size: 0.875em;
	margin: 0;
}
.main-top-right {
	font-size: 0.875em;
	margin-top: 1em;
	text-align: center;
}
.main-top-right > ul {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: row;
	margin-top: 0.5rem;
}
.main-top-right .mw-ui-button.mw-ui-quiet {
	padding: 6px 8px;
}
.main-top-header {
	border-bottom: 0;
	margin-bottom: 0;
	margin-top: 0;
	letter-spacing: 2.3px;
text-transform: uppercase;
font-weight: 600;
font-size: 1.7em;
}
.main-top-header .bigger {
	font-size: 1.3em;
}
.main-top-header .line {
	display: inline-block;
}
.main-top-slogan {
letter-spacing: 1px;
	text-transform: uppercase;
font-weight: 700;
padding-top: 10px;
font-family: -apple-system, 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Lato', 'Helvetica', 'Arial', sans-serif;
}
.main-top-articleCount {
	margin-bottom: 0;
}
.main-top-link {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	margin-top: 0rem;
}
.main-top-link .smaller {
	font-size: 0.9em;
}
.main-top-article {
	text-align: right;
	flex: 1;
	padding: 1rem;
}
.main-top-help {
	flex: 1;
	padding: 1rem;
}
	
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: center;
	width: 100%;
}
/Máy tính bảng
*/
@media (min-width: 720px) {
	.main-top {
		background-color: #f8f9fa;
		border: 1px solid #c8ccd1;
		border-radius: 2px;
		box-shadow: 0 1px 1px rgba(0, 0, 0, .15);
		margin-bottom: 0rem;
		padding: 1rem;
	}
	
	.main-top-right > ul {
		display: flex;
		flex-wrap: wrap;
	}
	
	.main-top-articleCount {
		margin-bottom: 0.5rem;
	}
	
	body.skin-minerva .main-top-articleCount {
		display: block;
	}
	
	body.skin-minerva .main-top-mobileSearch {
		display: none;
	}
}
/Máy tính
*/
@media (min-width: 1000px) {
	.main-top {
		align-items: center;
		background-image: url(https://upload.wikimedia.org/wikipedia/commons/b/b6/Wikipedia_logo_letters_banner_2.svg);
		background-position: right;
		background-repeat: no-repeat;
		display: flex;
		flex-wrap: wrap;
		margin-bottom: 0rem;
		margin-top: 0.5rem;
		padding: 0;
	}
	
	.main-top-left {
		background-image: linear-gradient(to right, #f8f9fa 0%, #f8f9fa 80%, rgba(248, 249, 250, 0) 100%);
		flex: 1;
		padding: 1.2rem 0 1.5rem 1.5rem;
	}
	
	.main-top-right {
		/*border-left: 1px solid #ddd;*/
		flex: 1;
		margin-top: 0.5rem;
		padding-right: 1.5rem;
	}
	
	.main-top-right > ul {
		margin-top: 0;
		text-align: left;
	}
	
	.main-top-createArticle + li .mw-ui-button.mw-ui-quiet {
		padding-right: 1em;
	}
	
	.main-top-article, .main-top-help {
		padding: 1rem 2rem;
	}
}
/* bugfix in skin-modern */
body.skin-modern .main-top-header {
	line-height: 1.8rem;
	font-size: 1.8rem;
}