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

بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
 
(۱۹۶ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد)
خط ۱: خط ۱:
/* Vazir Font */
/* Vazir Font */
  @font-face {
  @font-face {
     font-family: 'Vazir';
     font-family: 'vazir';
     src: url('/fonts/Vazir.woff2') format('woff2'), url('/fonts/Vazir.woff') format('woff'), url('/fonts/Vazir.ttf') format('truetype');
     src: url('/fonts/Vazir.woff2') format('woff2'), url('/fonts/Vazir.woff') format('woff'), url('/fonts/Vazir.ttf') format('truetype');
}
/* Amiri Font */
@font-face {
  font-family: 'Amiri';
  font-style: normal;
  font-weight: 400;
  src: local('Amiri Regular'), local('Amiri-Regular'), url(https://fonts.gstatic.com/s/amiri/v13/J7aRnpd8CGxBHpUrtLMA7w.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE80-FEFC;
}
}
/* Logo */
/* Logo */
/* هنگامی که لوگوی مناسبتی را بارگذاری کردید این کد را فعال کنید #p-logo a {
/* هنگامی که لوگوی مناسبتی را بارگذاری کردید این کد را فعال کنید */
    background-image: url(...) !important;
/*
#p-logo a {
  background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/3/39/Persian_Wikipedia%27s_600%2C000_article_green_logo.svg/135px-Persian_Wikipedia%27s_600%2C000_article_green_logo.svg.png?21231511779) !important;
}
}
*/
*/
/* Persian Wikipedia UI fonts configurations, see also MediaWiki:Print.css These are written over the time on Monobook.css and Vector.css and shouldn't be changed radically without users consensus */
/* Persian Wikipedia UI fonts configurations, see also MediaWiki:Print.css
body {
  These are written over the time on Monobook.css and Vector.css and shouldn't
    /* generally a sans-serif font should be here */
  be changed radically without users consensus */
    font-family: Vazir, 'Noto Sans Arabic', 'Noto Kufi Arabic', Tahoma, 'Iranian Sans', 'DejaVu Sans', 'Droid Arabic Kufi', sans-serif !important;
body, .vector-sticky-header-context-bar-primary, .oo-ui-labelElement-label {/* generally a sans-serif font should be here */
  font-family: vazir, Tahoma, 'Iranian Sans', 'DejaVu Sans', 'Noto Sans Arabic', 'Noto Kufi Arabic', 'Droid Arabic Kufi', sans-serif;
}
}
div#content h1, div#content h2, div#content #firstHeading, div#content .mw-editsection, .mw-body .mw-editsection-like, div#content #toc h2, div#content .toc h2, #template-documentation, #documentation-meta-d
 
ata {
.mw-body h1, .mw-body h2, .mw-body #firstHeading,
    /* generally a serif font should be here but Arial is not acceptable for Persian */
.mw-body .mw-editsection, .mw-body .mw-editsection-like,
    font-family: Vazir, 'Noto Sans Arabic', 'Noto Kufi Arabic', Tahoma, 'Iranian Sans', 'DejaVu Sans', 'Droid Arabic Kufi', sans-serif !important;
.mw-body #toc h2, .mw-body .toc h2, #wpTextbox1,
#template-documentation, #documentation-meta-data {
  /* generally a serif font should be here but Arial is not acceptable for Persian */
  font-family: vazir, Tahoma, 'Iranian Serif', 'Noto Kufi Arabic', 'Droid Arabic Naskh', 'Iranian Sans', 'DejaVu Sans', serif;
}
}
/* Ace editor now supports RTL editing but a monospace font with Arabic should be set for correct functionality */
.ace_editor { font-family: 'Courier New', monospace!important; }
/* If is IE Edge/Windows 10, Arabic diacritics are broken so use Segoe UI as default font instead */
/* If is IE Edge/Windows 10, Arabic diacritics are broken so use Segoe UI as default font instead */
_:-ms-lang(x), _:-webkit-full-screen, body {
_:-ms-lang(x), _:-webkit-full-screen, body { font-family: vazir, 'Segoe UI', Tahoma, 'Iranian Sans', 'DejaVu Sans', 'Noto Kufi Arabic', 'Droid Arabic Kufi', sans-serif; }
    font-family: 'Segoe UI', Tahoma, 'Iranian Sans', 'DejaVu Sans', 'Noto Kufi Arabic', 'Droid Arabic Kufi', sans-serif;
 
}
/* Similarly, Safari 10.1/11 hack to use a better font and avoid Yeh diacrictic issue with CoreText and replace it with '.Arabic UI Display', their brand new font https://stackoverflow.com/a/25975282 */
/* Similarly, Safari 10.1 hack to use a better font to avoid Yeh diacrictic issue with CoreText and replace it with '.Arabic UI Display', their brand new font https://stackoverflow.com/a/25975282 */
@media not all and (min-resolution:.001dpcm) { @media {
@media not all and (min-resolution: .001dpcm) {
body, .mw-body h1, .mw-body h2, .mw-body #firstHeading, .mw-body .mw-editsection, .mw-body .mw-editsection-like, .mw-body #toc h2, .mw-body .toc h2, #template-documentation, #documentation-meta-data {
    @media {
font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
        body, div#content h1, div#content h2, div#content #firstHeading, div#content .mw-editsection, .mw-body .mw-editsection-like, div#content #toc h2, div#content .toc h2, #template-documentation, #documentation-meta-data {
}
            font-family: '.Arabic UI Text', Tahoma, 'Iranian Sans', 'DejaVu Sans', 'Noto Sans Arabic', 'Noto Kufi Arabic', 'Droid Arabic Kufi', sans-serif;
textarea { font-family: 'Courier New', monospace; font-size: 100%; }
        }
} }
        textarea {
 
            font-family: 'Courier New', monospace;
            font-size: 100%;
        }
    }
}
/* force these to use inherited font configuration */
/* force these to use inherited font configuration */
.ui-widget, .ui-widget *, button, input, select, optgroup {
.ui-widget, .ui-widget *, button, input, select, optgroup {
    font-family: inherit;
  font-family: inherit;
}
}
/* end */
/* end */
dfn {
 
    font-style: inherit;
dfn {
    /* Reset default styling for <dfn> */
    font-style: inherit; /* Reset default styling for <dfn> */
}
}
sup, sub {
sup, sub {
    line-height: 1em;
    line-height: 1em;    /* Reduce line-height for <sup> and <sub> */
     /* Reduce line-height for <sup> and <sub> */
}
}
/* Main page fixes */
/* Main page fixes */
#mp-right .mp-bar {
#mp-right .mp-bar { background: linear-gradient(to left, #b3ccff, white, white)!important; }
    background: linear-gradient(to left, #b3ccff, white, white)!important;
}
/* responsive styles for Main Page */
/* responsive styles for Main Page */
@media(max-width: 1200px) {
@media(max-width: 1200px) {
    #mp-right, #mp-left {
  #mp-right, #mp-left { width: 100%!important; padding: 0!important; border: 0!important; background: transparent!important; }
        width: 100%!important;
  .mp-bar, #mp-right .mp-bar { background: #b3ccff!important; }
        padding: 0!important;
        border: 0!important;
        background: transparent!important;
    }
    .mp-bar, #mp-right .mp-bar {
        background: #b3ccff!important;
    }
}
}
#interwiki-completelist {
 
    font-weight: bold;
#interwiki-completelist {
    font-weight: bold;
}
}
body.page-ویکی‌پدیا_صفحه_تمرین #ca-edit, body.page-ویکی‌پدیا_آشنایی #ca-edit {
body.page-ویکی‌پدیا_صفحه_تمرین #ca-edit,
    border: 1px dotted #36c;
body.page-ویکی‌پدیا_آشنایی #ca-edit {
    border: 1px dotted #36c;
}
}
body.page-ویکی‌پدیا_صفحه_تمرین #ca-edit:hover, body.page-ویکی‌پدیا_آشنایی #ca-edit:hover {
body.page-ویکی‌پدیا_صفحه_تمرین #ca-edit:hover,
body.page-ویکی‌پدیا_آشنایی #ca-edit:hover {
     background: none repeat scroll 0 0 white;
     background: none repeat scroll 0 0 white;
     border-color: transparent;
     border-color: transparent;
}
}
body.page-صفحهٔ_اصلی #mp-topbanner {
body.page-صفحهٔ_اصلی #mp-topbanner {
    clear: both;
  clear: both;
}
 
body.page-صفحهٔ_اصلی #ca-delete,
body.page-صفحهٔ_اصلی #deleteconfirm,
body.page-صفحهٔ_اصلی #t-cite,
body.page-صفحهٔ_اصلی #lastmod,
body.page-صفحهٔ_اصلی #siteSub,
body.page-صفحهٔ_اصلی #contentSub,
body.page-صفحهٔ_اصلی #catlinks,
body.page-صفحهٔ_اصلی h1.firstHeading,
body.page-صفحهٔ_اصلی #centralNotice,
body.page-درگاه_ورودی #siteSub,
body.page-درگاه_ورودی h1.firstHeading {
    display: none !important;
}
}
body.page-صفحهٔ_اصلی #ca-delete, body.page-صفحهٔ_اصلی #deleteconfirm, body.page-صفحهٔ_اصلی #t-cite, body.page-صفحهٔ_اصلی #lastmod, body.page-صفحهٔ_اصلی #siteSub, body.page-صفحهٔ_اصلی #contentSub, body.page-صفحهٔ_اصلی #catlinks, body.page-صفحهٔ_اصلی h1.firstHeading, body.page-صفحهٔ_اصلی #centralNotice, body.page-درگاه_ورودی #siteSub, body.page-درگاه_ورودی h1.firstHeading {
 
    display: none !important;
body.page-صفحهٔ_اصلی #ca-history,
body.page-صفحهٔ_اصلی #pagehistory {
  display: none;
}
}
body.page-صفحهٔ_اصلی #ca-history, body.page-صفحهٔ_اصلی #pagehistory {
 
    display: none;
