Template:Main Page/styles.css: Difference between revisions

mNo edit summary
mNo edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
body.page-Main_Page #mp-topbanner {
clear: both;
}
body.page-Main_Page #ca-delete,
body.page-Main_Page #deleteconfirm,
body.page-Main_Page #t-cite,
body.page-Main_Page #lastmod,
body.page-Main_Page #siteSub,
body.page-Main_Page #contentSub,
body.page-Main_Page #catlinks,
body.page-Main_Page h1.firstHeading,
body.page-Main_Page #centralNotice {
display: none !important;
}
body.page-Main_Page #ca-history,
body.page-Main_Page #pagehistory {
display: none;
}
.mp-topbanner {
.mp-topbanner {
text-align: center;
text-align: center;
Line 34: Line 13:


.mp-welcome {
.mp-welcome {
font-size: 31px;
font-size: 30px;
color: #999;
color: #999;
font-weight: bold;
}
}


.mp-welcome .mp-welcome-title, .mp-description .colored a {  
.mp-welcome .mp-welcome-title, .mp-description .colored a {  
color: #0181A7 !important;  
color: #0181A7 !important;
}
 
.mp-welcome .mp-welcome-title {
font-weight: bold;
}
}


Line 67: Line 51:


.mp-menu {
.mp-menu {
margin-bottom: 5px;
border-bottom: 1px solid #e0e0e0;
border-bottom: 1px solid #e0e0e0;
padding: 5px 0 10px 0;
}
}


.mp-menu .mp-menu-item {
.mp-menu a {
display: inline-block;
font-size: 14px;
margin: 0 4px;
}
 
.mp-menu .mp-menu-item a {
color: #0181a7 !important;
color: #0181a7 !important;
}
}
Line 135: Line 116:
}
}


.mp-more {
#mp-more {
float: right;
float: right;
margin-right: 10px;
margin-right: 10px;
Line 178: Line 159:
.mp-menu {
.mp-menu {
border-bottom: unset;
border-bottom: unset;
}
}
.mp-menu .hlist > ul li {
margin-right: unset;
}


#mp-upper {
#mp-upper {

Latest revision as of 04:01, 13 January 2023

.mp-topbanner {
	text-align: center;
	width: 90%;
	margin: 0 auto;
	margin-bottom: 20px;
}

.mp-welcome p, .mp-description p { 
	margin: 0; 
	display: inline-block; 
	padding: 0 5px;
}

.mp-welcome {
	font-size: 30px;
	color: #999;
	font-weight: bold;
}

.mp-welcome .mp-welcome-title, .mp-description .colored a { 
	color: #0181A7 !important;
}

.mp-welcome .mp-welcome-title { 
	font-weight: bold;
}

.mp-description {
	font-size: 16px;
	color: #666; 
	margin-bottom: 5px; 
	border-bottom: 1px solid #e0e0e0; 
	padding: 5px 0 10px 0;
}

.mp-welcome p {
	border-bottom: 3px solid #e0e0e0;
}

.mp-welcome .wellcome {
	display: inline-block;
	border-bottom: 3px solid #e0e0e0;
}

.mp-welcome h1, .mp-description h2 {
	display: inline;
	font-size: 1em;
	border:  none;
	color: #666;
}

.mp-menu {
	margin-bottom: 5px;
	border-bottom: 1px solid #e0e0e0;
	padding: 5px 0 10px 0;
	
}

.mp-menu a {
	color: #0181a7 !important;
}

#mp-upper {
	display: flex;
}

#mp-left {
	flex: 1 1 70%;
	margin-right: 2px;
	padding: 0 5px;
}

#mp-right {
	flex: 1 1 30%;
	margin-left: 2px;
}

#mp-article {
	display: flex;
	flex-direction: column;
	padding-top: 1em;
}

#mp-f-article, #mp-s-article, #mp-help {
	margin-bottom: 1em;
}

.item-box {
    background: #f5faff none repeat scroll 0 0;
    border: 1px solid #a7d7f9;
    border-radius: 0.5em;
    padding: 1em;
    margin-bottom: 1em;
}

.mp-h2 {
	padding: 10px;
	border-radius: 6px;
	background: #c6defe none repeat scroll 0 0;
	margin-bottom: 10px;
}

.mp-h2 span {
	font-size: 15px;
	position: relative;
	padding-left: 45px;
}

#mp-article .mp-h2 span:before, #mp-new .mp-h2 span:before, #mp-top .mp-h2 span:before, #mp-help  .mp-h2 span:before {
    width: 43px;
    height: 43px;
    position: absolute;
    left: -1px;
    top: -9px;
    content: " ";
}

#mp-more {
	float: right;
	margin-right: 10px;
}

#mp-new, .topArticles {
	width: 100%;
	height: auto; 
	margin-bottom: 10px;
}

#mp-new ol {
	margin: 10px 10px 0 0;
	padding: 0; 
	text-align: left !important;
}

#mp-new ol li {
	list-style: none;
}

#mp-new ol li:before { 
    content: "";
    line-height: 1em;
    width: 5px;
    height: 5px;
    background-color: #00528C;
    float: left;
    margin: 7px 0 0 7px;
    border-radius: 50%;
}

@media (max-width: 875px) {
	.mp-topbanner {
		margin-bottom: 0px;
	}	
	
	.mp-welcome {
		font-size: 24px;
	}
	
	.mp-menu {
		border-bottom: unset;
	}
	
	.mp-menu .hlist > ul li {
		margin-right: unset;
	}

	#mp-upper {
	  flex-direction: column;
	}
	
	.mp-h2 { 
		padding: 10px;
		border-radius: 6px;
		background: #c6defe none repeat scroll 0 0;
		margin-bottom: 10px;
	}
	
	.mp-h2 span { 
		padding-left: 45px;
		position: relative;
	}
	
	#mp-article .mp-h2 span:before, #mp-new .mp-h2 span:before, #mp-top .mp-h2 span:before, #mp-help  .mp-h2 span:before {
	    width: 43px;
	    height: 43px;
	    position: absolute;
	    left: -1px;
	    top: -9px;
	    content: " ";
	}
}