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

از امامت‌پدیا، دانشنامهٔ امامت و ولایت
بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
خط ۱: خط ۱:
/* --------------------- Begin Main Page Style ----------------- */
/* --------------------- Begin Main Page Style ----------------- */
.mainpage_head {
/*.mainpage_head {*/
    text-align: center;
/*    text-align: center;*/
padding: 10px;
/* padding: 10px;*/
margin: 5px;
/* margin: 5px;*/
min-width: 210px;
/* min-width: 210px;*/
box-shadow: 0 2px 2px rgba(0,0,0,0.1);
/* box-shadow: 0 2px 2px rgba(0,0,0,0.1);*/
/*}*/
 
/*.mainpage_body {*/
/*    display: flex;*/
/*    flex-flow: row wrap;*/
/*}*/
 
/*.mainpage_head_desc div:nth-child(1) {*/
/*    font-size: 110%*/
/*}*/
 
/*.mainpage_head_desc div:nth-child(2), .mainpage_head_desc div:nth-child(3) {*/
/*    font-size: 90%*/
/*}*/
 
/*.mainpage_head_desc div:nth-child(4) {*/
/* border-top: 1px solid #CCC;*/
/* margin: 0; */
/* padding: 5px 0;*/
/* font-size: 90%*/
/*}*/
 
/*.mainpage_body_right { */
/* display: flex;*/
/* flex-direction: column;*/
/* flex: 7;*/
/*}*/
 
/*.mainpage_body_left { */
/* flex: 3;*/
/*}*/
 
/*.mainpage_box { */
/* padding: 10px;*/
/* margin: 5px;*/
/* min-width: 210px;*/
/* border-width: 1px;*/
/* border-radius: 7px;*/
/* box-shadow: 0 2px 2px rgba(0,0,0,0.1); */
/*}*/
 
/*.mainpage_box_header { */
/* padding: 10px;*/
/* margin-bottom: 5px;*/
/* border-width: 1px;*/
/* background: #f8f9fa;*/
/*}*/
 
/*.mainpage_box_title {*/
/* border-bottom: 1px solid #CCC;*/
/* padding: 5px 10px;*/
/* margin: 5px;*/
/*}*/
 
/*.mainpage_box_content {*/
/* padding: 5px;*/
/*}*/
 
/*.mainpage_box_more {*/
/* float: left;*/
/*}*/
 
/*#mp-topbanner {*/
/* background: #ffffff;*/
/*}*/
 
/*#mp-right .mainpage_box {*/
/* background: #f4f9ff;*/
/* border-radius:2px;*/
/*}*/
 
/*#mp-left .mainpage_box {*/
/* background: #f4f9ff;*/
/* border-radius:2px;*/
/*}*/
 
/*#mp-middle {*/
/* background: #f4f9ff;*/
/* border-radius:2px;*/
/* padding: 10px;*/
/* margin: 5px;*/
/*}*/
 
/*#mp-lower {*/
/* padding: 10px;*/
/* margin: 5px;*/
/* background: #f4f9ff;*/
/* border-radius:2px;*/
/*}*/
 
/*#mp-right .mainpage_box_header {*/
/* background: #C6DEFE;*/
/* border-radius:2px;*/
/* padding: 5px 8px 5px 0;*/
 
/*}*/
 
/*#mp-left .mainpage_box_header {*/
/* background: #C6DEFE;*/
/* border-radius:2px;*/
/* padding: 5px 8px 5px 0;*/
/*}*/
 
/*#mp-middle .mainpage_box_header {*/
/* background: #C6DEFE;*/
/*    border-radius:2px;*/
/*    padding: 5px 8px 5px 0;*/
/*}*/
 
/*#mp-lower .mainpage_box_header {*/
/* background: #C6DEFE;*/
/*    border-radius:2px;*/
/*    padding: 5px 8px 5px 0;*/
/*}*/
 
/* --------------------- End Main Page Style ----------------- */
/*@media screen and (max-width: 719px) {*/
/*}*/
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
.mp-topbanner {
text-align: center;
margin: 25px 0;
text-shadow: 1px 1px 2px #f8f9fa;
}
 
.mp-welcome {
font-size: 30px;
font-weight: bold;
color: #777;
}
}