/* تراز راست برای پیوند «ویرایش پیوندهای میان‌ویکی» در نوار کناری پوستهٔ وکتور جدید */
.wb-langlinks-link {
text-align : right;
}
}
/* Make the list of references in [[Template:Reflist]] smaller */
/* Make the list of references in [[Template:Reflist]] smaller */
.references-small {
.references-small {  
    font-size: 90%;
font-size: 90%;
}
/* Highlight clicked reference in blue to help navigation */
ol.references > li:target, sup.reference:target, span.citation:target, cite:target {
    background-color: #ecf0fa;
}
}
/* Ensure refs in table headers and the like aren't bold or italic */
/* Ensure refs in table headers and the like aren't bold or italic */
sup.reference {
sup.reference {
    font-weight: normal;
font-weight: normal;
    font-style: normal;
font-style: normal;
}
}
/* Styling for citations */
/* Styling for citations */
span.citation, cite {
span.citation, cite {
    word-wrap: break-word;
word-wrap: break-word;
}
}
/* If there is an inline link to a full citation, the full citation will turn blue when the inline link is clicked */
/* If there is an inline link to a full citation, the full citation will turn blue when the inline link is clicked */
cite:target {
cite:target {  
    background-color: #ecf0fa;
background-color: #ecf0fa;
}
}
/* For linked citation numbers and document IDs, where the number need not be shown on a screen or a handheld, but should be included in the printed version */
/* For linked citation numbers and document IDs, where the number need not be shown on a screen or a handheld, but should be included in the printed version */
@media screen, handheld, projection {
 
    cite *.printonly {
@media screen, handheld, projection {
        display: none;
cite *.printonly {
    }
display: none;
}
}
}
/* Style for horizontal lists (separator following item) */
/* Style for horizontal lists (separator following item) */
.skin-monobook .hlist dl, .skin-modern .hlist dl, .skin-vector .hlist dl {
 
    line-height: 1.5em;
.skin-monobook .hlist dl,
.skin-modern .hlist dl,
.skin-vector .hlist dl {
line-height: 1.5em;
}
}
/* Style for horizontal lists (separator following item). IE8-specific classes are assigned in [[MediaWiki:Common.js/IEFixes.js]]. @source mediawiki.org/wiki/Snippets/Horizontal_lists @revision 5 (2014-02-24) @author [[User:Edokter]] */
/* Style for horizontal lists (separator following item).
.hlist dl, .hlist ol, .hlist ul {
  IE8-specific classes are assigned in [[MediaWiki:Common.js/IEFixes.js]].
    margin: 0;
  @source mediawiki.org/wiki/Snippets/Horizontal_lists
    padding: 0;
  @revision 5 (2014-02-24)
  @author [[User:Edokter]]
*/
.hlist dl,
.hlist ol,
.hlist ul {
margin: 0;
padding: 0;
}
}
/* Display list items inline */
/* Display list items inline */
.hlist dd, .hlist dt, .hlist li {
.hlist dd,
    margin: 0;
.hlist dt,
    display: inline;
.hlist li {
margin: 0;
display: inline;
}
}
/* Display nested lists inline */
/* Display nested lists inline */
.hlist.inline, .hlist.inline dl, .hlist.inline ol, .hlist.inline ul, .hlist dl dl, .hlist dl ol, .hlist dl ul, .hlist ol dl, .hlist ol ol, .hlist ol ul, .hlist ul dl, .hlist ul ol, .hlist ul ul {
.hlist.inline,
    display: inline;
.hlist.inline dl,
.hlist.inline ol,
.hlist.inline ul,
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.hlist ul dl, .hlist ul ol, .hlist ul ul {
display: inline;
}
}
/* Generate interpuncts */
/* Generate interpuncts */
.hlist dt:after {
.hlist dt:after {
    content: ": ";
content: ": ";
}
}
.hlist dd:after, .hlist li:after {
.hlist dd:after,
    content: " •";
.hlist li:after {
    /*font-weight: bold;
content: " • ";
    */
/*font-weight: bold;*/
}
}
.hlist dd:last-child:after, .hlist dt:last-child:after, .hlist li:last-child:after {
.hlist dd:last-child:after,
    content: none;
.hlist dt:last-child:after,
.hlist li:last-child:after {
content: none;
}
}
/* For IE8 */
/* For IE8 */
.hlist dd.hlist-last-child:after, .hlist dt.hlist-last-child:after, .hlist li.hlist-last-child:after {
.hlist dd.hlist-last-child:after,
    content: none;
.hlist dt.hlist-last-child:after,
.hlist li.hlist-last-child:after {
content: none;
}
}
/* Add parentheses around nested lists */
/* Add parentheses around nested lists */
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before, .hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before, .hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
    content: " (";
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
    font-weight: normal;
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
content: " (";
font-weight: normal;
}
}
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after, .hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after, .hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
    content: ") ";
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
    font-weight: normal;
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
content: ") ";
font-weight: normal;
}
}
/* For IE8 */
/* For IE8 */
.hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after, .hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after, .hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after {
.hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after,
    content: ") ";
.hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after,
    font-weight: normal;
.hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after {
content: ") ";
font-weight: normal;
}
}
/* Put ordinals in front of ordered list items */
/* Put ordinals in front of ordered list items */
.hlist ol {
.hlist ol {
    counter-reset: listitem;
counter-reset: listitem;
}
}
.hlist ol > li {
.hlist ol > li {
    counter-increment: listitem;
counter-increment: listitem;
}
}
.hlist ol > li:before {
.hlist ol > li:before {
    content: " " counter(listitem) " ";
content: " " counter(listitem) " ";
    content: " " counter(listitem, -moz-persian) " ";
content: " " counter(listitem, persian) " ";
    content: " " counter(listitem, persian) " ";
white-space: nowrap;
    white-space: nowrap;
}
}
.hlist dd ol > li:first-child:before, .hlist dt ol > li:first-child:before, .hlist li ol > li:first-child:before {
.hlist dd ol > li:first-child:before,
    content: " (" counter(listitem) " ";
.hlist dt ol > li:first-child:before,
    content: " (" counter(listitem, -moz-persian) " ";
.hlist li ol > li:first-child:before {
    content: " (" counter(listitem, persian) " ";
content: " (" counter(listitem) " ";
content: " (" counter(listitem, persian) " ";
}
}
/* فهرست بدون گلوله */
/* فهرست بدون گلوله */
.plainlist ul {
.plainlist ul {
    line-height: inherit;
line-height: inherit;
    list-style: none none;
list-style: none none;
    margin: 0;
margin: 0;
}
}
.plainlist ul li {
.plainlist ul li {
    margin-bottom: 0;
margin-bottom: 0;
}
}
/* Normal font styling for table row headers with scope="row" tag */
/* Normal font styling for table row headers with scope="row" tag */
.wikitable.plainrowheaders th[scope=row] {
.wikitable.plainrowheaders th[scope=row] {
    font-weight: normal;
font-weight: normal;
    /* @noflip */
/* @noflip */
    text-align: right;
text-align: right;
}
}
/* Lists in data cells are always left-aligned */
/* Lists in data cells are always left-aligned */
.wikitable td ul, .wikitable td ol, .wikitable td dl {
html[dir=rtl] .wikitable td ul,
    /* @noflip */
html[dir=rtl] .wikitable td ol,
    text-align: right;
html[dir=rtl] .wikitable td dl {
/* @noflip */
text-align: right;
}
/* Change the external link icon to a PDF icon for all PDF files */
.mw-parser-output a[href$=".pdf"].external,
.mw-parser-output a[href*=".pdf?"].external,
.mw-parser-output a[href*=".pdf#"].external,
.mw-parser-output a[href$=".PDF"].external,
.mw-parser-output a[href*=".PDF?"].external,
.mw-parser-output a[href*=".PDF#"].external {
background: url("//upload.wikimedia.org/wikipedia/commons/4/4d/Icon_pdf_file.png") no-repeat left;
/* @noflip */
padding: 8px 0 8px 18px;
}
}
/* ...unless they also use the hlist class */
/* ...unless they also use the hlist class */
.wikitable.hlist td ul, .wikitable.hlist td ol, .wikitable.hlist td dl {
html[dir=rtl] .wikitable.hlist td ul,
    text-align: inherit;
html[dir=rtl] .wikitable.hlist td ol,
html[dir=rtl] .wikitable.hlist td dl {
text-align: inherit;
}
}
/* Default style for navigation boxes */
 
.navbox {
/* Default styling for Navbar template */
    /* Navbox container style */
.navbar {
    border: 1px solid #a2a9b1;
display: inline;
    width: 100%;
font-size: 88%;
    margin: auto;
font-weight: normal;
    clear: both;
    font-size: 88%;
    text-align: center;
    padding: 1px;
}
}
.navbox-inner, .navbox-subgroup {
.navbar ul {
    width: 100%;
display: inline;
white-space: nowrap;
}
}
.navbox-group, .navbox-title, .navbox-abovebelow {
.navbar li {
    padding: 0.25em 1em;
word-spacing: -0.125em;
    /* Title, group and above/below styles */
    line-height: 1.5em;
    text-align: center;
}
}
th.navbox-group {
.navbar.mini li { /* span is removed */
    /* Group style */
font-size: xx-small;
    white-space: nowrap;
    /* @noflip */
    text-align: right;
}
}
.navbox, .navbox-subgroup {
.nv-talk > a {
    background: #f8f9fa;
color: #002BB8;
    /* Background color */
}
}
.navbox-list {
/* Navbar styling when nested in infobox and navbox */
    line-height: 1.8em;
.infobox .navbar {
    border-color: #f8f9fa;
font-size: 100%;
    /* Must match background color */
}
}
.navbox th, .navbox-title {
.navbox .navbar {
    background: #b3ccff;
display: block;
    /* Level 1 color */
font-size: 100%;
}
}
.navbox-abovebelow, th.navbox-group, .navbox-subgroup .navbox-title {
.navbox-title .navbar {
    background: #dbe7ff;
/* @noflip */
    /* Level 2 color */
float: right;
/* @noflip */
text-align: right;
/* @noflip */
margin-left: 0.5em;
width: 6em;
}
}
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {
 
    background: #e5edff;
/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
    /* Level 3 color */
  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: left;
width: auto;
}
}
.navbox-even {
/* In navboxes, the show/hide button balances the v·d·e links
    background: #f8f9fa;
  from [[Template:Navbar]], so they need to be the same width. */
    /* Even row striping */
.navbox .collapseButton {
width: 6em;
}
}
.navbox-odd {
 
    background: transparent;
/* Reduce page jumps by hiding collapsed/dismissed content */
    /* Odd row striping */
.client-js .collapsible:not( .mw-made-collapsible).collapsed > tbody > tr:not(:first-child),
 
/* Avoid FOUC/reflows on collapsed elements. */
/* This copies MediaWiki's solution for T42812 to apply to innercollapse/outercollapse (T325115). */
/* TODO: Use :is() selector at some reasonable future when support is good for Most Clients */
/* Reference: https://gerrit.wikimedia.org/g/mediawiki/core/+/ecda06cb2aef55b77c4b4d7ecda492d634419ead/resources/src/jquery/jquery.makeCollapsible.styles.less#75 */
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > p,
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > table,
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > thead + tbody,
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) tr:not( :first-child ),
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) .mw-collapsible-content,
 
/* Styling for JQuery makeCollapsible, matching that of collapseButton */
.mw-parser-output .mw-collapsible-toggle {
font-weight: normal;
/* @noflip */
text-align: left;
padding-right: 0.2em;
padding-left: 0.2em;
}
}
table.navbox + table.navbox {
 
    /* Single pixel border between adjacent navboxes */
.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
    margin-top: -1px;
/* @noflip */
    /* (doesn't work for IE6, but that's okay) */
float: right;
/* @noflip */
text-align: right;
}
}
.navbox .hlist td dl, .navbox .hlist td ol, .navbox .hlist td ul, .navbox td.hlist dl, .navbox td.hlist ol, .navbox td.hlist ul {
 
    padding: 0.125em 0;
/* Infobox template style */
    /* Adjust hlist padding in navboxes */
.infobox {
border: 1px solid #a2a9b1;
border-spacing: 3px;
border-radius: 2px;
background-color: #f8f9fa;
color: black;
/* @noflip */
margin: 0.5em 1em 0.5em 0;
padding: 0.2em;
/* @noflip */
float: left;
/* @noflip */
clear: left;
font-size: 88%;
line-height: 1.5em;
width: 22em;
}
}
  ol + table.navbox, ul + table.navbox {
 
    margin-top: 0.5em;
/* not strictly certain these styles are necessary
    /* Prevent lists from clinging to navboxes */
  * just replicating the module faithfully
}
*/
/* Default styling for Navbar template */
.infobox-subbox {
.navbar {
padding: 0;
    display: inline;
border: none;
    font-size: 88%;
margin: -3px;
    font-weight: normal;
width: auto;
min-width: 100%;
font-size: 100%;
clear: none;
float: none;
background-color: transparent;
}
}
  .navbar ul {
 
    display: inline;
.infobox-header,
    white-space: nowrap;
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
/* Remove element declaration when both a) infobox3cols is migrated and
  * b) when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
vertical-align: top;
}
}
  .navbar li {
 
    word-spacing: -0.125em;
.infobox-label,
.infobox-data,
/* Remove element declaration when both a) infobox3cols is migrated and
* b) when every .infobox thing is using the standard module/templates */
.infobox th,
.infobox td {
/* @noflip */
text-align: right;
}
}
.navbar.mini li {
 
    /* span is removed */
/* remove .infobox from below new class names when live */
    font-size: xx-small;
.infobox .infobox-above,
.infobox .infobox-title, /* TODO remove caption line when class is live */
.infobox caption{
font-size: 125%;
font-weight: bold;
text-align: center;
}
}
.nv-talk > a {
 
    color: #002BB8;
.infobox caption, /* TODO remove caption line when class is live */
.infobox-title {
padding: 0.2em;
}
}
/* Navbar styling when nested in infobox and navbox */
 
.infobox .navbar {
.infobox .infobox-header,
    font-size: 100%;
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
text-align: center;
}
}
.navbox .navbar {
 
    display: block;
.infobox .infobox-navbar {
    font-size: 100%;
text-align: left;
}
}
.navbox-title .navbar {
 
    /* @noflip */
.infobox.bordered {
    float: right;
border-collapse: collapse;
    /* @noflip */
    text-align: right;
    /* @noflip */
    margin-left: 0.5em;
    width: 6em;
}
}
/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript in [[MediaWiki:Common.js]] are styled here so they can be customised. */
 
.collapseButton {
/* TODO split definitions to appropriate class names when live from HTML element */
    /* @noflip */
.infobox.bordered td,
    float: left;
.infobox.bordered th {
    font-weight: normal;
border: 1px solid #a2a9b1;
    /* @noflip */
    margin-right: 0.5em;
    /* @noflip */
    text-align: left;
    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 {
/* TODO split definitions to appropriate class names when live from HTML element */
    width: 6em;
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}
}
/* Infobox template style */
 
.infobox {
.infobox.sisterproject {
    border: 1px solid #a2a9b1;
width: 20em;
    background-color: #f8f9fa;
font-size: 90%;
    color: black;
    /* @noflip */
    margin: 0.5em 1em 0.5em 0;
    padding: 0.2em;
    /* @noflip */
    float: left;
    /* @noflip */
    clear: left;
    /* @noflip */
    text-align: right;
    font-size: 88%;
    line-height: 1.5em;
}
.infobox caption {
    font-size: 125%;
    font-weight: bold;
}
.infobox td, .infobox th {
    vertical-align: top;
}
.infobox.bordered {
    border-collapse: collapse;
}
.infobox.bordered td, .infobox.bordered th {
    border: 1px solid #a2a9b1;
}
.infobox.bordered .borderless td, .infobox.bordered .borderless th {
    border: 0;
}
.infobox.sisterproject {
    width: 20em;
    font-size: 90%;
}
.infobox.standard-talk {
    border: 1px solid #d2ad76;
    background-color: #fff2cc;
}
.infobox.standard-talk.bordered td, .infobox.standard-talk.bordered th {
    border: 1px solid #d2ad76;
}
}
/* styles for bordered infobox with merged rows */
/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td, .infobox.bordered .mergedtoprow th {
/* TODO split definitions to appropriate class names when live from HTML element */
    border: 0;
.infobox.bordered .mergedtoprow td,
    border-top: 1px solid #a2a9b1;
.infobox.bordered .mergedtoprow th {
    /* @noflip */
border: 0;
    border-left: 1px solid #a2a9b1;
border-top: 1px solid #a2a9b1;
/* @noflip */
border-left: 1px solid #a2a9b1;
}
}
.infobox.bordered .mergedrow td, .infobox.bordered .mergedrow th {
 
    border: 0;
/* TODO split definitions to appropriate class names when live from HTML element */
    border-left: 1px solid #a2a9b1;
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
border: 0;
/* @noflip */
border-left: 1px solid #a2a9b1;
}
}
/* Styles for geography infoboxes, eg countries, country subdivisions, cities, etc. */
 
