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

From Wikivahdat
(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...")
 
m (Reverted edits by Mahdipor (talk) to last revision by Wikivahdat)
Tag: Rollback
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
.mp-topbanner {
.mp-topbanner {
text-align: center;
text-align: center;
width: 90%;
margin: 25px 0;
margin: 0 auto;
text-shadow: 1px 1px 2px #f8f9fa;
margin-bottom: 20px;
}
 
.mp-welcome p, .mp-description p {
margin: 0;  
display: inline-block;
padding: 0 5px;
}
}


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


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


.mp-description {
.mp-description {
font-size: 16px;
font-size: 16px;
color: #666;
margin-bottom: 5px;  
margin-bottom: 5px;  
border-bottom: 1px solid #e0e0e0;  
border-bottom: 1px solid #eaecf0;  
padding: 5px 0 10px 0;
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 {
.mp-menu {
border-bottom: 1px solid #e0e0e0;
margin-bottom: 5px;
border-bottom: 1px solid #eaecf0;
padding: 5px 0 10px 0;
}
}


.mp-menu .mp-menu-item {
#mp-upper, #mp-bottom {
display: inline-block;
display: flex;
font-size: 14px;
margin: 0 4px;
}
}


.mp-menu .mp-menu-item a {
#mp-article, #mp-help {
color: #0181a7 !important;
flex: 1 1 67%;
}
margin-right: 2px;
 
#mp-upper {
display: flex;
display: flex;
flex-direction: column;
}
}


#mp-left {
#mp-article-box, #mp-help-box {
flex: 1 1 70%;
margin-right: .3em;
margin-right: 2px;
margin-bottom: 1em;
padding: 0 5px;
padding: 1em;
border-radius: 0.25em;
border: 1px solid #eee;
box-shadow: 0 0 1rem #eee;
}
}


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


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


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


.item-box {
#mp-sidebar-box {
    background: #e1f9f7;
margin-left: .3em;
    border: 1px solid #90ebe8;
margin-bottom: 1em;
    border-radius: 0.5em;
padding: 1em;
    padding: 1em;
background: #f5faff;
    margin-bottom: 1em;
border-radius: 0.25em;
border: 1px solid #eee;
box-shadow: 0 0 1rem #eee;
}
}


.mp-h2 {
.mp-h2 {
padding: 10px;
padding: 10px;
border-radius: 6px;
border-radius: 0.25em;
background: #90ebe8;
background: #c6defe;
margin-bottom: 10px;
margin-bottom: 10px;
}
}
Line 105: Line 83:
}
}


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


.mp-more {
#mp-more {
float: right;
float: right;
margin-right: 10px;
margin-right: 10px;
}
#mp-new, #mp-top {
width: 100%;
height: auto;
margin-bottom: 10px;
}
}


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


Line 142: Line 113:
     background-color: #00528C;
     background-color: #00528C;
     float: left;
     float: left;
     margin: 7px 0 0 7px;
     margin: 7px 7px 0 0;
     border-radius: 50%;
     border-radius: 50%;
}
#badge {
font-weight: bold;
color: goldenrod;
}
}


@media (max-width: 875px) {
@media (max-width: 875px) {
.mp-topbanner {
.mp-topbanner {
margin-bottom: 0px;
margin: 5px 0;
}
}
Line 156: Line 132:
.mp-menu {
.mp-menu {
border-bottom: unset;
border-bottom: 0;
}
}
.mp-menu .hlist > ul li {
margin-right: 0;
}


#mp-upper {
#mp-upper, #mp-bottom {
  flex-direction: column;
  flex-direction: column;
}
}
 
.mp-h2 {  
#mp-article-box {
padding: 10px;
margin-right: 0;
border-radius: 6px;
background: #90ebe8;
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 {
#mp-help-box {
    width: 43px;
background: #f5faff;
    height: 43px;
    position: absolute;
    left: -1px;
    top: -13px;
    content: " ";
}
}
}
}

Latest revision as of 08:14, 25 May 2024

.mp-topbanner {
	text-align: center;
	margin: 25px 0;
	text-shadow: 1px 1px 2px #f8f9fa;
}

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

.mp-welcome-title { 
	color: #0181A7;
}

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

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

#mp-upper, #mp-bottom {
	display: flex;
}

#mp-article, #mp-help {
	flex: 1 1 67%;
	margin-right: 2px;
	display: flex;
	flex-direction: column;
}

#mp-article-box, #mp-help-box {
	margin-right: .3em;
	margin-bottom: 1em;
	padding: 1em;
	border-radius: 0.25em;
	border: 1px solid #eee;
	box-shadow: 0 0 1rem #eee;
}

#mp-article-box {
	background: #fff;
}

#mp-help-box {
	background: #f8f9fa;
}

#mp-sidebar {
	flex: 1 1 33%;
}

#mp-sidebar-box {
	margin-left: .3em;
	margin-bottom: 1em;	
	padding: 1em;
	background: #f5faff;
	border-radius: 0.25em;
	border: 1px solid #eee;
	box-shadow: 0 0 1rem #eee;
}

.mp-h2 {
	padding: 10px;
	border-radius: 0.25em;
	background: #c6defe;
	margin-bottom: 10px;
}

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

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

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

#mp-new ol {
	margin: 10px 0 0 10px;
	padding: 0;
}

#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 7px 0 0;
    border-radius: 50%;
}

#badge {
	font-weight: bold;
	color: goldenrod;
}

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

	#mp-upper, #mp-bottom {
	  flex-direction: column;
	}

	#mp-article-box {
		margin-right: 0;
	}
	
	#mp-help-box {
		background: #f5faff;
	}
}