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

از امامت‌پدیا، دانشنامهٔ امامت و ولایت
(صفحه‌ای تازه حاوی «←‏--------------------- Begin Main Page Style -----------------: .mainPage { display: flex; flex-direction: row; } .mainRight { display: flex; flex-direction: column; flex: 75%; margin: 6px 4px; } .mainLeft { box-shadow: 0 0 0.3rem #999; border-radius: 0.2rem; padding: 1.2rem; flex: 25%; margin: 6px 4px; } .selectedArticle, .selectedWork, .selectedQuestion { box-shadow: 0 0 0.3rem #999; border-radius: 0.2rem...» ایجاد کرد)
 
جزبدون خلاصۀ ویرایش
 
(۲۱ نسخهٔ میانی ویرایش شده توسط ۳ کاربر نشان داده نشد)
خط ۱: خط ۱:
/* --------------------- Begin Main Page Style ----------------- */
/* --------------------- Begin Main Page Style ----------------- */
.mainPage {
.mainpage_head {
    text-align: center;
padding: 10px;
margin: 5px;
min-width: 210px;
border-width: 1px;
border-style: solid;
}
 
.mainpage_body {
     display: flex;
     display: flex;
     flex-direction: row;
     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%
}
}


.mainRight {  
.mainpage_body_right {  
display: flex;
display: flex;
flex-direction: column;
flex-direction: column;
flex: 75%;
flex: 7;
margin: 6px 4px;
}
 
.mainpage_body_left {
flex: 3;
}
}


.mainLeft {  
.mainpage_box {  
box-shadow: 0 0 0.3rem #999;
padding: 5px 10px;
border-radius: 0.2rem;
margin: 5px;
padding: 1.2rem;
min-width: 210px;
flex: 25%;
border-width: 1px;
margin: 6px 4px;
border-style: solid;
}
}


.selectedArticle, .selectedWork, .selectedQuestion {  
.mainpage_box_header {  
box-shadow: 0 0 0.3rem #999;
padding: 5px;
border-radius: 0.2rem;
margin-bottom: 5px;
padding: 1.2rem;
border-width: 1px;
margin: 4px 0px;
border-style: solid;
background: #f8f9fa;
}
}


.helpBox{
.mainpage_box_title {
line-height: 2em;
border-bottom: 1px solid #CCC;
box-shadow: 0 0 0.3rem #999;
padding: 5px 10px;
border-radius: 0.2rem;
margin: 5px;
padding: 1.2rem;
margin-bottom: 1.6rem;
}
}


.boxHeader {  
.mainpage_box_content {
padding: 10px;
padding: 5px;
border-radius: 2px;
}
margin: 0 0 20px 0;
 
box-shadow: 0 0 0.3rem #999;
.mainpage_box_more {
float: left;
}
 
#mp-topbanner {
background: #f9f9f9;
border-color: #ddd;
}
}


.boxHeader span {  
#mp-right .mainpage_box {
padding-right: 45px;  
background: #f5fffa;
font: 1.03em samim;
border-color: #cef2e0;
position: relative;
}
}


.boxTitle {
#mp-left .mainpage_box {
    padding: 5px;
background: #f5faff;
    border-radius: 2px;
border-color: #cedff2;
    margin: 15px 0 20px 0;
border-bottom: solid 0.2rem #bdd8fb;
}
}


.selectedArticle .boxHeader span:before,.boxHeader span:before,
#mp-middle {
.selectedWork .boxHeader span:before,.boxHeader span:before,
background: #fff5fa;
.selectedQuestion .boxHeader span:before,.boxHeader span:before,
border-color: #f2cedd;
.topArticles .boxHeader span:before, .boxHeader span:before {
    width: 43px;
    height: 43px;
    position: absolute;
    right: -1px;
    top: -9px;
    content: " ";
}
}


/* .selectedArticle .boxHeader span:before,
#mp-lower {
.selectedWork .boxHeader span:before {
background: #faf5ff;
    background: url('/static/images/project-logos/favorite.png') no-repeat center center;
border-color: #ddcef2;
}
}


.selectedQuestion .boxHeader span:before {
#mp-right .mainpage_box_header {
    background: url('/static/images/project-logos/help.png') no-repeat center center;
background: #cef2e0;
border-color: #a3bfb1;
}
}


.topArticles .boxHeader span:before {
#mp-left .mainpage_box_header {
    background: url('/static/images/project-logos/top.png') no-repeat center center;
background: #cedff2;
} */
border-color: #a3b0bf;
}


.topArticles {  
#mp-middle .mainpage_box_header {
width: 100%;
background: #f2cedd;
height: auto;  
border-color: #bfa3af;
margin-bottom: 10px;
}
}


.readmoreButton {
#mp-lower .mainpage_box_header {
box-shadow: 0 0 0.3rem #999;
background: #ddcef2;
display: inline-block;
border-color: #afa3bf;
min-width: 4em;
max-width: 28.75em;
padding: 0.546875em 1em;
line-height: 1.286;
box-sizing: border-box;
vertical-align: middle;
text-align: center;
font-weight: bold;
cursor: pointer;
border-radius: 0.2rem;
margin: 5px 0 0 0;
font-family: inherit;
font-size: 1em;
}
}
/* --------------------- End Main Page Style ----------------- */
/* --------------------- End Main Page Style ----------------- */
@media screen and (max-width: 719px) {
@media screen and (max-width: 719px) {
}
}

نسخهٔ کنونی تا ‏۱۲ ژانویهٔ ۲۰۲۴، ساعت ۲۰:۲۳

/* --------------------- Begin Main Page Style ----------------- */
.mainpage_head {
    text-align: center;
	padding: 10px;
	margin: 5px;
	min-width: 210px;
	border-width: 1px;
	border-style: solid;
}

.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: 5px 10px;
	margin: 5px;
	min-width: 210px;
	border-width: 1px;
	border-style: solid;
}

.mainpage_box_header { 
	padding: 5px;
	margin-bottom: 5px;
	border-width: 1px;
	border-style: solid;
	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: #f9f9f9;
	border-color: #ddd;
}

#mp-right .mainpage_box {
	background: #f5fffa;
	border-color: #cef2e0;
}

#mp-left .mainpage_box {
	background: #f5faff;
	border-color: #cedff2;
}

#mp-middle {
	background: #fff5fa;
	border-color: #f2cedd;
}

#mp-lower {
	background: #faf5ff;
	border-color: #ddcef2;
}

#mp-right .mainpage_box_header {
	background: #cef2e0;
	border-color: #a3bfb1;
}

#mp-left .mainpage_box_header {
	background: #cedff2;
	border-color: #a3b0bf;
}

#mp-middle .mainpage_box_header {
	background: #f2cedd;
	border-color: #bfa3af;
}

#mp-lower .mainpage_box_header {
	background: #ddcef2;
	border-color: #afa3bf;
}

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