.infobox.geography {
/* Styles for geography infoboxes, eg countries,
    text-align: right;
  country subdivisions, cities, etc.           */
    border-collapse: collapse;
.infobox.geography {
    line-height: 1.2em;
border-collapse: collapse;
    font-size: 90%;
line-height: 1.2em;
font-size: 90%;
}
}
  .infobox.geography caption {
 
    /* کمی فاصلهٔ بیشتر برای عنوان */
/* TODO split definitions to appropriate class names when live from HTML element */
    line-height: 1.6em;
.infobox.geography td,
.infobox.geography th {
border-top: 1px solid #a2a9b1;
padding: 0.4em 0.6em 0.4em 0.6em;
}
}
.infobox.geography td, .infobox.geography th {
 
    border-top: 1px solid #a2a9b1;
/* TODO split definitions to appropriate class names when live from HTML element */
    padding: 0.4em 0.6em 0.4em 0.6em;
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
border-top: 1px solid #a2a9b1;
padding: 0.4em 0.6em 0.2em 0.6em;
}
}
.infobox.geography .mergedtoprow td, .infobox.geography .mergedtoprow th {
 
    border-top: 1px solid #a2a9b1;
/* TODO split definitions to appropriate class names when live from HTML element */
    padding: 0.4em 0.6em 0.2em 0.6em;
.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
border: 0;
padding: 0 0.6em 0.2em 0.6em;
}
}
.infobox.geography .mergedrow td, .infobox.geography .mergedrow th {
 
    border: 0;
/* TODO split definitions to appropriate class names when live from HTML element */
    padding: 0 0.6em 0.2em 0.6em;
.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
border-top: 0;
border-bottom: 1px solid #a2a9b1;
padding: 0 0.6em 0.4em 0.6em;
}
}
.infobox.geography .mergedbottomrow td, .infobox.geography .mergedbottomrow th {
 
    border-top: 0;
/* TODO split definitions to appropriate class names when live from HTML element */
    border-bottom: 1px solid #a2a9b1;
.infobox.geography .maptable td,
    padding: 0 0.6em 0.4em 0.6em;
.infobox.geography .maptable th {
}
border: 0;
.infobox.geography .maptable td, .infobox.geography .maptable th {
padding: 0;
    border: 0;
    padding: 0;
}
}
/* Style for "notices" */
/* Style for "notices" */
.notice {
.notice {
    margin: 1em;
margin: 1em;
    padding: 0.2em;
padding: 0.2em;
}
}
#disambig {
 
    border-top: 1px solid #c8ccd1;
#disambig {
    border-bottom: 1px solid #c8ccd1;
border-top: 1px solid #c8ccd1;  
border-bottom: 1px solid #c8ccd1;
}
}
/* Standard talk template style */
 
.Talk-Notice {
.notice-text, .toggle-box, .red-button, .goal, div.red-button, div.siteNoticeSmall, div#siteNotice {
    border: 1px solid #ecdcc5;
font-family: inherit;
    background-color: #fff2cc;
    margin-bottom: 3px;
    width: 85%;
    border-spacing: 3px;
    margin-right: auto;
    margin-left: auto;
}
}
.Talk-Notice:after {
 
    content: "The CSS for this template should be changed. See [[Wikipedia:Template Standardisation]].";
DIV.siteNoticeSmall {
font-size: 15pt;
}
}
.notice-text, .toggle-box, .red-button, .goal, div.red-button, div.siteNoticeSmall, div#siteNotice {
 
    font-family: inherit;
/* Persondata and other (future) metadata */
table.InChI, /* temporary */
table.persondata {
border: 1px solid #a2a9b1;
display: none;
speak: none;
}
}
DIV.siteNoticeSmall {
.InChI-label, /* temporary */
    font-size: 15pt;
.persondata-label {
color: #a2a9b1;
}
}
/* Make template background appear correctly on all browsers */
 
.Talk-Notice td {
/* Icons for medialist templates [[Template:Listen]], [[Template:Multi-listen_start]], [[Template:Video]], [[Template:Multi-video_start]] */
    background: inherit;
div.listenlist {
background: url("//upload.wikimedia.org/wikipedia/commons/3/3f/Gnome_speakernotes_30px.png");
/* @noflip */
padding-right: 40px;
}
}
/* Persondata and other (future) metadata */
 
table.InChI,  
div.videolist, div.multivideolist {
/* temporary */
background: url("//upload.wikimedia.org/wikipedia/commons/thumb/2/20/Tango-video-x-generic.png/40px-Tango-video-x-generic.png");
table.persondata {
padding-right: 50px;
    border: 1px solid #a2a9b1;
    display: none;
    speak: none;
}
}
.InChI-label,  
 
/* temporary */
/* Change the external link icon to an Adobe icon for all PDF files
.persondata-label {
  in browsers that support these CSS selectors, like Mozilla and Opera */
    color: #a2a9b1;
.mw-body a[href$=".pdf"].external,
.mw-body a[href*=".pdf?"].external,
.mw-body a[href*=".pdf#"].external,
.mw-body a[href$=".PDF"].external,
.mw-body a[href*=".PDF?"].external,
.mw-body a[href*=".PDF#"].external,
div#mw_content a[href$=".pdf"].external,
div#mw_content a[href*=".pdf?"].external,
div#mw_content a[href*=".pdf#"].external,
div#mw_content a[href$=".PDF"].external,
div#mw_content a[href*=".PDF?"].external,
div#mw_content a[href*=".PDF#"].external {
background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat left;
/* @noflip */
padding-left: 18px;
}
}
/* Makes redirects appear in italics in categories and on [[Special:Allpages]] */
 
.redirect-in-category, .allpagesredirect {
/* Change the external link icon to an Adobe icon anywhere the PDFlink class */
    font-style: italic;
/* is used (notably Template:PDFlink). This works in IE, unlike the above. */
span.PDFlink a {
background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") center left no-repeat !important;
padding-left: 18px !important;
}
}
/* Makes redirects in transclusion lists italicized (on page preview) */
 
.mw-editfooter-list mw-collapsible .mw-redirect {
span.geolink a {
    font-style: italic;
background: url(//upload.wikimedia.org/wikipedia/en/a/a7/Monobook-globe.png) center left no-repeat !important;
padding-left: 11px !important;
}
}
/* Icons for medialist templates [[Template:Listen]], [[Template:Multi-listen_start]], [[Template:Video]], [[Template:Multi-video_start]] */
 
div.listenlist {
/* Content in columns with CSS instead of tables [[Template:Columns]] */
    background: url("//upload.wikimedia.org/wikipedia/commons/3/3f/Gnome_speakernotes_30px.png");
div.columns-2 div.column {
    /* @noflip */
/* @noflip */
    padding-right: 40px;
float: right;
width: 50%;
min-width: 300px;
}
}
div.videolist, div.multivideolist {
 
    background: url("//upload.wikimedia.org/wikipedia/commons/thumb/2/20/Tango-video-x-generic.png/40px-Tango-video-x-generic.png");
div.columns-3 div.column {
    padding-right: 50px;
/* @noflip */
float: right;
width: 33.3%;
min-width: 200px;
}
}
/* Style rules for media list templates */
 
div.medialist {
div.columns-4 div.column {
    min-height: 50px;
/* @noflip */
    margin: 1em;
float: right;
    /* @noflip */
width: 25%;
    background-position: top right;
min-width: 150px;
    background-repeat: no-repeat;
}
}
div.medialist ul {
 
    list-style-type: none;
div.columns-5 div.column {
    list-style-image: none;
/* @noflip */
    margin: 0;
float: right;
width: 20%;
min-width: 120px;
}
}
div.medialist ul li {
 
    padding-bottom: 0.5em;
/*Add formatting to make sure that "external references" from [[Template:Ref]] do
  not get URL expansion, not even when printed. The mechanism up to MediaWiki 1.4 was
  that the HTML code contained a SPAN following the anchor A; this SPAN had the class
  "urlexpansion", which was not displayed on screen, but was shown when the medium was
  "print". The rules below ensure (a) that there is no extra padding to the left of
  the anchor (displayed as "[<number>]"), (b) that there is no "external link arrow" for
  the link, and (c) that this SPAN of class "urlexpansion" is never shown.
*/
 
.plainlinksneverexpand {
background: none ! important;
padding: 0 ! important;
}
}
div.medialist ul li li {
 
    font-size: 91%;
.plainlinksneverexpand .urlexpansion {
    padding-bottom: 0;
display: none ! important;
}
}
/* Change the external link icon to an Adobe icon for all PDF files in browsers that support these CSS selectors, like Mozilla and Opera */
 
div#content a[href$=".pdf"].external, div#content a[href*=".pdf?"].external, div#content a[href*=".pdf#"].external, div#content a[href$=".PDF"].external, div#content a[href*=".PDF?"].external, div#content a[href*=".PDF#"].external, div#mw_content a[href$=".pdf"].external, div#mw_content a[href*=".pdf?"].external, div#mw_content a[href*=".pdf#"].external, div#mw_content a[href$=".PDF"].external, div#mw_content a[href*=".PDF?"].external, div#mw_content a[href*=".PDF#"].external {
/* Make sure that ext links displayed within "plainlinksneverexpand" don't get
    background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat left;
  the arrow...
    /* @noflip */
*/
    padding-left: 18px;
.plainlinksneverexpand a {
background: none !important;
padding: 0 !important;
}
}
/* Change the external link icon to an Adobe icon anywhere the PDFlink class */
 
