پرش به محتوا

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

از ویکی البرز
جزبدون خلاصۀ ویرایش
جز خنثی‌سازی نسخهٔ 10046 از Modir (بحث)
خط ۱: خط ۱:
/* ====================== Reset & Base ====================== */
* {
* {
     box-sizing: border-box;
     box-sizing: border-box;
}
}


/* ====================== Top Banner ====================== */
.mp-topbanner {
.mp-topbanner {
     text-align: center;
     text-align: center;
     padding: 25px 25px 20px;
     padding: 25px 25px 20px 25px;
     margin-bottom: 5px;
     margin-bottom: 5px;
     text-shadow: 1px 1px 2px #f8f9fa;
     text-shadow: 1px 1px 2px #f8f9fa;
     background: linear-gradient(to bottom, #fff, #c6defe);
     background: linear-gradient(to bottom, #fff, #c6defe);
     border-bottom: 1px solid #a8d7fc;
     border-bottom: solid 1px #a8d7fc;
     border-radius: 3px;
     border-radius: 3px;
     box-shadow: 0 0.1em 0.1em #eaecf0;
     box-shadow: 0 .1em .1em #eaecf0;
}
}


/* ====================== Typography ====================== */
.mp-welcome {
.mp-welcome {
     font-family: Nastaliq, "IranNastaliq", "Traditional Arabic", Scheherazade, serif;
     font-family: Nastaliq, "IranNastaliq", "Traditional Arabic", "Scheherazade", serif;
     font-kerning: auto;
     font-kerning: auto;
     font-size: 40px;
     font-size: 40px;
خط ۲۷: خط ۲۴:
}
}


/* ====================== Description & Menu ====================== */
.mp-description {
.mp-description {
     border-bottom: 1px solid #c6defe;
     border-bottom: 1px solid #c6defe;
خط ۳۷: خط ۳۳:
}
}


/* ====================== Main Layout ====================== */
#mp-upper,
#mp-upper,
#mp-bottom {
#mp-bottom {
خط ۵۷: خط ۵۲:
     padding: 1em;
     padding: 1em;
     border: 1px solid #eaecf0;
     border: 1px solid #eaecf0;
     border-radius: 3px;
     border-radius: 3.0125px;
     background: #fff;
     background: #fff;
}
}


#mp-sidebar-box {
#mp-sidebar-box {
     margin-right: 0.3em;
     margin-right: .3em;
}
}


خط ۶۹: خط ۶۴:
}
}


/* ====================== Headings ====================== */
.mp-h2 {
.mp-h2 {
     padding: 0.59em 0.5em;
     padding: .59em .5em;
     margin-bottom: 10px;
     margin-bottom: 10px;
     border-bottom: 1px solid #a8d7fc;
     border-bottom: solid 1px #a8d7fc;
     background: #c6defe;
     background: #c6defe;
     border-top-right-radius: 12px;
     border-top-right-radius: 12.05px;
     border-top-left-radius: 50px;
     border-top-left-radius: 50.2px;
     border-right: 1px solid #a8d7fc;
     border-right: solid 1px #a8d7fc;
     box-shadow: 0.2em 0.2em 0.3em #eaecf0;
     box-shadow: .2em .2em .3em #eaecf0;
}
}


خط ۸۹: خط ۸۳:


.mp-h2 span:before {
.mp-h2 span:before {
    content: "";
     width: 43px;
     width: 43px;
     height: 43px;
     height: 43px;
خط ۹۵: خط ۸۸:
     right: -1px;
     right: -1px;
     top: -9px;
     top: -9px;
    content: " ";
}
#mp-more {
    float: left;
    margin-left: 10px;
}
}


/* ====================== New Items List ====================== */
#mp-new ol {
#mp-new ol {
     margin: 10px 10px 0 0;
     margin: 10px 10px 0 0;
خط ۱۱۳: خط ۱۱۱:
     height: 5px;
     height: 5px;
     background-color: #00528C;
     background-color: #00528C;
    border-radius: 50%;
     float: right;
     float: right;
     margin: 8px 7px 0 7px;
     margin: 7px 0 0 7px;
}
 
