Template:Main Page/styles.css

< Template:Main Page
Revision as of 20:24, 15 November 2022 by Wikinoor.ir (talk | contribs) (Created page with ".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: 31px; color: #999; } .mp-welcome .mp-welcome-title, .mp-description .colored a { color: #0181A7 !important; } .mp-description { font-size: 16px; color: #666; margin-bottom: 5px; border-bottom: 1px solid #e0e0e0; padding: 5px 0 10px 0; } .mp-welcome...")

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)
.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: 31px;
	color: #999;
}

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

.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 {
	border-bottom: 1px solid #e0e0e0;
}

.mp-menu .mp-menu-item {
	display: inline-block;
	font-size: 14px;
	margin: 0 4px;
}

.mp-menu .mp-menu-item 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-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: " ";
	}
}