/* is used (notably Template:PDFlink). This works in IE, unlike the above. */
/* Messagebox templates */
span.PDFlink a {
.messagebox {
    background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") center left no-repeat !important;
border: 1px solid #a2a9b1;
    padding-left: 18px !important;
background-color: #f8f9fa;
width: 80%;
margin: 0 auto 1em auto;
padding: .2em;
}
}
span.geolink a {
.messagebox.merge {
    background: url(//upload.wikimedia.org/wikipedia/en/a/a7/Monobook-globe.png) center left no-repeat !important;
border: 1px solid #c0b8cc;
    padding-left: 11px !important;
background-color: #f0e5ff;
text-align: center;
}
}
/* Content in columns with CSS instead of tables [[Template:Columns]] */
.messagebox.cleanup {
div.columns-2 div.column {
border: 1px solid #9f9fff;
    /* @noflip */
background-color: #efefff;
    float: right;
text-align: center;
    width: 50%;
    min-width: 300px;
}
}
div.columns-3 div.column {
.messagebox.standard-talk {
    /* @noflip */
border: 1px solid #c0c090;
    float: right;
background-color: var(--background-color-warning-subtle, #f8eaba);
    width: 33.3%;
    min-width: 200px;
}
}
div.columns-4 div.column {
.messagebox.nested-talk {
    /* @noflip */
border: 1px solid #c0c090;
    float: right;
background-color: #f8eaba;
    width: 25%;
width: 100%;
    min-width: 150px;
margin: 2px 4px 2px 4px;
}
}
div.columns-5 div.column {
.messagebox.small {
    /* @noflip */
width: 238px;
    float: right;
font-size: 85%;
    width: 20%;
/* @noflip */
    min-width: 120px;
float: left;
clear: both;
/* @noflip */
margin: 0 0 1em 1em;
line-height: 1.25em;  
}
}
/*Add formatting to make sure that "external references" from [[Template:Ref]] do not get URL expansion, not even when printed. The mechanism up to MediaWiki 1.4 was that the HTML code contained a SPAN following the anchor A;
.messagebox.small-talk {
this SPAN had the class "urlexpansion", which was not displayed on screen, but was shown when the medium was "print". The rules below ensure (a) that there is no extra padding to the left of the anchor (displayed as "[<number>]"), (b) that there is no "external link arrow" for the link, and (c) that this SPAN of class "urlexpansion" is never shown. */
width: 238px;
.plainlinksneverexpand {
font-size: 85%;
    background: none ! important;
/* @noflip */
    padding: 0 ! important;
float: left;
clear: both;
/* @noflip */
margin: 0 0 1em 1em;
line-height: 1.25em;  
background: #fff2cc;
}
}
.plainlinksneverexpand .urlexpansion {
 
    display: none ! important;
/* Article message box styles */
table.ambox {
margin: 0px 10%;                  /* 10% = Will not overlap with other elements */
border: 1px solid #a2a9b1;
border-right: 10px solid #36c;  /* Default "notice" blue */
background: #f8f9fa;  
}
}
/* Make sure that ext links displayed within "plainlinksneverexpand" don't get the arrow... */
table.ambox + table.ambox {      /* Single border between stacked boxes. */
.plainlinksneverexpand a {
margin-top: -1px;
    background: none !important;
    padding: 0 !important;
}
}
/* Messagebox templates */
.ambox th.mbox-text,
.messagebox {
.ambox td.mbox-text {            /* The message body cell(s) */
    border: 1px solid #a2a9b1;
padding: 0.25em 0.5em;       /* 0.5em left/right */
    background-color: #f8f9fa;
    width: 80%;
    margin: 0 auto 1em auto;
    padding: .2em;
}
}
.messagebox.merge {
.ambox td.mbox-image {           /* The left image cell */
    border: 1px solid #c0b8cc;
padding: 2px 0.5em 2px 0;   /* 0.5em right, 0px left */
    background-color: #f0e5ff;
    text-align: center;
}
}
.messagebox.cleanup {
.ambox td.mbox-imageright {      /* The right image cell */
     border: 1px solid #9f9fff;
padding: 2px 0 2px 0.5em;   /* 0px right, 0.5em left */
    background-color: #efefff;
    text-align: center;
}
}
  .messagebox.standard-talk {
   
    border: 1px solid #c0c090;
table.ambox-notice {
    background-color: #f8eaba;
border-right: 10px solid #36c;   /* Blue */
}
}
.messagebox.nested-talk {
table.ambox-speedy {
    border: 1px solid #c0c090;
border-right: 10px solid #DD0000;   /* Red */
    background-color: #f8eaba;
background: #fee7e6;                   /* Pink */
    width: 100%;
    margin: 2px 4px 2px 4px;
}
}
.messagebox.small {
table.ambox-delete {
    width: 238px;
border-right: 10px solid #DD0000;   /* Red */
    font-size: 85%;
    /* @noflip */
    float: left;
    clear: both;
    /* @noflip */
    margin: 0 0 1em 1em;
    line-height: 1.25em;
}
}
.messagebox.small-talk {
table.ambox-content {
    width: 238px;
border-right: 10px solid #FF5D00;   /* Orange */
    font-size: 85%;
    /* @noflip */
    float: left;
    clear: both;
    /* @noflip */
    margin: 0 0 1em 1em;
    line-height: 1.25em;
    background: #fff2cc;
}
}
/* Article message box styles */
table.ambox-style {
table.ambox {
border-right: 10px solid #fc3;   /* Yellow */
    margin: 0px 10%;
    /* 10% = Will not overlap with other elements */
    border: 1px solid #a2a9b1;
    border-right: 10px solid #36c;
    /* Default "notice" blue */
    background: #f8f9fa;
}
}
table.ambox + table.ambox {
table.ambox-move {
    /* Single border between stacked boxes. */
border-right: 10px solid #9932cc;    /* Purple */
    margin-top: -1px;
}
}
.ambox th.mbox-text, .ambox td.mbox-text {
table.ambox-protection {
    /* The message body cell(s) */
border-right: 10px solid #a2a9b1;       /* Gray-gold */
    padding: 0.25em 0.5em;
    /* 0.5em left/right */
}
}
.ambox td.mbox-image {
 
    /* The left image cell */
/* Disambig and set index box styles */
    padding: 2px 0.5em 2px 0;
table.dmbox {
    /* 0.5em right, 0px left */
clear: both;
margin: 0.9em 1em;
border-top: 1px solid #c8ccd1;
border-bottom: 1px solid #c8ccd1;  
background: transparent;
}
}
  .ambox td.mbox-imageright {
   
    /* The right image cell */
/* Footer and header message box styles */
    padding: 2px 0 2px 0.5em;
table.fmbox {
     /* 0px right, 0.5em left */
clear: both;
margin: 0.2em 0;
width: 100%;
border: 1px solid #a2a9b1;
background: #f8f9fa;     /* Default "system" gray */
}
}
table.ambox-notice {
table.fmbox-system {
    border-right: 10px solid #36c;
background: var(--background-color-interactive-subtle, #f8f9fa);
    /* Blue */
}
}
table.ambox-speedy {
table.fmbox-warning {
    border-right: 10px solid #b32424;
border: 1px solid #DD0000; /* Dark pink */
    /* Red */
background: var(--background-color-destructive-subtle, #fee7e6);       /* Pink */
    background: #fee7e6;
    /* Pink */
}
}
table.ambox-delete {
 
    border-right: 10px solid #b32424;
table.fmbox-editnotice {
    /* Red */
background: transparent;
}
}
table.ambox-content {
/* Div based "warning" style fmbox messages. */
    border-right: 10px solid #f28500;
div.mw-warning-with-logexcerpt,
    /* Orange */
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
div#mw-protect-cascadeon {
clear: both;
margin: 0.2em 0;
border: 1px solid #DD0000;
background-color: var(--background-color-error-subtle, #ffdbdb);
padding: 0.25em 0.9em;
}
}
table.ambox-style {
/* Div based "system" style fmbox messages.
    border-right: 10px solid #fc3;
  Used in [[MediaWiki:Readonly lag]]. */
    /* Yellow */
div.mw-lag-warn-normal,
div.fmbox-system {
clear: both;
margin: 0.2em 0;
border: 1px solid #a2a9b1;
background: #f8f9fa;
padding: 0.25em 0.9em;
}
}
table.ambox-move {
 
    border-right: 10px solid #9932cc;
/* Other pages message box styles */
    /* Purple */
table.ombox {
margin: 4px 10%;
border-collapse: collapse;
border: 1px solid #a2a9b1;   /* Default "notice" gray */
background-color: #f8f9fa;
box-sizing: border-box;
}
}
table.ambox-protection {
 
    border-right: 10px solid #a2a9b1;
table.ombox-notice {
    /* Gray-gold */
border: 1px solid #a2a9b1;   /* Gray */
}
}
/* Image message box styles */
 
table.imbox {
table.ombox-speedy {
    margin: 4px 10%;
border: 2px solid #b32424;   /* Red */
    border-collapse: collapse;
background-color: #fee7e6;   /* Pink */
    border: 3px solid #36c;
    /* Default "notice" blue */
    background: #f8f9fa;
}
}
.imbox .mbox-text .imbox {
 
    /* For imboxes inside imbox-text cells. */
table.ombox-delete {
    margin: 0 -0.5em;
border: 2px solid #b32424;   /* Red */
    /* 0.9 - 0.5 = 0.4em left/right. */
    display: block;
    /* Fix for webkit to force 100% width. */
}
}
.mbox-inside .imbox {
 
    /* For imboxes inside other templates. */
table.ombox-content {
    margin: 4px;
border: 1px solid #f28500;    /* Orange */
}
}
table.imbox-notice {
 
    border: 3px solid #36c;
table.ombox-style {
    /* Blue */
border: 1px solid #fc3;       /* Yellow */
}
}
table.imbox-speedy {
 
    border: 3px solid #b32424;
table.ombox-move {
    /* Red */
border: 1px solid #9932cc;   /* Purple */
    background: #fee7e6;
    /* Pink */
}
}
table.imbox-delete {
 
    border: 3px solid #b32424;
table.ombox-protection {
    /* Red */
border: 2px solid #a2a9b1;   /* Gray-gold */
}
}
  table.imbox-content {
   
    border: 3px solid #f28500;
/* These mbox-small classes must be placed after all other
    /* Orange */
  ambox/tmbox/ombox etc classes. "body.mediawiki" is so
  they override "table.ambox + table.ambox" above. */
html body.mediawiki .mbox-small {   /* For the "small=yes" option. */
/* @noflip */
clear: left;
/* @noflip */
float: left;
/* @noflip */
margin: 4px 1em 4px 0;
box-sizing: border-box;
width: 238px;
font-size: 88%;
line-height: 1.25em;
}
}
table.imbox-style {
html body.mediawiki .mbox-small-right {   /* For the "small=right" option. */
    border: 3px solid #fc3;
/* @noflip */
    /* Yellow */
margin: 4px 0 4px 1em;
box-sizing: border-box;
overflow: hidden;
width: 238px;
border-collapse: collapse;
font-size: 88%;
line-height: 1.25em;
}
}
table.imbox-move {
 
    border: 3px solid #9932cc;
/* Style for compact ambox */
    /* Purple */
/* Hide the images */
.compact-ambox table .mbox-image,
.compact-ambox table .mbox-imageright,
.compact-ambox table .mbox-empty-cell {
display: none;
}
}
table.imbox-protection {
 
    border: 3px solid #a2a9b1;
/* Remove borders, backgrounds, padding, etc. */
    /* Gray-gold */
.compact-ambox table.ambox {
border: none;
border-collapse: collapse;
background-color: transparent;
margin: 0 1.6em 0 0 !important;
padding: 0 !important;
width: auto;
display: block;
}
}
table.imbox-license {
 
    border: 3px solid #72777d;
body.mediawiki .compact-ambox table.mbox-small-left {
    /* Dark gray */
font-size: 100%;
    background: #eaecf0;
width: auto;
    /* Light gray */
margin: 0;
}
}
table.imbox-featured {
 
    border: 3px solid #ffaa66;
/* Style the text cell as a list item and remove its padding */
    /* light Orange, for getting near to symbol of FPs */
.compact-ambox table .mbox-text {
padding: 0 !important;
margin: 0 !important;
}
}
/* Category message box styles */
 
table.cmbox {
.compact-ambox table .mbox-text-span {
    margin: 3px 10%;
display: list-item;
    border-collapse: collapse;
line-height: 1.5em;
    border: 1px solid #a2a9b1;
list-style-type: square;
    background: #36c;
list-style-image: url(/w/skins/MonoBook/resources/images/bullet.svg);
    /* Default "notice" blue */
}
}
table.cmbox-notice {
 
    background: #eaf3ff;
/* Allow for hiding text in compact form */
    /* Blue */
.compact-ambox .hide-when-compact {
display: none;
}
}
table.cmbox-speedy {
 
    margin-top: 4px;
/* Put a checker background at the image description page only visible if the image has transparent background */
    margin-bottom: 4px;
#file img {
    border: 4px solid #b32424;
background: url("//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;
    /* Red */
    background: #fee7e6;
    /* Pink */
}
}
table.cmbox-delete {
 
    background: #b32424;
#wpSave {
    /* Red */
font-weight: bold;
}
}
table.cmbox-content {
 
    background: #FFE7CE;
/* suppress missing interwiki image links where #ifexist cannot be used due to high number of requests */
    /* Orange */
/* use restricted to rail icon management pages */
/* see .hidden-redlink on //meta.wikimedia.org/wiki/MediaWiki:Common.css */
.check-icon a.new {
display: none;  
speak:none;
}
}
table.cmbox-style {
 
    background: #fc3;
/* Removes underlines from links */
    /* Yellow */
.nounderlines a {  
text-decoration: none;
}
}
table.cmbox-move {
 
    background: #E4D8FF;
/* Remove underline from IPA links */
    /* Purple */
.IPA a:link, .IPA a:visited {
text-decoration: none;
}
}
table.cmbox-protection {
 
    background: #a2a9b1;
/* Removes useless links from printout */
    /* Gray-gold */
@media print {
#privacy, #about, #disclaimer {display:none;}
}
}
/* Other pages message box styles */
 
table.ombox {
#EnWpMpBook { background-image: url(//upload.wikimedia.org/wikipedia/en/7/7e/MP-open-book.png); }
    margin: 4px 10%;
#EnWpMpSearch { background: url(//upload.wikimedia.org/wikipedia/en/a/ae/MP-magnifying-glass.png) no-repeat top left; }
    border-collapse: collapse;
#EnWpMpSearchInner { float: left; width: 20em; text-align: center; }
    border: 1px solid #a2a9b1;
#EnWpMpBook2 { background-image: url(//upload.wikimedia.org/wikipedia/commons/8/8e/MP-open-book2.png); }
    /* Default "notice" gray */
 
    background: #f8f9fa;
/* Standard Navigationsleisten, aka box hiding thingy from .de.  Documentation at [[Wikipedia:NavFrame]]. */
 
div.Boxmerge,
div.NavFrame {
margin: 0px;
padding: 4px;
border: 1px solid #a2a9b1;
text-align: center;
border-collapse: collapse;
font-size: 95%;
}
}
table.ombox-notice {
div.Boxmerge div.NavFrame {
    border: 1px solid #a2a9b1;
border-style: none;
    /* Gray */
border-style: hidden;
}
}
table.ombox-speedy {
div.NavFrame + div.NavFrame {
    border: 2px solid #b32424;
border-top-style: none;
    /* Red */
border-top-style: hidden;
    background: #fee7e6;
    /* Pink */
}
}
table.ombox-delete {
div.NavPic {
    border: 2px solid #b32424;
background-color: #fff;
    /* Red */
margin: 0px;
padding: 2px;
float: right;
}
}
table.ombox-content {
div.NavFrame div.NavHead {
    border: 1px solid #f28500;
height: 1.6em;
    /* Orange */
font-weight: bold;
background-color: #b3ccff;
position:relative;
}
}
table.ombox-style {
div.NavFrame div.NavHead:hover {
    border: 1px solid #fc3;
background-color: #aaf;
    /* Yellow */
}
}
table.ombox-move {
div.NavFrame p {
    border: 1px solid #9932cc;
font-size: 100%;
    /* Purple */
}
}
table.ombox-protection {
div.NavFrame div.NavContent {
    border: 2px solid #a2a9b1;
font-size: 100%;
    /* Gray-gold */
}
}
/* Talk page message box styles */
div.NavFrame div.NavContent p {
table.tmbox {
font-size: 100%;
    margin: 4px 10%;
    border-collapse: collapse;
    border: 1px solid #a2a9b1;
    /* Default "notice" gray-brown */
    background: #f8f9fa;
}
}
.mediawiki .mbox-inside .tmbox {
div.NavEnd {
    /* For tmboxes inside other templates. The "mediawiki" class ensures that */
margin: 0px;
    margin: 2px 0;
padding: 0px;
    /* this declaration overrides other styles (including mbox-small above) */
line-height: 1px;
    width: 100%;
clear: both;
    /* For Safari and Opera */
}
}
.mbox-inside .tmbox.mbox-small {
a.NavToggle {
    /* "small" tmboxes should not be small when */
position:absolute;
    line-height: 1.5em;
top:0px;
    /* also "nested", so reset styles that are */
left:3px;
    font-size: 100%;
font-weight:normal;
    /* set in "mbox-small" above. */
font-size:smaller;
}
}
table.tmbox-speedy {
 
    border: 2px solid #b32424;
/* Hatnotes and disambiguation notices */
    /* Red */
.rellink,
    background: #fee7e6;
.dablink,
    /* Pink */
.hatnote {
font-style: italic;
}
}
table.tmbox-delete {
.rellink i,
    border: 2px solid #b32424;
.dablink i,
    /* Red */
.hatnote i {
font-style: normal;
}
}
table.tmbox-content {
div.rellink,
    border: 2px solid #f28500;
div.dablink,
    /* Orange */
div.hatnote {
/* @noflip */
padding-right: 1.6em;
margin-bottom: 0.5em;
}
}
table.tmbox-style {
 
    border: 2px solid #fc3;
span.updatedmarker {
    /* Yellow */
background-color: transparent;
color: #006400;
}
}
table.tmbox-move {
 
    border: 2px solid #9932cc;
.dablink {
    /* Purple */
font-style: italic;
padding-right: 2em;
}
}
table.tmbox-protection, table.tmbox-notice {
 
    border: 1px solid #c0c090;
.dablink i {
    /* Gray-brown */
font-style: normal;
}
}
/* Disambig and set index box styles */
 
table.dmbox {
/* Style for horizontal UL lists */
    clear: both;
.horizontal ul {
    margin: 0.9em 1em;
padding: 0;
    border-top: 1px solid #c8ccd1;
margin: 0;
    border-bottom: 1px solid #c8ccd1;
    background: transparent;
}
}
/* Footer and header message box styles */
 
table.fmbox {
.horizontal li {  
    clear: both;
padding: 0 0.6em 0 0.4em;
    margin: 0.2em 0;
display: inline;
    width: 100%;
border-left: 1px solid;
    border: 1px solid #a2a9b1;
    background: #f8f9fa;
    /* Default "system" gray */
}
}
table.fmbox-system {
 
    background: #f8f9fa;
/* Geographical coordinates
 
To display coordinates using the notation in the source code, write this in your User:Username/monobook.css:
  .geo-default { display: inline } .geo-nondefault { display: none }
  .geo-dec { display: inline } .geo-dms { display: inline }
 
To display coordinates using decimal notation, write this in your User:Username/monobook.css:
  .geo-default { display: inline } .geo-nondefault { display: inline }
  .geo-dec { display: inline } .geo-dms { display: none }
 
To display coordinates using DMS notation, write this in your User:Username/monobook.css:
  .geo-default { display: inline } .geo-nondefault { display: inline }
  .geo-dec { display: none }  .geo-dms { display: inline }
 
To display coordinates in both decimal and DMS notation, write this in your User:Username/monobook.css:
  .geo-default { display: inline } .geo-nondefault { display: inline }
  .geo-dec { display: inline }  .geo-dms { display: inline }
  .geo-multi-punct { display: inline }
 
See [[Template:Coor link]] for how these are used.
 
Note that the classes "geo", "longitude", and "latitude" are not just styles but also used by the [[Geo microformat]], so the names should not be changed.
 
*/
 
.geo-default { display: inline; }
.geo-nondefault { display: none; }
.geo-dms { display: inline; }
.geo-dec { display: inline; }
.geo-multi-punct { display: none; }
 
.longitude .latitude {
white-space: nowrap;
}
}
table.fmbox-warning {
 
    border: 1px solid #b32424;
/* This is used for the Geo microformat, but no style is needed for now other than .geo-dec. */
    /* Dark pink */
.geo { }
    background: #fee7e6;
 
    /* Pink */
/***** end Geo-related */
 
/* When <div class="nonumtoc"> is used on the table of contents, the ToC will display without numbers */
.nonumtoc .tocnumber { display:none; }
.nonumtoc #toc ul,
.nonumtoc .toc ul {
line-height: 1.5em;
list-style: none;
margin: .3em 0 0;
padding: 0;
}
}
table.fmbox-editnotice {
.nonumtoc #toc ul ul,
    background: transparent;
.nonumtoc .toc ul ul {  
margin: 0 0 0 2em;  
}
}
/* Div based "warning" style fmbox messages. */
 
div.mw-warning-with-logexcerpt, div.mw-lag-warn-high, div.mw-cascadeprotectedwarning, div#mw-protect-cascadeon {
/* Allow limiting of which header levels are shown in a TOC; <div class="toclimit-3">, for
    clear: both;
  instance, will limit to showing ==headings== and ===headings=== but no further (as long as
    margin: 0.2em 0;
  there are no =headings= on the page, which there shouldn't be according to the MoS). */
    border: 1px solid #b32424;
.toclimit-2 .toclevel-2 {display:none;}
    background: #fee7e6;
.toclimit-3 .toclevel-3 {display:none;}
    padding: 0.25em 0.9em;
.toclimit-4 .toclevel-4 {display:none;}
.toclimit-5 .toclevel-5 {display:none;}
.toclimit-6 .toclevel-6 {display:none;}
.toclimit-7 .toclevel-7 {display:none;}
 
/* Allow transcluded pages to display in lists rather than a table. Compatible in Firefox; incompatible in IE6. */
.listify td {display:list-item;}
.listify tr {display:block;}
.listify table {display:block;}
 
div.user-block {
padding: 5px;
border: 1px solid #a2a9b1;
background-color: #fee7e6;
}
}
/* Div based "system" style fmbox messages. Used in [[MediaWiki:Readonly lag]]. */
/* Prevent line breaks in silly places:
div.mw-lag-warn-normal, div.fmbox-system {
  1) links when we don't want them to
    clear: both;
  2) HTML formulae
    margin: 0.2em 0;
  3) Ref tags with group names <ref group="Note"> --> "[Note 1]"
    border: 1px solid #a2a9b1;
*/
    background: #f8f9fa;
.nowrap,
    padding: 0.25em 0.9em;
.nowraplinks a,
span.texhtml,
sup.reference a { white-space: nowrap; }
 
/* Contents of <math> tag should have an ltr layout */
span.texhtml {
direction: ltr;
unicode-bidi: isolate;
}
}
/* These mbox-small classes must be placed after all other ambox/tmbox/ombox etc classes. "body.mediawiki" is so they override "table.ambox + table.ambox" above. */
 
