الگو:صفحهٔ اصلی/styles.css: تفاوت میان نسخه‌ها

از ویکی البرز
صفحه‌ای تازه حاوی «body.page-صفحهٔ_اصلی #mp-topbanner { clear: both; } body.page-صفحهٔ_اصلی #ca-delete, body.page-صفحهٔ_اصلی #deleteconfirm, body.page-صفحهٔ_اصلی #t-cite, body.page-صفحهٔ_اصلی #lastmod, body.page-صفحهٔ_اصلی #siteSub, body.page-صفحهٔ_اصلی #contentSub, body.page-صفحهٔ_اصلی #catlinks, body.page-صفحهٔ_اصلی h1.firstHeading, body.page-صفحهٔ_اصلی #central...» ایجاد کرد
 
جزبدون خلاصۀ ویرایش
 
خط ۱: خط ۱:
body.page-صفحهٔ_اصلی #mp-topbanner {
.mp-topbanner {
clear: both;
text-align: center;
padding: 25px 25px 20px 25px;
margin-bottom: 5px;
text-shadow: 1px 1px 2px #f8f9fa;
background: linear-gradient(to bottom,#fff,#c6defe);
border-bottom: solid 1px #a8d7fc;
border-radius: 3.0125px;
box-shadow: 0 .1em .1em #eaecf0;
}
}


body.page-صفحهٔ_اصلی #ca-delete,
.mp-welcome {
body.page-صفحهٔ_اصلی #deleteconfirm,
font-family: Nastaliq;
body.page-صفحهٔ_اصلی #t-cite,
font-kerning: auto;
body.page-صفحهٔ_اصلی #lastmod,
font-size: 40px;
body.page-صفحهٔ_اصلی #siteSub,
font-synthesis: none;
body.page-صفحهٔ_اصلی #contentSub,
font-style: normal;
body.page-صفحهٔ_اصلی #catlinks,
font-weight: normal;
body.page-صفحهٔ_اصلی h1.firstHeading,
color: #457;
body.page-صفحهٔ_اصلی #centralNotice {
    display: none !important;
}
}


body.page-صفحهٔ_اصلی #ca-history,
.mp-description {
body.page-صفحهٔ_اصلی #pagehistory {
border-bottom: 1px solid #c6defe;
display: none;
padding: 5px 0 10px 0;
}
}


.mp-box {
.mp-menu {
border: 1px solid #eaecf0;
padding-top: 5px;
padding: 0 0.5em 0.5em;
margin-top: 4px;
}
}


.mp-h2,
#mp-upper, #mp-bottom {
body.skin-timeless .mp-h2 {  
display: flex;
border: 1px solid #fff;
margin: 0.5em 0;
padding: 0.2em 0.4em;
font-size: 120%;
font-weight: bold;
font-family: inherit;
}
}


.mp-later {
#mp-article, #mp-help {
font-size: 85%;
flex: 1 1 67%;
font-weight: normal;
margin-left: 2px;
display: flex;
flex-direction: column;
}
}


#mp-topbanner {
#mp-article-box, #mp-help-box, #mp-sidebar-box {
background: #f9f9f9;
margin-bottom: 1em;
     border-color: #ddd;
padding: 1em;
    border: 1px solid #eaecf0;
     border-radius: 3.0125px;
}
}


#mp-welcomecount {
#mp-sidebar-box {
text-align: center;
margin-right: .3em;
    margin: 0.4em;
}
}


#mp-welcome {
#mp-article-box, #mp-help-box, #mp-sidebar-box {
padding: 10px 0 15px;
background: #fff;
}
}


/* clear fix */
#mp-sidebar {
.mp-contains-float::after {
flex: 1 1 33%;
  content: "";
  display: block;
  clear: both;
}
}


#mp-banner {
.mp-h2 {
background: #fffaf5;
    padding: .59em .5em;
border-color: #f2e0ce;
    margin-bottom: 10px;
    border-bottom: solid 1px #a8d7fc;
    background: #c6defe;
    border-top-right-radius: 12.05px;
    border-top-left-radius: 50.2px;
    border-right: solid 1px #a8d7fc;
    box-shadow: .2em .2em .3em #eaecf0;
}
}


#mp-right {
.mp-h2 span {
background: #f5fffa;
font-size: 15px;
border-color: #cef2e0;
position: relative;
padding-right: 45px;
color: #457;
}
}


