الگو:صفحهٔ اصلی/styles.css: تفاوت میان نسخهها
ظاهر
بدون خلاصۀ ویرایش |
بدون خلاصۀ ویرایش |
||
| (۳ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد) | |||
| خط ۱۰۰: | خط ۱۰۰: | ||
color: #ffffff !important; | color: #ffffff !important; | ||
border-color: #3a5a40; | border-color: #3a5a40; | ||
} | |||
.mainpage_body_box, #mp-upper { | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 15px; | |||
margin-top: 15px; | |||
} | } | ||
#mp-article, #mp-help { | #mp-article, #mp-help { | ||
flex: 1 1 | flex: 1 1 65%; | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
} | } | ||
.mp-article-box, #mp-article-box, #mp-help-box | .mp-article-box, #mp-article-box, #mp-help-box, | ||
.mainpage_box, #mp-sidebar-box { | |||
background: #f7f7f7; | |||
border: 1px solid #a3b18a; | |||
border-radius: 10px; | border-radius: 10px; | ||
margin-bottom: 1.2em; | |||
box-shadow: 0 4px 12px rgba(52, 78, 65, 0.05); | box-shadow: 0 4px 12px rgba(52, 78, 65, 0.05); | ||
overflow: hidden; | |||
transition: box-shadow 0.2s ease; | transition: box-shadow 0.2s ease, border-color 0.2s ease; | ||
} | } | ||
.mp-article-box:hover, #mp-article-box:hover, #mp-help-box:hover { | .mp-article-box:hover, #mp-article-box:hover, #mp-help-box:hover, | ||
.mainpage_box:hover, #mp-sidebar-box:hover { | |||
box-shadow: 0 6px 16px rgba(52, 78, 65, 0.1); | box-shadow: 0 6px 16px rgba(52, 78, 65, 0.1); | ||
border-color: #588157; | |||
} | } | ||
.mp-h2, | |||
background: # | .mainpage_box_header { | ||
background: linear-gradient(135deg, #3a5a40 0%, #588157 100%); | |||
color: #ffffff !important; | |||
# | font-weight: bold; | ||
font-size: 15px; | |||
padding: 10px 15px; | padding: 10px 15px; | ||
border- | border-bottom: 2px solid #a3b18a; | ||
border-radius: 0; | |||
margin: 0; | |||
margin | |||
} | } | ||
.mp-h2 span { | .mp-h2 span, | ||
.mainpage_box_header span { | |||
font-size: 16px; | font-size: 16px; | ||
font-weight: bold; | font-weight: bold; | ||
color: #ffffff; | color: #ffffff; | ||
} | } | ||
.mp-article-footer { | .mp-article-footer { | ||
border-top: 1px dashed #a3b18a; | border-top: 1px dashed #a3b18a; | ||
| خط ۱۶۶: | خط ۱۵۹: | ||
color: #344e41; | color: #344e41; | ||
} | } | ||
#mp-left, .mainpage_body_left, #mp-sidebar { | |||
flex: 1 1 30%; | |||
display: flex; | |||
flex-direction: column; | |||
} | |||
.mainpage_box_content { | |||
padding: 15px; | |||
color: #344e41; | |||
font-size: 14px; | |||
line-height: 1.8; | |||
} | |||
.mainpage_box > *:not(.mainpage_box_header):not(.mainpage_box_content) { | |||
padding: 15px; | |||
} | |||
.mainpage_box a { | |||
color: #3a5a40; | |||
text-decoration: none; | |||
transition: color 0.2s ease; | |||
} | |||
.mainpage_box a:hover { | |||
color: #588157; | |||
text-decoration: underline; | |||
} | |||
.mainpage_box ul, .mainpage_box ol { | |||
margin: 5px 15px 5px 0; | |||
padding: 0; | |||
} | |||
.mainpage_box li { | |||
margin-bottom: 6px; | |||
color: #344e41; | |||
} | |||
#mp-more { | #mp-more { | ||
float: left; | float: left; | ||
| خط ۲۰۳: | خط ۲۳۴: | ||
@media (max-width: 875px) { | @media (max-width: 875px) { | ||
.mp-topbanner { | .mp-topbanner { | ||
margin: | margin: 10px 0; | ||
} | } | ||
| خط ۲۱۰: | خط ۲۴۱: | ||
} | } | ||
.mp- | .mainpage_body_box, #mp-upper, #mp-bottom { | ||
flex-direction: column; | |||
} | } | ||
.mp- | #mp-article, #mp-help, #mp-left, .mainpage_body_left, #mp-sidebar { | ||
flex: 1 1 100%; | |||
margin-left: 0; | margin-left: 0; | ||
margin-right: 0; | |||
} | } | ||
.mp-logo-box { | |||
position: static; | |||
margin-bottom: 10px; | |||
} | } | ||
} | |||
.main_foot { | |||
width: 100%; | |||
} | margin-top: 15px; | ||
clear: both; | |||
} | |||
#mp-lower { | |||
background: #F6F7F3; | |||
border: 1px solid #a3b18a; | |||
border-radius: 10px; | |||
box-shadow: 0 4px 12px rgba(52, 78, 65, 0.05); | |||
overflow: hidden; | |||
} | |||
#mp-lower .mainpage_box_content { | |||
text-align: center; | |||
padding: 20px; | |||
color: #344e41; | |||
} | |||
#mp-lower .mainpage_box_content img { | |||
max-width: 100%; | |||
} | height: auto; | ||
border-radius: 8px; | |||
border: 1px solid #dad7cd; | |||
box-shadow: 0 4px 10px rgba(52, 78, 65, 0.08); | |||
transition: transform 0.2s ease, box-shadow 0.2s ease; | |||
} | |||
#mp-lower .mainpage_box_content img:hover { | |||
transform: scale(1.005); | |||
box-shadow: 0 6px 15px rgba(52, 78, 65, 0.12); | |||
} | } | ||
نسخهٔ کنونی تا ۲۶ اوت ۲۰۲۶، ساعت ۰۸:۵۲
.mp-topbanner {
position: relative;
background: linear-gradient(135deg, #ffffff 0%, #f4f5f0 100%);
border: 1px solid #a3b18a;
border-top: 4px solid #588157;
border-radius: 12px;
padding: 25px 20px;
margin: 20px 0;
text-align: center;
box-shadow: 0 6px 18px rgba(52, 78, 65, 0.08);
color: #344e41;
}
.mp-logo-box {
position: absolute;
top: 15px;
right: 20px;
}
.mp-logo-box img {
max-height: 55px;
width: auto;
}
.mp-welcome {
font-size: 24px;
font-weight: 800;
color: #344e41;
margin: 10px 0 15px 0;
border: none !important;
}
.mp-welcome-title {
color: #3a5a40;
background-color: #dad7cd;
padding: 2px 10px;
border-radius: 6px;
}
.mp-description {
font-size: 14px;
line-height: 1.9;
color: #344e41;
margin-bottom: 15px;
padding-bottom: 12px;
border-bottom: 1px dashed #a3b18a;
}
.mp-search-container {
margin: 15px 0;
}
.mp-search-container input[type="text"] {
border: 1px solid #a3b18a !important;
border-radius: 6px !important;
padding: 6px 12px !important;
outline: none;
color: #344e41;
}
.mp-search-container input[type="text"]:focus {
border-color: #588157 !important;
box-shadow: 0 0 5px rgba(88, 129, 87, 0.3);
}
.mp-search-container input[type="submit"] {
background-color: #3a5a40 !important;
color: #ffffff !important;
border: none !important;
border-radius: 6px !important;
padding: 6px 16px !important;
cursor: pointer;
transition: background-color 0.2s ease;
}
.mp-search-container input[type="submit"]:hover {
background-color: #344e41 !important;
}
.mp-menu {
display: inline-block;
margin: 8px 5px;
font-size: 14px;
}
.mp-menu a {
display: inline-block;
color: #3a5a40 !important;
font-weight: bold;
text-decoration: none !important;
padding: 6px 18px;
background-color: #ffffff;
border: 1px solid #a3b18a;
border-radius: 20px;
transition: all 0.2s ease;
}
.mp-menu a:hover {
background-color: #3a5a40;
color: #ffffff !important;
border-color: #3a5a40;
}
.mainpage_body_box, #mp-upper {
display: flex;
flex-wrap: wrap;
gap: 15px;
margin-top: 15px;
}
#mp-article, #mp-help {
flex: 1 1 65%;
display: flex;
flex-direction: column;
}
.mp-article-box, #mp-article-box, #mp-help-box,
.mainpage_box, #mp-sidebar-box {
background: #f7f7f7;
border: 1px solid #a3b18a;
border-radius: 10px;
margin-bottom: 1.2em;
box-shadow: 0 4px 12px rgba(52, 78, 65, 0.05);
overflow: hidden;
transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.mp-article-box:hover, #mp-article-box:hover, #mp-help-box:hover,
.mainpage_box:hover, #mp-sidebar-box:hover {
box-shadow: 0 6px 16px rgba(52, 78, 65, 0.1);
border-color: #588157;
}
.mp-h2,
.mainpage_box_header {
background: linear-gradient(135deg, #3a5a40 0%, #588157 100%);
color: #ffffff !important;
font-weight: bold;
font-size: 15px;
padding: 10px 15px;
border-bottom: 2px solid #a3b18a;
border-radius: 0;
margin: 0;
}
.mp-h2 span,
.mainpage_box_header span {
font-size: 16px;
font-weight: bold;
color: #ffffff;
}
.mp-article-footer {
border-top: 1px dashed #a3b18a;
text-align: center;
font-size: 95%;
margin-top: 15px;
padding-top: 10px;
color: #344e41;
}
#mp-left, .mainpage_body_left, #mp-sidebar {
flex: 1 1 30%;
display: flex;
flex-direction: column;
}
.mainpage_box_content {
padding: 15px;
color: #344e41;
font-size: 14px;
line-height: 1.8;
}
.mainpage_box > *:not(.mainpage_box_header):not(.mainpage_box_content) {
padding: 15px;
}
.mainpage_box a {
color: #3a5a40;
text-decoration: none;
transition: color 0.2s ease;
}
.mainpage_box a:hover {
color: #588157;
text-decoration: underline;
}
.mainpage_box ul, .mainpage_box ol {
margin: 5px 15px 5px 0;
padding: 0;
}
.mainpage_box li {
margin-bottom: 6px;
color: #344e41;
}
#mp-more {
float: left;
margin-left: 10px;
color: #3a5a40;
font-weight: bold;
}
#mp-new ol {
margin: 10px 10px 0 0;
padding: 0;
}
#mp-new ol li {
list-style: none;
line-height: 1.8;
color: #344e41;
}
#mp-new ol li:before {
content: "";
line-height: 1em;
width: 6px;
height: 6px;
background-color: #588157;
float: right;
margin: 9px 0 0 8px;
border-radius: 50%;
}
#badge {
font-weight: bold;
color: #588157;
}
@media (max-width: 875px) {
.mp-topbanner {
margin: 10px 0;
}
.mp-welcome {
font-size: 20px;
}
.mainpage_body_box, #mp-upper, #mp-bottom {
flex-direction: column;
}
#mp-article, #mp-help, #mp-left, .mainpage_body_left, #mp-sidebar {
flex: 1 1 100%;
margin-left: 0;
margin-right: 0;
}
.mp-logo-box {
position: static;
margin-bottom: 10px;
}
}
.main_foot {
width: 100%;
margin-top: 15px;
clear: both;
}
#mp-lower {
background: #F6F7F3;
border: 1px solid #a3b18a;
border-radius: 10px;
box-shadow: 0 4px 12px rgba(52, 78, 65, 0.05);
overflow: hidden;
}
#mp-lower .mainpage_box_content {
text-align: center;
padding: 20px;
color: #344e41;
}
#mp-lower .mainpage_box_content img {
max-width: 100%;
height: auto;
border-radius: 8px;
border: 1px solid #dad7cd;
box-shadow: 0 4px 10px rgba(52, 78, 65, 0.08);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#mp-lower .mainpage_box_content img:hover {
transform: scale(1.005);
box-shadow: 0 6px 15px rgba(52, 78, 65, 0.12);
}