body.mediawiki table.mbox-small {
.thumbinner {
    /* For the "small=yes" option. */
min-width: 100px;
    /* @noflip */
    clear: left;
    /* @noflip */
    float: left;
    /* @noflip */
    margin: 4px 1em 4px 0;
    width: 238px;
    font-size: 88%;
    line-height: 1.25em;
}
}
body.mediawiki table.mbox-small-right {
 
    /* For the "small=right" option. */
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
     /* @noflip */
th.mbox-text, td.mbox-text {     /* The message body cell(s) */
    margin: 4px 0 4px 1em;
border: none;
    width: 238px;
padding: 0.25em 0.9em;       /* 0.9em left/right */
    border-collapse: collapse;
width: 100%;   /* Make all mboxes the same width regardless of text length */
    font-size: 88%;
    line-height: 1.25em;
}
}
/* Put a checker background at the image description page only visible if the image has transparent background */
td.mbox-image {                  /* The left image cell */
#file img {
border: none;
    background: url("//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;
padding: 2px 0.9em 2px 0px;    /* 0.9em right, 0px left */
text-align: center;  
}
}
#wpSave {
td.mbox-imageright {             /* The right image cell */
    font-weight: bold;
border: none;
padding: 2px 0px 2px 0.9em;    /* 0px left, 0.9em right */
text-align: center;  
}
}
/* suppress missing interwiki image links where #ifexist cannot be used due to high number of requests */
 
/* use restricted to rail icon management pages */
 
/* see .hidden-redlink on //meta.wikimedia.org/wiki/MediaWiki:Common.css */
/* Reduce line-height for <sup> and <sub> */
.check-icon a.new {
sup, sub {
    display: none;
line-height: 1em;
    speak: none;
}
}
/* Removes underlines from links */
 
.nounderlines a {
/* Selectively hide headers in WikiProject banners */
    text-decoration: none;
/* TemplateStyles */
.wpbs-inner .wpb .wpb-header {
display: table-row;
}
}
/* Remove underline from IPA links */
 
.IPA a:link, .IPA a:visited {
/* Styling for Abuse Filter tags */
    text-decoration: none;
.mw-tag-markers {
font-style:italic;
font-size:90%;
}
}
/* Removes useless links from printout */
 
@media print {
/* Hide stuff meant for accounts with special permissions. Made visible again in
    #privacy, #about, #disclaimer {
  [[MediaWiki:Group-checkuser.css]], [[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-patroller.css]],
        display: none;
  [[MediaWiki:Group-templateeditor.css]], [[MediaWiki:Group-extendedmover.css]],
    }
  [[MediaWiki:Group-extendedconfirmed.css]], and [[Mediawiki:Group-autoconfirmed.css]]. */
.checkuser-show,
.sysop-show,
.patroller-show,
.templateeditor-show,
.extendedmover-show,
.extendedconfirmed-show,
.autoconfirmed-show,
.user-show {
display: none;
}
}
#EnWpMpBook {
 
    background-image: url(//upload.wikimedia.org/wikipedia/en/7/7e/MP-open-book.png);
/* Für <nowiki><hiero>…</hiero></nowiki> */  
.mw-hierotable, .hierotable-mw,
.mw-hierotable  th, .hierotable mw-th,
.mw-hierotable  td, .hierotable mw-td {
border: 0px;
padding: 0px;
}
}
#EnWpMpSearch {
/* With MediaWiki 1.5, the mechanism has changed: instead of a SPAN of class "urlexpansion"
    background: url(//upload.wikimedia.org/wikipedia/en/a/ae/MP-magnifying-glass.png) no-repeat top left;
  following the anchor A, the anchor itself now has class "external autonumber" and the
  expansion is inserted when printing (see the common printing style sheet at
  //en.wikipedia.org/w/skins/common/commonPrint.css) using the ":after" pseudo-
  element of CSS. We have to switch this off for links due to Template:Ref!
*/
.plainlinksneverexpand a.external.text:after {
display: none !important;
}
}
#EnWpMpSearchInner {
.plainlinksneverexpand a.external.autonumber:after {
    float: left;
display: none !important;
    width: 20em;
    text-align: center;
}
}
#EnWpMpBook2 {
/* for Main Page */
    background-image: url(//upload.wikimedia.org/wikipedia/commons/8/8e/MP-open-book2.png);
.globegris {
background: url(//upload.wikimedia.org/wikipedia/commons/1/10/Wikipedia-logo-v2-200px-transparent.png);
}
}
/* Standard Navigationsleisten, aka box hiding thingy from .de. Documentation at [[Wikipedia:NavFrame]]. */
/* End */
div.Boxmerge, div.NavFrame {
 
    margin: 0px;
.prefsection fieldset {
    padding: 4px;
float: right;
    border: 1px solid #a2a9b1;
    text-align: center;
    border-collapse: collapse;
    font-size: 95%;
}
}
div.Boxmerge div.NavFrame {
 
    border-style: none;
/* Small font-size for hidden categories */
    border-style: hidden;
#mw-hidden-catlinks { font-size: 87% !important; }
 
.listify {
margin-left:0;
margin-right:2em;
}
}
div.NavFrame + div.NavFrame {
#wpFilterRules {
    border-top-style: none;
direction: ltr;
    border-top-style: hidden;
}
}
div.NavPic {
 
    background-color: #fff;
/* این نیز باگ است که وقتی عنوان یک بخش انگلیسی است، فارسی درون خلاصهٔ ویرایش در تاریخچه به هم می‌ریزد */
    margin: 0px;
.comment > span { unicode-bidi: normal; }
    padding: 2px;
 
    float: right;
/* نمایش بهتر خلاصه ویرایش‌های خیلی طولانی */
.comment {
overflow-wrap: break-word;
word-break: break-word;
}
}
div.NavFrame div.NavHead {
 
    height: 1.6em;
/* زیاد کردن اندازهٔ توضیحات صفحهٔ بارگذاری */
    font-weight: bold;
#wpUploadDescription {
    background-color: #b3ccff;
height: 25em;
    position: relative;
}
}
div.NavFrame div.NavHead:hover {
 
    background-color: #aaf;
/*ابزار پررنگ کنندهٔ نظرهای کاربر*/
.mycomment { background: #ff9; }
 
/* Pie chart test: Transparent borders */
.transborder {
border: solid transparent;
}
}
div.NavFrame p {
 
    font-size: 100%;
/* Hide edittools base for those not using the gadget */
#mw-edittools-charinsert {
display: none;
}
}
div.NavFrame div.NavContent {
 
    font-size: 100%;
/* Category tree styling. Works in conjuction with [[MediaWiki:Categorytree-expand-bullet]],
  [[MediaWiki:Categorytree-collapse-bullet]] and [[MediaWiki:Categorytree-empty-bullet]]. */
#mw-subcategories ul {
list-style: none none;
margin-left: 0.25em;
}
}
div.NavFrame div.NavContent p {
.CategoryTreeChildren {
    font-size: 100%;
margin-left: 1.25em;
}
}
div.NavEnd {
.CategoryTreeToggle {
    margin: 0px;
color: #36c;
    padding: 0px;
    line-height: 1px;
    clear: both;
}
}
a.NavToggle {
.CategoryTreeEmptyBullet {
    position: absolute;
color: #c8ccd1;
    top: 0px;
    left: 3px;
    font-weight: normal;
    font-size: smaller;
}
}
/* Hatnotes and disambiguation notices */
 