/* ====================== Misc ====================== */
#mp-more {
    float: left;
    margin-left: 10px;
}
}


خط ۱۳۵: خط ۱۲۶:
}
}


/* ====================== Responsive Design ====================== */
@media (max-width: 875px) {
@media (max-width: 875px) {
     .mp-topbanner {
     .mp-topbanner {
         margin: 5px 0;
         margin: 5px 0;
     }
     }
   
 
     .mp-welcome {
     .mp-welcome {
         font-size: 36px;
         font-size: 36px;
     }
     }
   
 
     .mp-menu {
     .mp-menu {
         border-bottom: 0;
         border-bottom: 0;
     }
     }
   
 
     .mp-menu .hlist > ul li {
     .mp-menu .hlist > ul li {
         margin-left: 0;
         margin-left: 0;
     }
     }
   
 
     #mp-upper,
     #mp-upper,
     #mp-bottom {
     #mp-bottom {
         flex-direction: column;
         flex-direction: column;
     }
     }
   
 
     #mp-sidebar-box {
     #mp-sidebar-box {
         margin-right: 0;
         margin-right: 0;
     }
     }
   
 
     #mp-help-box {
     #mp-help-box {
         background: #fff;
         background: #fff;
     }
     }
}
}

نسخهٔ ‏۲۳ مهٔ ۲۰۲۶، ساعت ۱۰:۵۱

* {
    box-sizing: border-box;
}

.mp-topbanner {
    text-align: center;
    padding: 25px 25px 20px 25px;
    margin-bottom: 5px;
    text-shadow: 1px 1px 2px #f8f9fa;
    background: linear-gradient(to bottom, #fff, #c6defe);
    border-bottom: solid 1px #a8d7fc;
    border-radius: 3px;
    box-shadow: 0 .1em .1em #eaecf0;
}

.mp-welcome {
    font-family: Nastaliq, "IranNastaliq", "Traditional Arabic", "Scheherazade", serif;
    font-kerning: auto;
    font-size: 40px;
    font-synthesis: none;
    font-style: normal;
    font-weight: normal;
    color: #445577;
}

.mp-description {
    border-bottom: 1px solid #c6defe;
    padding: 5px 0 10px 0;
}

.mp-menu {
    padding-top: 5px;
}

#mp-upper,
#mp-bottom {
    display: flex;
}

#mp-article,
#mp-help {
    flex: 1 1 67%;
    margin-left: 2px;
    display: flex;
    flex-direction: column;
}

#mp-article-box,
#mp-help-box,
#mp-sidebar-box {
    margin-bottom: 1em;
    padding: 1em;
    border: 1px solid #eaecf0;
    border-radius: 3.0125px;
    background: #fff;
}

#mp-sidebar-box {
    margin-right: .3em;
}

#mp-sidebar {
    flex: 1 1 33%;
}

.mp-h2 {
    padding: .59em .5em;
    margin-bottom: 10px;
    border-bottom: solid 1px #a8d7fc;
    background: #c6defe;
    border-top-right-radius: 12.05px;
    border-top-left-radius: 50.2px;
    border-right: solid 1px #a8d7fc;
    box-shadow: .2em .2em .3em #eaecf0;
}

.mp-h2 span {
    font-size: 15px;
    position: relative;
    padding-right: 45px;
    color: #445577;
}

.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: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    background-color: #00528C;
    float: right;
    margin: 7px 0 0 7px;
}

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

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

@media (max-width: 875px) {
    .mp-topbanner {
        margin: 5px 0;
    }

    .mp-welcome {
        font-size: 36px;
    }

    .mp-menu {
        border-bottom: 0;
    }

    .mp-menu .hlist > ul li {
        margin-left: 0;
    }

    #mp-upper,
    #mp-bottom {
        flex-direction: column;
    }

    #mp-sidebar-box {
        margin-right: 0;
    }

    #mp-help-box {
        background: #fff;
    }
}