.mainpage_body {
.mp-welcome-title {  
    display: flex;
color: #0181A7;
    flex-flow: row wrap;
}
}


.mainpage_head_desc div:nth-child(1) {
.mp-description {
    font-size: 110%
font-size: 16px;
margin-bottom: 5px;
border-bottom: 1px solid #eaecf0;
padding: 5px 0 10px 0;
}
}


.mainpage_head_desc div:nth-child(2), .mainpage_head_desc div:nth-child(3) {
.mp-menu {
    font-size: 90%
margin-bottom: 5px;
border-bottom: 1px solid #eaecf0;
padding: 5px 0 10px 0;
}
}


.mainpage_head_desc div:nth-child(4) {
#mp-upper, #mp-bottom {
border-top: 1px solid #CCC;
display: flex;
margin: 0;  
padding: 5px 0;
font-size: 90%
}
}


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


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


.mainpage_box {
#mp-article-box {
padding: 10px;
background: #fff;
margin: 5px;
min-width: 210px;
border-width: 1px;
border-radius: 7px;
box-shadow: 0 2px 2px rgba(0,0,0,0.1);
}
}


.mainpage_box_header {
#mp-help-box {
padding: 10px;
margin-bottom: 5px;
border-width: 1px;
background: #f8f9fa;
background: #f8f9fa;
}
}


.mainpage_box_title {
#mp-sidebar {
border-bottom: 1px solid #CCC;
flex: 1 1 33%;
padding: 5px 10px;
margin: 5px;
}
}


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


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


#mp-topbanner {
.mp-h2 span {
background: #ffffff;
font-size: 15px;
position: relative;
padding-right: 45px;
}
}


#mp-right .mainpage_box {
.mp-h2 span:before {
background: #f4f9ff;
    width: 43px;
border-radius:2px;
    height: 43px;
    position: absolute;
    right: -1px;
    top: -9px;
    content: " ";
}
}


#mp-left .mainpage_box {
#mp-more {
background: #f4f9ff;
float: left;
border-radius:2px;
margin-left: 10px;
}
}


#mp-middle {
#mp-new ol {
background: #f4f9ff;
margin: 10px 10px 0 0;
border-radius:2px;
padding: 0;
padding: 10px;
margin: 5px;
}
}


#mp-lower {
#mp-new ol li {
padding: 10px;
list-style: none;
margin: 5px;
background: #f4f9ff;
border-radius:2px;
}
}


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


#mp-left .mainpage_box_header {
#badge {
background: #C6DEFE;
font-weight: bold;
border-radius:2px;
color: goldenrod;
padding: 5px 8px 5px 0;
}
}


#mp-middle .mainpage_box_header {
@media (max-width: 875px) {
background: #C6DEFE;
.mp-topbanner {
    border-radius:2px;
margin: 5px 0;
    padding: 5px 8px 5px 0;
}
}
.mp-welcome {
font-size: 24px;
}
.mp-menu {
border-bottom: 0;
}
.mp-menu .hlist > ul li {
margin-left: 0;
}


#mp-lower .mainpage_box_header {
#mp-upper, #mp-bottom {
background: #C6DEFE;
  flex-direction: column;
    border-radius:2px;
}
    padding: 5px 8px 5px 0;
}


/* --------------------- End Main Page Style ----------------- */
#mp-article-box {
@media screen and (max-width: 719px) {
margin-left: 0;
}
#mp-help-box {
background: #f5faff;
}
}
}

نسخهٔ ‏۴ مارس ۲۰۲۴، ساعت ۱۷:۲۵