.rellink, .dablink, .hatnote {
/* توضیح به کاربران دربارهٔ صفحهٔ تمرین */
    font-style: italic;
body.ns-2[class*="_صفحه_تمرین"] #firstHeading::after {
color: #72777d;
content: "توجه:این صفحه بخشی از دانشنامه نیست و صرفاً جهت ویرایش آزمایشی در ویکی‌پدیا کاربرد دارد.";
float: left;
width: 40%;
font-size: 40%;
}
}
.rellink i, .dablink i, .hatnote i {
 
    font-style: normal;
/*اصلاح اندازه فونت در تغییرات اخیر برای [ویرایش‌های در حال انتظار] برگرفته از ویکی‌روسی*/
.mw-fr-reviewlink, .fr-hist-basic-user, .fr-hist-basic-auto {
font-weight: normal;
font-size: smaller;
}
}
div.rellink, div.dablink, div.hatnote {
 
    /* @noflip */
/* Make it possible to hide checkboxes in <inputbox> */
    padding-right: 1.6em;
.inputbox-hidecheckboxes form .inputbox-element {
    margin-bottom: 0.5em;
display: none !important;
}
}
span.updatedmarker {
 
    background-color: transparent;
/* این برچسپ بهتر است فقط برای Gadget-taghighlighter.css را فعال کرده اند دیده شوند */
    color: #006400;
.mw-tag-marker-نیازمند_بازبینی { display: none; }
 
/* Reduce page jumps by hiding collapsed/dismissed content */
.client-js .mw-special-Watchlist #watchlist-message {
display: none;
}
}
/* Coloured watchlist numbers */
 
.mw-plusminus-pos {
/* کمی پیوند ایجاد مقاله بزرگتر شود که پس از حذف بیشتر استفاده شود */
    color: #006400;
.mw-warning-with-logexcerpt a[title="ویکی‌پدیا:ایجاد مقاله"] { font-size: 120%; font-weight: bold; }
    /* darkgreen */
 
/* Make the textarea pink when an admin is editing a protected page */
.mw-textarea-protected {
background-color: #fee7e6;
}
}
/* .mw-plusminus-null currently at developer default */
 
.mw-plusminus-neg {
/* Color diff links */
    color: #8B0000;
.mw-diff-undo a, .mw-history-undo a, .mw-rollback-link a {
    /* darkred */
color: var(--color-destructive, #d33);
}
}
.dablink {
 
    font-style: italic;
a.mw-thanks-thank-link {
    padding-right: 2em;
color: var(--color-success, #14866d);
}
}
.dablink i {
 
    font-style: normal;
/* Make sure cite and dfn are not italicized thorugh the user agent stylesheet */
cite, dfn {
font-style:inherit;
}
}
/* Style for horizontal UL lists */
 
.horizontal ul {
/* LTR citations should be listed LTR and be left-aligned, as is the case in Persian literature */
    padding: 0;
LI.mw-cite-dir-ltr {
    margin: 0;
direction: ltr;
margin-left: 2.3em;
text-align: left;
list-style-type: decimal !important;
}
}
.horizontal li {
 
    padding: 0 0.6em 0 0.4em;
/* However, sometimes users combine LTR and RTL refs and wrap the <references/> tag in a DIV that is LTR.
    display: inline;
  In those cases, don't add a margin-left for the LI element, so the LTR and RTL numbersing are aligned. */
    border-left: 1px solid;
DIV.mw-content-ltr>OL>LI.mw-cite-dir-ltr {
margin-left: 0;
}
}
/* Geographical coordinates To display coordinates using the notation in the source code, write this in your User:Username/monobook.css: .geo-default {
 
    display: inline
/* OL with Persian alphabet used for its counter */
@counter-style persian-alpha {
system: cyclic;
symbols: "\627\644\641" "\628" "\67E" "\62A" "\62B" "\62C" "\684" "\62D" "\62E" "\62F" "\630" "\631" "\632" "\698" "\633" "\634" "\635" "\636" "\637" "\638" "\639" "\63A" "\641" "\642" "\6A9" "\6AB" "\644" "\645" "\646" "\648" "\6BE" "\6CC";
suffix = " ";
}
}
.geo-nondefault {
 
    display: none
.reflist-persian-alpha ol:lang( fa ) li {
list-style-type: persian-alpha !important;
direction: rtl;
text-align: right;
margin-left: 0;
}
}
.geo-dec {
 
    display: inline
/* T156351: Support for Parsoid's Cite implementation */
span[rel="mw:referencedBy"] > a::before {
    content: counter( mw-references, persian ) '٫' counter( mw-ref-linkback, persian );
}
}
.geo-dms {
 
    display: inline
/* Right margin for left-aligned tables */
table[align="left"] {
margin-right: 1.2em;
}
}
To display coordinates using decimal notation, write this in your User:Username/monobook.css: .geo-default {
 
    display: inline
/* Center aligning wikitables should be as easy as using align=center */
table.wikitable[align="center"] {
margin-right: auto;
margin-left: auto;
}
}
.geo-nondefault {
 
    display: inline
.mw-indicator, .mw-helplink, .mw-indicator-pp-default {
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
}
.geo-dec {
 
    display: inline
/* Temporary fix for Template:Allow_wrap until T283071 is fixed */
.wrap {
  white-space: normal;
}
}
.geo-dms {
 
    display: none
/* اعمال مقداری فاصله از ابتدا وقتی عنوان صفحه حالت ایتالیک داشته باشد که حرف اول عنوان بریده نشود، برای نمونه در مقاله ترس بر فراز شهر */
html[dir=rtl] #firstHeading > i:first-child {
  padding-right: .2em;
}
}
To display coordinates using DMS notation, write this in your User:Username/monobook.css: .geo-default {
 
    display: inline
/* Persian numerals for Template:Static row numbers */
body:not(.skin-minerva) .static-row-numbers.sortable tbody tr:not(.static-row-header):not(.static-row-numbers-norank)::before,
body.skin-minerva .static-row-numbers tbody tr:not(:first-child):not(.static-row-header):not(.static-row-numbers-norank)::before,
table.static-row-numbers:not(.sortable) tbody tr:not(:first-child):not(.static-row-header):not(.static-row-numbers-norank)::before {
  content: counter(rowNumber, persian);
}
}
.geo-nondefault {
 
    display: inline
.ext-discussiontools-init-timestamplink { unicode-bidi: isolate; }
 
/* پورتال ها */
.portal-container-2 {
display: grid;
grid-gap: 15px;
grid-template-columns: repeat(2, auto);
grid-template-rows: auto; 
width: 100%
}
}
.geo-dec {
.portal-container-3 {
    display: none
display: grid;
grid-gap: 15px;
grid-template-columns: repeat(3, auto);
grid-template-rows: auto; 
width: 100%
}
}
.geo-dms {
.portal-container-4 {
    display: inline
display: grid;
grid-gap: 15px;
grid-template-columns: repeat(4, auto);
grid-template-rows: auto; 
width: 100%
}
}
To display coordinates in both decimal and DMS notation, write this in your User:Username/monobook.css: .geo-default {
.portal-container-5 {
    display: inline
display: grid;
grid-gap: 15px;
grid-template-columns: repeat(5, auto);
grid-template-rows: auto; 
width: 100%
}
}
.geo-nondefault {
.portal-container-6 {
    display: inline
display: grid;
grid-gap: 15px;
grid-template-columns: repeat(6, auto);
grid-template-rows: auto; 
width: 100%
}
}
.geo-dec {
.portal-container-7 {
    display: inline
display: grid;
grid-gap: 15px;
grid-template-columns: repeat(7, auto);
grid-template-rows: auto; 
width: 100%
}
}
.geo-dms {
.portal-column-2-3 {
    display: inline
grid-column-end: span 2;
}
}
.geo-multi-punct {
.portal-column-3-4 {
    display: inline
grid-column-end: span 3;
}
}
See [[Template:Coor link]] for how these are used. Note that the classes "geo", "longitude", and "latitude" are not just styles but also used by the [[Geo microformat]], so the names should not be changed. */
.portal-column-1-2,
.geo-default {
.portal-column-1-3,
    display: inline;
.portal-column-1-4,
.portal-column-1-5,
.portal-column-1-6,
.portal-column-1-7 {
grid-column-end: span 1;  
}
}
.geo-nondefault {
.portal-column-2-2 {
    display: none;
grid-column-end: span 2;
}
}
.geo-dms {
.portal-column-3-3 {
    display: inline;
grid-column-end: span 3;
}
}
.geo-dec {
.portal-column-4-4 {
    display: inline;
grid-column-end: span 4;
}
}
.geo-multi-punct {
.portal-column-5-5 {
    display: none;
grid-column-end: span 5;
}
}
.longitude .latitude {
.portal-column-6-6 {
    white-space: nowrap;
grid-column-end: span 6;
}
}
/* This is used for the Geo microformat, but no style is needed for now other than .geo-dec. */
.portal-column-7-7 {
.geo {
grid-column-end: span 7;
}
}
/***** end Geo-related */
@media only screen and (max-width: 700px) {
/* When <div class="nonumtoc"> is used on the table of contents, the ToC will display without numbers */
.mainpage-portals {
.nonumtoc .tocnumber {
width: 25%;
    display: none;
}
    /* Decouple the columns on narrow screens */
    .portal-container-2,
    .portal-container-3,
    .portal-container-4,
    .portal-container-5,
    .portal-container-6,  
    .portal-container-7 {
display: block;
}
    .portal-column-1-2,
    .portal-column-3-4,
    .portal-column-1-3,
    .portal-column-2-3,
    .portal-column-2-2,
    .portal-column-3-3,
.portal-column-4-4,
.portal-column-5-5,
.portal-column-6-6,
.portal-column-7-7 {
        flo at: inherit;
        wid th: 100%;
        margin-top: 16px;
        display: block !important;
        text-align: center;
    }
    .portal-column-1-4 {
wid th: calc(50% - 16px);
    }
    .portal-column-1-6 {
wid th: calc(33.3% - 16px);
    }
    .portal-column-1-7 {
flo at: right;
wid th: calc(25% - 16px);
    }
}
}
.nonumtoc #toc ul, .nonumtoc .toc ul {
@media only screen and (max-width: 600px) {
    line-height: 1.5em;
    .portal-column-1-4,  
    list-style: none;
    .portal-column-1-6,
    margin: .3em 0 0;
    .portal-column-1-5 {
    padding: 0;
        float: inherit;
        width: 100%;
        margin: 0;
        display: block !important;
        text-align: center;
    }
}
}
.nonumtoc #toc ul ul, .nonumtoc .toc ul ul {
/* طراحی صفحه اول */
    margin: 0 0 0 2em;
.mainpage-top {
    background-image: url('/images/9/9e/Kaba_new.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position-y: center;
    background-position-x: 20%;
}
}
/* Allow limiting of which header levels are shown in a TOC;
/* سفید کردن لینک های بالای صفحه اول */
<div class="toclimit-3">, for instance, will limit to showing ==headings== and ===headings=== but no further (as long as there are no =headings= on the page, which there shouldn't be according to the MoS). */
  .mainpage-top a {
  .toclimit-2 .toclevel-2 {
     color: white !important
     display: none;
}
}
  .toclimit-3 .toclevel-3 {
/* حذف دکمه اضافه از جستجوی صفحه اول */
     display: none;
  [name=go] {
     display: none  
}
}
  .toclimit-4 .toclevel-4 {
/* راست چین کردن جستجوی صفحه اول */
     display: none;
  #mainpage-search {
     text-align: right
}
}
.toclimit-5 .toclevel-5 {
/* */
    display: none;
.mainpage-top .mw-searchInput {
width: 20em;
height: 2em;
}
}
.toclimit-6 .toclevel-6 {
/* فیدبک */
     display: none;
.page-صفحهٔ_اصلی .articleFeedbackv5 {
     display: none  
}
}
.toclimit-7 .toclevel-7 {
#mw-articlefeedbackv5 {
    display: none;
max-width: 100%;
width: auto !important;
}
}
/* Allow transcluded pages to display in lists rather than a table. Compatible in Firefox;
.articleFeedbackv5 {
incompatible in IE6. */
font-size: 80%;
.listify td {
    display: list-item;
}
}
.listify tr {
.articleFeedbackv5-panel{
    display: block;
max-width: 100%;
}
}
  .listify table {
  .articleFeedbackv5-tooltip-trigger {
    display: block;
    display:none
}
}
/* Styling for Template:Quote */
  .articleFeedbackv5-title {
  blockquote.templatequote {
    margin-top:0 !important
    margin-top: 0;
}
}
  blockquote.templatequote div.templatequotecite {
  .feedback-text {
    line-height: 1em;
height: 6em !important;
    text-align: right;
margin-bottom: 12px;
    padding-right: 2em;
    margin-top: 0;
}
}
  blockquote.templatequote div.templatequotecite cite {
  .articleFeedbackv5-disclosure {
    font-size: 85%;
    display:none
}
}
  div.user-block {
  .articleFeedbackv5-submit {
    padding: 5px;
    float:left !important;
    border: 1px solid #a2a9b1;
    background-color: #fee7e6;
}
}
/* Prevent line breaks in silly places: 1) links when we don't want them to 2) HTML formulae 3) Ref tags with group names <ref group="Note"> --> "[Note 1]" */
.articleFeedbackv5-cta-5 {
.nowraplinks a, span.texhtml, sup.reference a {
display: none;
    white-space: nowrap;
}
}
/* Contents of <math> tag should have an ltr layout */
 
span.texhtml {
.page-صفحهٔ_اصلی #content{
    direction: ltr;
padding-top: 0;
    unicode-bidi: bidi-override;
}
}
/* For template documentation */
 
  .template-documentation {
/* مخفی کردن از بازدید کننده ها */
     clear: both;
  .showtologgedin {
    margin: 1em 0 0 0;
     display: none
    border: 1px solid #a2a9b1;
    background-color: #eaf3ff;
    padding: 5px;
}
}
.thumbinner {
/* navbox */
    min-width: 100px;
.navbox {
    width: auto !important
}
}
/* Category message box styles */
/* side bar
table.cmbox {
#mw-panel{
    margin: 3px 10%;
position: fixed;
    border-collapse: collapse;
    z-index: 100;
    border: 1px solid #a2a9b1;
    background-color: #fefdf9;
    background: #36c;
    width: 10.5em;
     /* Default "notice" blue */
    max-height: 100%;
    overflow-x: hidden;
     overflow-y: auto;
}*/
 
