الگو:صفحهٔ اصلی/styles.css: تفاوت میان نسخهها
Wikinoor.ir (بحث | مشارکتها) جزبدون خلاصۀ ویرایش |
Wikinoor.ir (بحث | مشارکتها) جزبدون خلاصۀ ویرایش |
||
خط ۳۵: | خط ۳۵: | ||
flex: 1 1 70%; | flex: 1 1 70%; | ||
margin-left: 2px; | margin-left: 2px; | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
} | |||
#mp-article-box, #mp-help-box { | |||
padding: 1em .3em; | |||
} | } | ||
خط ۴۵: | خط ۴۸: | ||
#mp-sidebar-box { | #mp-sidebar-box { | ||
margin-right: | margin-right: .3em; | ||
margin-bottom: 1em; | margin-bottom: 1em; | ||
padding: 1em; | padding: 1em; | ||
خط ۵۲: | خط ۵۵: | ||
border: 1px solid #eee; | border: 1px solid #eee; | ||
box-shadow: 0 0 1rem #eee; | box-shadow: 0 0 1rem #eee; | ||
} | } | ||
خط ۸۴: | خط ۷۹: | ||
} | } | ||
#mp-more { | |||
float: left; | float: left; | ||
margin-left: 10px; | margin-left: 10px; | ||
خط ۹۱: | خط ۸۶: | ||
#mp-new ol { | #mp-new ol { | ||
margin: 10px 10px 0 0; | margin: 10px 10px 0 0; | ||
padding: 0 | padding: 0; | ||
} | } | ||
خط ۱۳۵: | خط ۱۲۹: | ||
flex-direction: column; | flex-direction: column; | ||
} | } | ||
#mp-help-box { | |||
padding: 1em .2em; | |||
background: #f5faff; | |||
border-radius: 0.5em; | |||
border: 1px solid #eee; | |||
box-shadow: 0 0 1rem #eee; | |||
} | |||
.mp-h2 { | .mp-h2 { |
نسخهٔ ۲۲ دسامبر ۲۰۲۲، ساعت ۲۰:۴۹
.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 70%;
margin-left: 2px;
display: flex;
flex-direction: column;
}
#mp-article-box, #mp-help-box {
padding: 1em .3em;
}
#mp-sidebar {
flex: 1 1 30%;
}
#mp-sidebar-box {
margin-right: .3em;
margin-bottom: 1em;
padding: 1em;
background: #f5faff;
border-radius: 0.5em;
border: 1px solid #eee;
box-shadow: 0 0 1rem #eee;
}
.mp-h2 {
padding: 10px;
border-radius: 6px;
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: unset;
}
.mp-menu .hlist > ul li {
margin-left: unset;
}
#mp-upper, #mp-bottom {
flex-direction: column;
}
#mp-help-box {
padding: 1em .2em;
background: #f5faff;
border-radius: 0.5em;
border: 1px solid #eee;
box-shadow: 0 0 1rem #eee;
}
.mp-h2 {
padding: 10px;
border-radius: 6px;
background: #c6defe;
margin-bottom: 10px;
}
.mp-h2 span {
padding-right: 45px;
position: relative;
}
.mp-h2 span:before {
width: 43px;
height: 43px;
position: absolute;
right: -1px;
top: -9px;
content: " ";
}
}