پرش به محتوا

مدیاویکی:Mobile.css: تفاوت میان نسخه‌ها

۱٬۵۸۸ بایت اضافه‌شده ،  ‏۳ ژوئن ۲۰۱۹
جز
بدون خلاصۀ ویرایش
جزبدون خلاصۀ ویرایش
جزبدون خلاصۀ ویرایش
برچسب‌ها: ویرایش همراه ویرایش از وبگاه همراه
خط ۶۷: خط ۶۷:
     line-height: 1em;    /* Reduce line-height for <sup> and <sub> */
     line-height: 1em;    /* Reduce line-height for <sup> and <sub> */
}
}


/* --------------------- Begin Main Page Style ----------------- */
/* --------------------- Begin Main Page Style ----------------- */
.content .infobox { text-align: initial!important; } /* Hack, why "text-align: left" is added on T161399? */
div.clear { clear: both; }
.mainRight {
    width: inherit; 
}
.mainLeft {
    box-sizing: border-box;
    width: 25%; float: right;
    background: #f5faff none repeat scroll 0 0;
    border: 1px solid #a7d7f9;
    border-radius: 0.5em;
    padding: 0 1em 1em;
    margin-bottom: 1em;
}
.selectedArticle { width: 100%; height: auto; text-align: justify !important; margin-bottom: 20px;}
.boxHeader { padding: 10px; border-radius: 6px; background: #c6defe none repeat scroll 0 0; margin: 15px 0 20px 0; }
.mainRight .boxHeader {
    background: rgba(0,0,0,0) linear-gradient(to left,#c6defe,#f9f9f9,white) repeat scroll 0 0 !important;
    margin-top: 0;
}
.boxHeader span { padding-right: 45px; position: relative; }
.boxTitle {
    background: rgba(0,0,0,0) linear-gradient(to left,#c6defe,#f9f9f9,white) repeat scroll 0 0 !important;
    padding: 5px;
    border-radius: 6px;
    margin: 15px 0 20px 0;
}
.selectedArticle .boxHeader span:before, .newestArticles .boxHeader span:before, .topArticles .boxHeader span:before, .helpBox  .boxHeader span:before, .telegram .boxHeader span:before {
    width: 43px;
    height: 43px;
    position: absolute;
    right: -1px;
    top: -9px;
    content: " ";
}


.selectedArticle .boxHeader span:before {
    background: url('/resources/assets/favorite.png') no-repeat center center;
}
.newestArticles .boxHeader span:before {
    background: url('/resources/assets/new.png') no-repeat center center;
}
.topArticles .boxHeader span:before {
    background: url('/resources/assets/top.png') no-repeat center center;
}
.helpBox .boxHeader span:before {
    background: url('/resources/assets/help.png') no-repeat center center;
}
.telegram .boxHeader span:before {
    background: url('/resources/assets/telegram.png') no-repeat center center;
}
.newestArticles, .topArticles { width: 100%; height: auto; margin-bottom: 10px;}
.newestArticles ol { margin: 10px 10px 0 0; padding: 0; text-align: right !important;}
.newestArticles ol li { list-style: none; }
.newestArticles ol li:before {
    content: "";
    line-height: 1em;
    width: 5px;
    height: 5px;
    background-color: #00528C;
    float: right;
    margin: 7px 0 0 7px;
    border-radius: 50%;
}
/* --------------------- End Main Page Style ----------------- */


/* to prevent double welcome! */
/* to prevent double welcome! */
خط ۱۸۴: خط ۲۴۷:
}
}
/* Generate interpuncts */
/* Generate interpuncts */
#bodyContent .hlist dt:after {
#content .hlist dt:after {
     content: ":";
     content: ":";
}
}
#bodyContent .hlist dd:after,
#content .hlist dd:after,
#bodyContent .hlist li:after {
#content .hlist li:after {
     content: " ·";
     content: " ·";
     font-weight: bold;
     font-weight: bold;
خط ۳۶۴: خط ۴۲۷:
     display: none;
     display: none;
}
}
/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
  in [[MediaWiki:Common.js]] are styled here so they can be customised. */
.collapseButton {
    /* @noflip */
    float: left;
    font-weight: normal;
    /* @noflip */
    margin-right: 0.5em;
    /* @noflip */
    text-align: justify;
    width: auto;
}
/* In navboxes, the show/hide button balances the v·d·e links
  from [[Template:Navbar]], so they need to be the same width.
.navbox .collapseButton {
    width: 6em;
}
*/
.readmore .collapseButton {float:none !important}
۴۱۵٬۰۷۸

ویرایش