/* دکمه های جمع شدن منوی سمت راست، بازگشت به بالای صفحه و تغییر اندازه فونت */
.sidebarbottons {
display: block;
position: fixed;
z-index: 999;
right: 0;
height: 20px;
width: 20px;
border: 1px solid #c3a068;
}
}
table.cmbox-notice {
.sidebarbottons:hover {
    background: #eaf3ff;
filter: invert(100%);
    /* Blue */
}
}
table.cmbox-speedy {
#collsidebar {
    margin-top: 4px;
background-image: url('/images/d/d6/Right.png');
    margin-bottom: 4px;
bottom: calc( 50% - 11px );
    border: 4px solid #b32424;
    /* Red */
    background: #fee7e6;
    /* Pink */
}
}
table.cmbox-delete {
 
    background: #b32424;
#totop {
    /* Red */
background-image: url('/images/8/87/Top.png');
bottom: calc( 50% - 11px );
border-bottom-left-radius: 2px;
}
}
table.cmbox-content {
 
    background: #FFE7CE;
#fontsizeup {
    /* Orange */
background-image: url('/images/2/2f/Plus.png');
bottom: calc( 50% + 31px );
border-top-left-radius: 2px;
}
}
table.cmbox-style {
 
    background: #fc3;
#fontsizedown {
    /* Yellow */
background-image: url('/images/e/ee/Minus.png');
bottom: calc( 50% + 10px );
}
}
table.cmbox-move {
 
    background: #E4D8FF;
/* navbox */
    /* Purple */
.navbox-title a {
color: black !important;;
text-decoration: underline;
}
}
table.cmbox-protection {
.nv-talk {
    background: #a2a9b1;
display: none !important;
    /* Gray-gold */
}
}
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
 
th.mbox-text, td.mbox-text {
/* font-sizes */
    /* The message body cell(s) */
.mw-editfont-monospace{
    border: none;
font-size: 15px;
    padding: 0.25em 0.9em;
    /* 0.9em left/right */
    width: 100%;
    /* Make all mboxes the same width regardless of text length */
}
}
td.mbox-image {
img {
    /* The left image cell */
max-width: 100%;
    border: none;
height: auto !important;
    padding: 2px 0.9em 2px 0px;
     clip: rect(auto, auto, auto, auto) !important;
     /* 0.9em right, 0px left */
    text-align: center;
}
}
td.mbox-imageright {
 
    /* The right image cell */
/*
    border: none;
* New image thumb design
    padding: 2px 0px 2px 0.9em;
*
    /* 0px left, 0.9em right */
* @dependencies none
    text-align: center;
* @source en.wikipedia.org/wiki/MediaWiki:Gadget-NewImageThumb.css
}
* @revision 2
/* Reduce line-height for <sup> and <sub> */
* @author: Edokter ([[User:Edokter]])
sup, sub {
*/
    line-height: 1em;
 
.tocnumber {
    color: #333;
}
}
/* Styling for Abuse Filter tags */
.toc, #toc,
.mw-tag-markers {
.catlinks,
    font-style: italic;
.mw-gallery-traditional li.gallerybox div.thumb,
    font-size: 90%;
div.thumbinner {
    border-width: 1px;
    border-style: solid;
    border-color: #E0E0E0 #B1B1B1 #B1B1B1 #E0E0E0;
    box-shadow: 0.25em 0.25em 0.5em rgba(0, 0, 0, 0.05);
}
}
/* Other pages message box styles */
div.thumbinner {
table.ombox {
     padding: 0;
    margin: 4px 10%;
    border-collapse: collapse;
    border: 1px solid #a2a9b1;
     /* Default "notice" gray */
    background: #f8f9fa;
}
}
table.ombox-notice {
div.thumbinner.mp-thumb {
    border: 1px solid #a2a9b1;
    box-shadow: none;
    /* Gray */
}
}
table.ombox-speedy {
html .thumbimage {
    border: 2px solid #b32424;
    border: none;
    /* Red */
    background: #fee7e6;
    /* Pink */
}
}
table.ombox-delete {
html .thumbcaption {
    border: 2px solid #b32424;
    line-height: 1.5;
     /* Red */
     padding: 0.5em;
}
}
table.ombox-content {
img.thumbborder {
    border: 1px solid #f28500;
    border-width: 1px;
     /* Orange */
    border-style: solid;
     border-color: #E0E0E0 #B1B1B1 #B1B1B1 #E0E0E0;
}
}
table.ombox-style {
.tmulti .tsingle {
    border: 1px solid #fc3;
    margin: 0 !important;
    /* Yellow */
}
}
table.ombox-move {
 
    border: 1px solid #9932cc;
#searchInput {
    /* Purple */
padding: 0.2em 0.4em;
}
}
  table.ombox-protection {
/* پاپ آپ منابع */
    border: 2px solid #a2a9b1;
.mwe-popups.mwe-popups-type-reference .mwe-popups-title {
    /* Gray-gold */
    margin-top: 5px;
}
}
/* Workaround für Internet Explorer 6 */
.mwe-popups .mwe-popups-title {
div.NavFrame, div.NavPic, .NavToggle {
    margin: 0 5px;
    position: relative;
}
}
/* Für <nowiki><hiero>…</hiero></nowiki> */
.mwe-popups.mwe-popups-type-reference .mwe-popups-extract .mwe-popups-fade {
.mw-hierotable, .hierotable-mw, .mw-hierotable th, .hierotable mw-th, .mw-hierotable td, .hierotable mw-td {
position: inherit;
    border: 0px;
    padding: 0px;
}
}
/* With MediaWiki 1.5, the mechanism has changed: instead of a SPAN of class "urlexpansion" following the anchor A, the anchor itself now has class "external autonumber" and the expansion is inserted when printing (see the common printing style sheet at //en.wikipedia.org/w/skins/common/commonPrint.css) using the ":after" pseudo- element of CSS. We have to switch this off for links due to Template:Ref! */
.mwe-popups .mwe-popups-extract {
.plainlinksneverexpand a.external.text:after {
    margin: 5px;
    display: none !important;
    position: unset;
}
}
.plainlinksneverexpand a.external.autonumber:after {
 
    display: none !important;
/* book reader */
.fileInfo .mediawiki-filewarning {
display: none;
}
}
table.tmbox-protection, table.tmbox-notice {
.fileInfo .oo-ui-buttonElement-frameless.oo-ui-labelElement.oo-ui-iconElement > .oo-ui-buttonElement-button {
    border: 1px solid #c0c090;
padding-right: unset;
    /* Gray-brown */
}
}
/* for Main Page */
.fileInfo .oo-ui-image-warning {
.globegris {
display: none;
    background: url(//upload.wikimedia.org/wikipedia/commons/1/10/Wikipedia-logo-v2-200px-transparent.png);
}
}
/* End */
.fullMedia .internal::before {
.prefsection fieldset {
    content: "دانلود "
    float: right;
}
}
/* To Display poems justified in IE and CSS3 (http://www.w3.org/TR/css3-text/) */
.fullMedia .internal {
.b {
color: #fff;
    /* verse container */
background-color: #36c;
    text-align: justify;
border-color: #36c;
    text-align-last: justify;
line-height: 1.28571429em;
    /* for IE and CSS3 */
padding-top: 6px;
    -moz-text-align-last: justify;
padding-bottom: 6px;
    /* for Firefox 12 */
transition: background-color 100ms,color 100ms,border-color 100ms,box-shadow 100ms;
    -webkit-text-align-last: justify;
padding-right: 12px;
    /* webkit based browsers */
padding-left: 12px;
    text-justify: kashida;
min-height: 2.28571429em;
    border: 0;
}
}
.beyt {
.fileInfo .mime-type.has-warning {
    white-space: nowrap;
color: black;
}
}
.nastaliq {
.oo-ui-tagMultiselectWidget-handle {
    line-height: 200%;
margin-right: 0;
    font-size: 150%;
    font-family: IranNastaliq, 'Urdu Emad Nastaleeq', 'Noto Nastaliq Urdu', 'Urdu Typesetting', 'Jameel Noori Nastaleeq', 'Nafees Nastaleeq', 'Nafees Nastaleeq v1.01', Nafees, 'Pak Nastaleeq', 'PDMS_Jauhar', sans-serif;
    text-justify: inter-word;
    font-weight: normal;
}
}
.nastaliq .b {
/* plain navboxes */
    text-justify: inter-word;
.mw-parser-output .PlainNavboxes .navbox,
.mw-parser-output .PlainNavboxes .navbox th,
.mw-parser-output .PlainNavboxes .navbox tr,
.mw-parser-output .PlainNavboxes .navbox td,
.mw-parser-output .PlainNavboxes .navbox-title,
.mw-parser-output .PlainNavboxes .navbox-subgroup,
.mw-parser-output .PlainNavboxes .navbox tr+tr>.navbox-abovebelow,
.mw-parser-output .PlainNavboxes .navbox tr+tr>.navbox-group,
.mw-parser-output .PlainNavboxes .navbox tr+tr>.navbox-image,
.mw-parser-output .PlainNavboxes .navbox tr+tr>.navbox-list,
.mw-parser-output .PlainNavboxes .navbox-even,
.mw-parser-output .PlainNavboxes .navbox-odd,
.mw-parser-output .PlainNavboxes .navbox span,
.mw-parser-output .PlainNavboxes .navbox abbr {
background-color:transparent!important;
color:inherit!important;
border-color:transparent!important;
box-shadow:none!important;
}
}
/* Small font-size for hidden categories */
.mw-parser-output .PlainNavboxes .navbox .navbox-title {
#mw-hidden-catlinks {
display: none;
    font-size: 87% !important;
}
}
.listify {
/* stylelint-disable selector-class-pattern */
    margin-left: 0;
/* Galleries */
    margin-right: 2em;
/* Don't forget to update gallery.print.css */
ul.gallery {
  margin: 2px;
  padding: 2px;
  display: block;
}
}
#wpFilterRules {
li.gallerycaption {
    direction: ltr;
  font-weight: bold;
  text-align: center;
  display: block;
  word-wrap: break-word;
}
}
/* این نیز باگ است که وقتی عنوان یک بخش انگلیسی است، فارسی درون خلاصهٔ ویرایش در تاریخچه به هم می‌ریزد */
li.gallerybox {
.comment > span {
  vertical-align: top;
    unicode-bidi: normal;
  display: inline-block;
}
}
/* زیاد کردن اندازهٔ توضیحات صفحهٔ بارگذاری */
li.gallerybox div.thumb {
#wpUploadDescription {
  text-align: center;
    height: 25em;
  margin: 2px;
}
}
/*ابزار پررنگ کنندهٔ نظرهای کاربر*/
li.gallerybox div.thumb img {
.mycomment {
  display: block;
    background: #ff9;
  margin: 0 auto;
}
}
/* Pie chart test: Transparent borders */
div.gallerytext {
.transborder {
  overflow: hidden;
    border: solid transparent;
  font-size: 94%;
  padding: 2px 4px;
  word-wrap: break-word;
}
}
/* Hide edittools base for those not using the gadget */
.galleryfilename {
#mw-edittools-charinsert {
  display: block;
    display: none;
}
}
/* Category tree styling. Works in conjuction with [[MediaWiki:Categorytree-expand-bullet]], [[MediaWiki:Categorytree-collapse-bullet]] and [[MediaWiki:Categorytree-empty-bullet]]. */
.galleryfilename-truncate {
#mw-subcategories ul {
  white-space: nowrap;
    list-style: none none;
  overflow: hidden;
    margin-left: 0.25em;
  text-overflow: ellipsis;
}
}
.CategoryTreeChildren {
/* new gallery stuff */
    margin-left: 1.25em;
ul.mw-gallery-nolines li.gallerybox div.thumb {
  background-color: transparent;
  border: 0;
}
}
.CategoryTreeToggle {
ul.mw-gallery-nolines li.gallerybox div.gallerytext {
    color: #36c;
  text-align: center;
    /* دیگر فونت ها به خوبی شکل فلش را نمایش نمی دهند */
    font-family: sans-serif;
}
}
.CategoryTreeEmptyBullet {
/* height constrained gallery */
    color: #c8ccd1;
ul.mw-gallery-packed,
ul.mw-gallery-packed-overlay,
ul.mw-gallery-packed-hover {
  text-align: center;
}
}
/* sister project links in the left panel, see [[Template:Iwcommons]] for example */
ul.mw-gallery-packed li.gallerybox div.thumb,
ul.interProject {
ul.mw-gallery-packed-overlay li.gallerybox div.thumb,
    list-style: none;
ul.mw-gallery-packed-hover li.gallerybox div.thumb {
    padding-right: 0;
  background-color: transparent;
    margin-right: 0;
  border: 0;
}
}
li.interProject, #mw-panel div.portal div.body ul.interProject li.interProject {
ul.mw-gallery-packed li.gallerybox div.thumb img,
    background-repeat: no-repeat;
ul.mw-gallery-packed-overlay li.gallerybox div.thumb img,
    background-position: right center;
