الگو:صفحهٔ اصلی/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_head { | ||
text-align: center; | |||
padding: 10px; | |||
margin: 5px; | |||
min-width: 210px; | |||
border-width: 1px; | |||
border-style: solid; | |||
} | |||
.mainpage_body { | |||
display: flex; | display: flex; | ||
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; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
flex: | 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; | |||
border- | margin-bottom: 5px; | ||
border-width: 1px; | |||
border-style: solid; | |||
background: #f8f9fa; | |||
} | } | ||
. | .mainpage_box_title { | ||
border-bottom: 1px solid #CCC; | |||
padding: 5px 10px; | |||
margin: 5px; | |||
padding: | |||
margin | |||
} | } | ||
. | .mainpage_box_content { | ||
padding: | 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; | |||
border- | |||
} | } | ||
#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 ----------------- */ | /* --------------------- 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) {
}