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

بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
 
(۷ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد)
خط ۱: خط ۱:
.mp-topbanner {
.mp-topbanner {
text-align: center;
  position: relative;
margin: 25px 0;
  background: linear-gradient(135deg, #ffffff 0%, #f4f5f0 100%);
text-shadow: 1px 1px 2px #f8f9fa;
  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 {
.mp-welcome {
font-size: 30px;
  font-size: 24px;
font-weight: bold;
  font-weight: 800;
color: #777;
  color: #344e41;
  margin: 10px 0 15px 0;
  border: none !important;
}
}


.mp-welcome-title {  
.mp-welcome-title {
color: #0181A7;
  color: #3a5a40;
  background-color: #dad7cd;
  padding: 2px 10px;
  border-radius: 6px;
}
}


.mp-description {
.mp-description {
font-size: 16px;
  font-size: 14px;
margin-bottom: 5px;  
  line-height: 1.9;
border-bottom: 1px solid #eaecf0;  
  color: #344e41;
padding: 5px 0 10px 0;
  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 {
.mp-menu {
margin-bottom: 5px;
  display: inline-block;
border-bottom: 1px solid #eaecf0;
  margin: 8px 5px;
padding: 5px 0 10px 0;
  font-size: 14px;
}
}


#mp-upper, #mp-bottom {
.mp-menu a {
display: flex;
  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 {
#mp-article, #mp-help {
flex: 1 1 67%;
  flex: 1 1 65%;
margin-left: 2px;
  display: flex;
display: flex;
  flex-direction: column;
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-box, #mp-help-box {
.mp-article-footer {
margin-left: .3em;
  border-top: 1px dashed #a3b18a;
margin-bottom: 1em;
  text-align: center;
padding: 1em;
  font-size: 95%;
border-radius: 0.25em;
  margin-top: 15px;
border: 1px solid #eee;
  padding-top: 10px;
box-shadow: 0 0 1rem #eee;
  color: #344e41;
}
}


#mp-article-box {
#mp-left, .mainpage_body_left, #mp-sidebar {
background: #f3f3f3;
  flex: 1 1 30%;
  display: flex;
  flex-direction: column;
}
}


#mp-help-box {
.mainpage_box_content {
background: #f8f9fa;
  padding: 15px;
  color: #344e41;
  font-size: 14px;
  line-height: 1.8;
}
}


#mp-sidebar {
.mainpage_box > *:not(.mainpage_box_header):not(.mainpage_box_content) {
flex: 1 1 33%;
  padding: 15px;
}
}


#mp-sidebar-box {
.mainpage_box a {
margin-right: .3em;
  color: #3a5a40;
margin-bottom: 1em;
  text-decoration: none;
padding: 1em;
  transition: color 0.2s ease;
background: #faf4f0; /*#f7eee7*/
border-radius: 0.25em;
border: 1px solid #eee;
box-shadow: 0 0 1rem #eee;
}
}


.mp-h2 {
.mainpage_box a:hover {
padding: 10px;
  color: #588157;
border-radius: 0.25em;
  text-decoration: underline;
background: #fad9ae;
margin-bottom: 10px;
}
}


.mp-h2 span {
.mainpage_box ul, .mainpage_box ol {
font-size: 15px;
  margin: 5px 15px 5px 0;
position: relative;
  padding: 0;
padding-right: 45px;
}
}


.mp-h2 span:before {
.mainpage_box li {
    width: 43px;
  margin-bottom: 6px;
    height: 43px;
  color: #344e41;
    position: absolute;
    right: -1px;
    top: -9px;
    content: " ";
}
}


#mp-more {
#mp-more {
float: left;
  float: left;
margin-left: 10px;
  margin-left: 10px;
  color: #3a5a40;
  font-weight: bold;
}
}


#mp-new ol {
#mp-new ol {
margin: 10px 10px 0 0;
  margin: 10px 10px 0 0;
padding: 0;
  padding: 0;
}
}


#mp-new ol li {
#mp-new ol li {
list-style: none;
  list-style: none;
  line-height: 1.8;
  color: #344e41;
}
}


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


#badge {
#badge {
font-weight: bold;
  font-weight: bold;
color: goldenrod;
  color: #588157;
}
}


@media (max-width: 875px) {
@media (max-width: 875px) {
.mp-topbanner {
  .mp-topbanner {
margin: 5px 0;
    margin: 10px 0;
}
  }
.mp-welcome {
font-size: 24px;
}
.mp-menu {
border-bottom: 0;
}
.mp-menu .hlist > ul li {
margin-left: 0;
}


#mp-upper, #mp-bottom {
  .mp-welcome {
  flex-direction: column;
    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-article-box {
#mp-lower .mainpage_box_content img:hover {
margin-left: 0;
  transform: scale(1.005);
}
  box-shadow: 0 6px 15px rgba(52, 78, 65, 0.12);
#mp-help-box {
background: #f7eee7;
}
}
}