ul.mw-gallery-packed-hover li.gallerybox div.thumb img {
    padding-right: 18px;
  margin: 0 auto;
    margin-right: 0;
}
}
/* توضیح به کاربران دربارهٔ صفحهٔ تمرین */
ul.mw-gallery-packed-hover li.gallerybox,
body[class*="_صفحه_تمرین"] #firstHeading::after {
ul.mw-gallery-packed-overlay li.gallerybox {
    color: #72777d;
  position: relative;
    content: "توجه:این صفحه بخشی از دانشنامه نیست و صرفاً جهت ویرایش آزمایشی در ویکی‌پدیا کاربرد دارد.";
    float: left;
    width: 40%;
    font-size: 40%;
}
}
/*اصلاح اندازه فونت در تغییرات اخیر برای [ویرایش‌های در حال انتظار] برگرفته از ویکی‌روسی*/
ul.mw-gallery-packed-hover div.gallerytextwrapper {
.mw-fr-reviewlink, .fr-hist-basic-user, .fr-hist-basic-auto {
  overflow: hidden;
    font-weight: normal;
  height: 0;
    font-size: smaller;
}
}
/*قالب جهت ارائه دروس در برنامه آموزشی*/
ul.mw-gallery-packed-hover li.gallerybox:hover div.gallerytextwrapper,
#bodyContent .letterhead {
ul.mw-gallery-packed-overlay li.gallerybox div.gallerytextwrapper,
    background-image: url('//upload.wikimedia.org/wikipedia/commons/e/e0/Tan-page-corner.png');
ul.mw-gallery-packed-hover li.gallerybox.mw-gallery-focused div.gallerytextwrapper {
    background-repeat: no-repeat;
  position: absolute;
    padding: 2em;
  background: #fff;
    background-color: #faf9f2;
  background: rgba(255, 255, 255, 0.8);
  padding: 5px 10px;
  bottom: 0;
  left: 0;
  /* Needed for IE */
  height: auto;
  max-height: 40%;
  overflow: hidden;
  font-weight: bold;
  margin: 2px;
  /* correspond to style on div.thumb */
}
}
/* On wide screens, show these as two columns On narrow and mobile screens, let them collapse into a single column */
ul.mw-gallery-packed-hover li.gallerybox:hover div.gallerytextwrapper p,
.portal-column-right {
ul.mw-gallery-packed-overlay li.gallerybox div.gallerytextwrapper p,
    float: right;
ul.mw-gallery-packed-hover li.gallerybox.mw-gallery-focused div.gallerytextwrapper p {
    width: 50%;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
}
.portal-column-left {
ul.mw-gallery-packed-hover li.gallerybox:hover div.gallerytextwrapper:hover,
    float: left;
ul.mw-gallery-packed-overlay li.gallerybox div.gallerytextwrapper:hover,
    width: 49%;
ul.mw-gallery-packed-hover li.gallerybox.mw-gallery-focused div.gallerytextwrapper:hover {
  overflow: visible;
  max-height: none;
}
}
.portal-column-right-wide {
ul.mw-gallery-packed-hover li.gallerybox:hover div.gallerytextwrapper:hover p,
    float: right;
ul.mw-gallery-packed-overlay li.gallerybox div.gallerytextwrapper:hover p,
    width: 60%;
ul.mw-gallery-packed-hover li.gallerybox.mw-gallery-focused div.gallerytextwrapper:hover p {
  text-overflow: clip;
  white-space: normal;
  overflow: visible;
}
}
.portal-column-left-narrow {
/* Slideshow */
    float: left;
ul.gallery.mw-gallery-slideshow {
    width: 39%;
  display: block;
  margin: 0;
  /* `li` item */
}
}
.portal-column-right-extra-wide {
ul.gallery.mw-gallery-slideshow .gallerycaption {
    float: right;
  font-size: 1.3em;
    width: 70%;
  margin: 0;
}
}
.portal-column-left-extra-narrow {
ul.gallery.mw-gallery-slideshow .gallerycarousel {
    float: left;
  display: block;
    width: 29%;
  text-align: center;
}
}
@media only screen and (max-width: 800px) {
ul.gallery.mw-gallery-slideshow .gallerycarousel.mw-gallery-slideshow-thumbnails-toggled {
    /* Decouple the columns on narrow screens */
  margin-bottom: 1.3em;
    .portal-column-right, .portal-column-left, .portal-column-right-wide, .portal-column-left-narrow, .portal-column-right-extra-wide, .portal-column-left-extra-narrow {
        float: inherit;
        width: inherit;
    }
}
}
/* temporary fix for T86979 */
ul.gallery.mw-gallery-slideshow .mw-gallery-slideshow-buttons {
.ui-dialog {
  opacity: 0.5;
    right: auto;
  padding: 1.3em 0;
  white-space: nowrap;
}
}
/* Make it possible to hide checkboxes in <inputbox> */
ul.gallery.mw-gallery-slideshow .mw-gallery-slideshow-buttons .oo-ui-buttonElement {
.inputbox-hidecheckboxes form .inputbox-element {
  margin: 0 2em;
    display: none !important;
}
}
/* A fix for the unavailable [horizontal] scrollbar issue in the MediaWiki namespace */
ul.gallery.mw-gallery-slideshow .mw-gallery-slideshow-buttons .oo-ui-buttonElement:first-child {
body.ns-8 {
  margin-left: 0;
    direction: ltr;
}
}
body.ns-8 > * {
ul.gallery.mw-gallery-slideshow .mw-gallery-slideshow-buttons .oo-ui-buttonElement:last-child {
    direction: rtl;
  margin-right: 0;
}
}
/* این برچسپ بهتر است فقط برای Gadget-taghighlighter.css را فعال کرده اند دیده شوند */
ul.gallery.mw-gallery-slideshow .gallerybox.slideshow-current {
.mw-tag-marker-نیازمند_بازبینی {
  background: #efefef;
    display: none;
}
}
/* ضخیم کردن قسمت اول جستجو بدون استفاده از قلم دیگر و شکاندن حروف چسپیده */
ul.gallery.mw-gallery-slideshow .gallerybox > div {
.highlight {
  max-width: 120px;
    text-shadow: 0 -1px;
    font-weight: inherit!important;
}
}
/* Reduce page jumps by hiding collapsed/dismissed content */
ul.gallery.mw-gallery-slideshow .gallerybox div.thumb {
.client-js .mw-special-Watchlist #watchlist-message {
  border: 0;
    display: none;
  background: transparent;
}
}
/* کمی پیوند ایجاد مقاله بزرگتر شود که پس از حذف بیشتر استفاده شود */
.mw-gallery-slideshow-img-container a {
.mw-warning-with-logexcerpt a[title="ویکی‌پدیا:ایجاد مقاله"] {
  display: block;
    font-size: 120%;
    font-weight: bold;
}
}
/* Make the textarea pink when an admin is editing a protected page */
@media screen {
.mw-textarea-protected {
  /* Background and border colors are defined separately for print mode */
    background-color: #fee7e6;
  li.gallerybox div.thumb {
    border: 1px solid #c8ccd1;
    background-color: #f8f9fa;
  }
}@media print {
/* stylelint-disable selector-class-pattern */
li.gallerybox {
  vertical-align: top;
  display: inline-block;
}
li.gallerybox div.thumb {
  background-color: #fff;
  border: 1px solid #ccc;
}
ul.gallery {
  margin: 2px;
  padding: 2px;
  display: block;
}
li.gallerycaption {
  font-weight: bold;
  text-align: center;
  display: block;
  word-wrap: break-word;
}
div.gallerytext {
  overflow: visible;
}
ul.mw-gallery-packed-hover div.gallerytextwrapper {
  overflow: visible;
  height: auto;
}
ul.mw-gallery-packed-hover li.gallerybox:hover div.gallerytextwrapper,
ul.mw-gallery-packed-overlay li.gallerybox div.gallerytextwrapper,
ul.mw-gallery-packed-hover li.gallerybox.mw-gallery-focused div.gallerytextwrapper {
  position: static;
  background: transparent;
  padding: 0;
  max-height: none;
  overflow: visible;
  font-weight: normal;
  margin: 0;
  /* correspond to style on div.thumb */
}
ul.mw-gallery-packed-hover li.gallerybox:hover div.gallerytextwrapper p,
ul.mw-gallery-packed-overlay li.gallerybox div.gallerytextwrapper p,
ul.mw-gallery-packed-hover li.gallerybox.mw-gallery-focused div.gallerytextwrapper p {
  text-overflow: clip;
  white-space: normal;
  overflow: visible;
}
}
}
/* Made diffs use Wikimedia UI color palette ([[phab:M82]]) */
.mw-gallery-slideshow-img-container {
td.diff-addedline {
max-width: 500px;
    border-color: #36c;
margin: 0 auto;
}
}
td.diff-deletedline {
/* mobile */
    border-color: #fc3;
@media screen and (max-width: 720px) {
#simpleSearch {
margin: 0 5px;
width: 40%;
padding: 0;
float: left;
}
#mw-head {
/* position: fixed !important; */
margin-top: 0;
}
#p-personal {
width: 55%;
top: 5px;
}
}
}
td.diff-addedline .diffchange {
/* maps */
    background: #e9eef9;
.leaflet-pane, .leaflet-tile, .leaflet-marker-icon, .leaflet-marker-shadow, .leaflet-tile-container, .leaflet-pane > svg, .leaflet-pane > canvas, .leaflet-zoom-box, .leaflet-image-layer, .leaflet-layer {
  left: 0;
  right: auto;
}
}
td.diff-deletedline .diffchange {
.leaflet-grab {
    background: #fff4d6;
  cursor: -webkit-pointer;
  cursor: -moz-pointer;
  cursor: pointer;
}
}
/* Tree style lists */
.leaflet-interactive {
.treeview ul {
  cursor: auto;
    padding: 0;
    margin: 0;
}
}
.treeview li {
/* editing */
    padding: 0;
.ve-ui-mwWikitextSurface .ve-ce-attachedRootNode{  
    margin: 0;
font-family:vazir;  
    list-style-type: none;
font-size: 16px
    list-style-image: none;
}
}
.treeview li li {
#ca-ve-edit {
    background-image: url("//upload.wikimedia.org/wikipedia/commons/3/3d/Treeview-grey-line-flipped.png");
display: block !important;
    background-repeat: no-repeat;
    background-position: right 0 top -2981px;
    /* @noflip */
    padding-right: 20px;
    text-indent: 0.3em;
}
}
.treeview li li.lastline {
/* language list */
    background-position: right 0 top -5971px
#interwiki-completelist {
display: none;
}
}
.treeview li.emptyline > ul {
* {
     /* @noflip */
     box-sizing: border-box;
    margin-right: -1px;
}
}
.treeview li.emptyline > ul > li:first-child {
/* vector 2022 */
    background-position: right 0 top 9px
.mw-content-container, .mw-article-toolbar-container {
  max -width: none;
}
}
/* beautyQuote pattern */
.mw-sidebar-action {
.beautyQuote {
display: none;
    padding: 3px 38px 3px 38px;
    background: url(https://upload.wikimedia.org/wikipedia/commons/1/12/Quote_background_transparent_180deg%28dark%29.png) left/30px, url(https://upload.wikimedia.org/wikipedia/commons/a/ac/Quote_background_transparent_%28dark%29.png) right/30px;
    background-color: #eaecf0;
    background-repeat: no-repeat;
    background-position: bottom 5px left 5px, top 5px right 5px;
    border-radius: 15px;
    display: inline-table;
}
}
/* End of beautyQuote pattern */
#p-lang-btn.mw-portlet-empty {
/* not showing the unnecessary parts of feedback form */
display: block;
.articleFeedbackv5-confirmation-panel {
    display: none
}
/* طراحی صفحه اول */
.mainpage-top {
    background-image: url('https://wikihaj.com/images/2/23/Pilgrims-flock-to-Mecca-each-year-for-Hajj-cropped.jpg');
    background-repeat: no-repeat;
    background-size: 100%;
    background-position-y: center
}
}
/* سفید کردن لینک های بالای صفحه اول */
#p-lang-btn {
.mainpage-top a {
float: left;
    color: white !important
}
}
/* حذف دکمه اضافه از جستجوی صفحه اول */
#searchInput {
[name=go] {
    padding: 0.2em 2.4em;
    display: none
}
}
/* راست چین کردن جستجوی صفحه اول */
.vector-main-menu-action-lang-alert {
#mainpage-search {
display: none;
    text-align: right
}
}
/* عدم نمایش فرم فیدبک در صفحه اصلی .page-صفحهٔ_اصلی .articleFeedbackv5 {
.vector-main-menu-action-opt-out {
    display: none  
display: none;
}
}
*/
/* comment section */
/* مخفی کردن از بازدید کننده ها */
.cs-comments, .cs-title-edit-field, .cs-body-edit-field {
.showtologgedin {
  font-family: vazir !important;
    display: none
}
}
/* بهبود فرم فیدبک */
.cs-header .oo-ui-buttonElement-button[tabindex="0"] {
.articleFeedbackv5-tooltip-trigger {
position: fixed;
    display:none
top: 4em;
left: 1em;
}
}
.articleFeedbackv5-title {
.cs-header .oo-ui-buttonElement-button[title="لغو"], .cs-header .oo-ui-buttonElement-button[title="ثبت"] {
    margin-top:0 !important
position: relative;
top: unset;
left: unset;
}
}
.feedback-text {
/* gallery */
    height:110px !important;
.gallery .thumb div {
    margin-bottom: 12px;
margin: auto !important;
}
}
.articleFeedbackv5-disclosure {
/* new design */
     display:none
.mw-sidebar {
     background-color: #fffcf2;
}
}
.articleFeedbackv5-submit {
/* tabber */
    float:left !important;
.tabber__tabs {
margin: 0 auto;
}
}