#mp-right .mp-h2 {
.mp-h2 span:before {
background: #cef2e0;
    width: 43px;
border-color: #a3bfb1;
    height: 43px;
    position: absolute;
    right: -1px;
    top: -9px;
    content: " ";
}
}


#mp-left {
#mp-more {
background: #f5faff;
float: left;
border-color: #cedff2;
margin-left: 10px;
}
}


#mp-left .mp-h2 {
#mp-new ol {
background: #cedff2;
margin: 10px 10px 0 0;
border-color: #a3b0bf;
padding: 0;
}
}


#mp-lower {
#mp-new ol li {
background: #faf5ff;
list-style: none;
border-color: #ddcef2;
}
}


#mp-lower .mp-h2 {
#mp-new ol li:before {
background: #ddcef2;
    content: "";
border-color: #afa3bf;
    line-height: 1em;
    width: 5px;
    height: 5px;
    background-color: #00528C;
    float: right;
    margin: 7px 0 0 7px;
}
}


#mp-bottom {
#badge {
border-color: #e2e2e2;
font-weight: bold;
}
color: goldenrod;
 
#mp-bottom .mp-h2 {
background: #eee;
border-color: #ddd;
}
 
#interwiki-completelist {
    font-weight: bold;
}
}


@media (max-width: 875px) {
@media (max-width: 875px) {
/* We need to improve Template:POTD as used on the main page so that these
.mp-topbanner {
* hacks aren't necessary */
margin: 5px 0;
#mp-tfp table,
}
#mp-tfp tr,
#mp-tfp td,
.mp-welcome {
#mp-tfp tbody {
font-size: 36px;
display: block !important;
}
width: 100% !important;
box-sizing: border-box;
.mp-menu {
border-bottom: 0;
}
.mp-menu .hlist > ul li {
margin-left: 0;
}
}


#mp-tfp tr:first-child td:first-child a {
#mp-upper, #mp-bottom {
text-align: center;
  flex-direction: column;
display: table;
margin: 0 auto;
}
}
}


@media (min-width: 875px) {
#mp-sidebar-box {
#mp-upper {
margin-right: 0;
display: flex;
}
#mp-right {
flex: 1 1 52%;
margin-left: 2px;
}
}
#mp-left {
#mp-help-box {
  flex: 1 1 48%;
background: #fff;
  margin-right: 2px;
}
}
}
}

نسخهٔ کنونی تا ‏۱۵ دسامبر ۲۰۲۴، ساعت ۲۰:۳۲

.mp-topbanner {
	text-align: center;
	padding: 25px 25px 20px 25px;
	margin-bottom: 5px;
	text-shadow: 1px 1px 2px #f8f9fa;
	background: linear-gradient(to bottom,#fff,#c6defe);
	border-bottom: solid 1px #a8d7fc;
	border-radius: 3.0125px;
	box-shadow: 0 .1em .1em #eaecf0;
}

.mp-welcome {
	font-family: Nastaliq;
	font-kerning: auto;
	font-size: 40px;
	font-synthesis: none;
	font-style: normal;
	font-weight: normal;
	color: #457;
}

.mp-description {
	border-bottom: 1px solid #c6defe; 
	padding: 5px 0 10px 0;
}

.mp-menu {
	padding-top: 5px;
}

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

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

#mp-article-box, #mp-help-box, #mp-sidebar-box {
	margin-bottom: 1em;
	padding: 1em;
    border: 1px solid #eaecf0;
    border-radius: 3.0125px;
}

#mp-sidebar-box {
	margin-right: .3em;
}

#mp-article-box, #mp-help-box, #mp-sidebar-box {
	background: #fff;
}

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

.mp-h2 {
    padding: .59em .5em;
    margin-bottom: 10px;
    border-bottom: solid 1px #a8d7fc;
    background: #c6defe;
    border-top-right-radius: 12.05px;
    border-top-left-radius: 50.2px;
    border-right: solid 1px #a8d7fc;
    box-shadow: .2em .2em .3em #eaecf0;
}

.mp-h2 span {
	font-size: 15px;
	position: relative;
	padding-right: 45px;
	color: #457;	
}

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

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

#mp-new ol {
	margin: 10px 10px 0 0;
	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: right;
    margin: 7px 0 0 7px;
}

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

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

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

	#mp-sidebar-box {
		margin-right: 0;
	}
	
	#mp-help-box {
		background: #fff;
	}
}