/* --------------------- Begin Main Page Style ----------------- */
/*.mainpage_head {*/
/*    text-align: center;*/
/*	padding: 10px;*/
/*	margin: 5px;*/
/*	min-width: 210px;*/
/*	box-shadow: 0 2px 2px rgba(0,0,0,0.1);*/
/*}*/

/*.mainpage_body {*/
/*    display: flex;*/
/*    flex-flow: row wrap;*/
/*}*/

/*.mainpage_head_desc div:nth-child(1) {*/
/*    font-size: 110%*/
/*}*/

/*.mainpage_head_desc div:nth-child(2), .mainpage_head_desc div:nth-child(3) {*/
/*    font-size: 90%*/
/*}*/

/*.mainpage_head_desc div:nth-child(4) {*/
/*	border-top: 1px solid #CCC;*/
/*	margin: 0; */
/*	padding: 5px 0;*/
/*	font-size: 90%*/
/*}*/

/*.mainpage_body_right { */
/*	display: flex;*/
/*	flex-direction: column;*/
/*	flex: 7;*/
/*}*/

/*.mainpage_body_left { */
/*	flex: 3;*/
/*}*/

/*.mainpage_box { */
/*	padding: 10px;*/
/*	margin: 5px;*/
/*	min-width: 210px;*/
/*	border-width: 1px;*/
/*	border-radius: 7px;*/
/*	box-shadow: 0 2px 2px rgba(0,0,0,0.1);	*/
/*}*/

/*.mainpage_box_header { */
/*	padding: 10px;*/
/*	margin-bottom: 5px;*/
/*	border-width: 1px;*/
/*	background: #f8f9fa;*/
/*}*/

/*.mainpage_box_title {*/
/*	border-bottom: 1px solid #CCC;*/
/*	padding: 5px 10px;*/
/*	margin: 5px;*/
/*}*/

/*.mainpage_box_content {*/
/*	padding: 5px;*/
/*}*/

/*.mainpage_box_more {*/
/*	float: left;*/
/*}*/

/*#mp-topbanner {*/
/*	background: #ffffff;*/
/*}*/

/*#mp-right .mainpage_box {*/
/*	background: #f4f9ff;*/
/*	border-radius:2px;*/
	
/*}*/

/*#mp-left .mainpage_box {*/
/*	background: #f4f9ff;*/
/*	border-radius:2px;*/
/*}*/

/*#mp-middle {*/
/*	background: #f4f9ff;*/
/*	border-radius:2px;*/
/*	padding: 10px;*/
/*	margin: 5px;*/
/*}*/

/*#mp-lower {*/
/*	padding: 10px;*/
/*	margin: 5px;*/
/*	background: #f4f9ff;*/
/*	border-radius:2px;*/
/*}*/

/*#mp-right .mainpage_box_header {*/
/*	background: #C6DEFE;*/
/*	border-radius:2px;*/
/*	padding: 5px 8px 5px 0;*/

/*}*/

/*#mp-left .mainpage_box_header {*/
/*	background: #C6DEFE;*/
/*	border-radius:2px;*/
/*	padding: 5px 8px 5px 0;*/
/*}*/

/*#mp-middle .mainpage_box_header {*/
/*	background: #C6DEFE;*/
/*    border-radius:2px;*/
/*    padding: 5px 8px 5px 0;*/
/*}*/

/*#mp-lower .mainpage_box_header {*/
/*	background: #C6DEFE;*/
/*    border-radius:2px;*/
/*    padding: 5px 8px 5px 0;*/
/*}*/

/* --------------------- End Main Page Style ----------------- */
/*@media screen and (max-width: 719px) {*/
	
/*}*/

















.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-left: 2px;
	display: flex;
	flex-direction: column;
}

#mp-article-box, #mp-help-box {
	margin-left: .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-right: .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-right: 45px;
}

.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;
    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-left: 0;
	}

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

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