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

از مشروطه
پرش به ناوبری پرش به جستجو
خط ۱٬۶۵۱: خط ۱٬۶۵۱:
  
 
// Warning for PDF on file description page
 
// Warning for PDF on file description page
.oo-ui-buttonElement-button {display:none;}
+
.has-warning {display:none;}

نسخهٔ ‏۲۲ سپتامبر ۲۰۱۵، ساعت ۱۱:۳۴

/* Default styling for HTML elements */

/* Persian Wikipedia UI fonts configurations, see also MediaWiki:Print.css
   These are writtern over the time on Monobook.css and Vector.css and shouldn't
   be changed radically without users consensus */
body {
  /* generally a sans-serif font should be here */
  font-family: Tahoma, 'Iranian Sans', 'DejaVu Sans', 'Noto Sans', 'Droid Arabic Kufi', sans-serif;
}

div#content h1, div#content h2, div#content #firstHeading,
div#content .mw-editsection {
  /* generally a serif font should be here but Arial is not acceptable for Persian */
  font-family: Tahoma, 'Iranian Serif', 'Noto Serif', 'Droid Arabic Naskh', 'Iranian Sans', 'DejaVu Sans', serif;
}

/* force these to use inherited font configuration */
.ui-widget, button, input, select {
  font-family: inherit;
}
/* end */

dfn {
    font-style: inherit;  /* Reset default styling for <dfn> */
}
sup, sub {
    line-height: 1em;     /* Reduce line-height for <sup> and <sub> */
}

/* Main page fixes */
#interwiki-completelist {
    font-weight: bold;
}
#p-ffeed-sidebar-section-label {
    background-position: right center;
    background-repeat: no-repeat;
    background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/4/43/Feed-icon.svg/16px-Feed-icon.svg.png");
    background-image: url("//upload.wikimedia.org/wikipedia/commons/4/43/Feed-icon.svg");
    background-size: 16px 16px;
    padding-right: 20px!important;
}
body.page-ویکی‌پدیا_صفحه_تمرین #ca-edit,
body.page-ویکی‌پدیا_آشنایی #ca-edit {
    border: 1px dotted #429EDB;
}
body.page-ویکی‌پدیا_صفحه_تمرین #ca-edit:hover,
body.page-ویکی‌پدیا_آشنایی #ca-edit:hover {
     background: none repeat scroll 0 0 white;
     border-color: transparent;
}
body.page-صفحهٔ_اصلی #mp-topbanner {
   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;
}
/* Make the list of references in [[Template:Reflist]] smaller */
.references-small { 
    font-size: 90%;
}
/* background for sitenotice of 10th fawp */
.logoten {
    background: url("//upload.wikimedia.org/wikipedia/commons/3/3a/Fundraising_2010_banner_gift_plain_RTL.png") no-repeat right top;
}

/* Highlight clicked reference in blue to help navigation */
ol.references > li:target,
sup.reference:target,
span.citation:target, cite:target { 
    background-color: #DEF;
}

/* Ensure refs in table headers and the like aren't bold or italic */
sup.reference {
    font-weight: normal;
    font-style: normal;
}

/* Styling for citations */
span.citation, cite {
    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 */
cite:target { 
    background-color: #DEF;
}

/* 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 {
        display: none;
    }
}

/* Style for horizontal lists (separator following item) */

.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]]
 */
.hlist dl,
.hlist ol,
.hlist ul {
    margin: 0;
    padding: 0;
}
/* Display list items inline */
.hlist dd,
.hlist dt,
.hlist li {
    margin: 0;
    display: inline;
}
/* Display nested lists inline */
.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 */
.hlist dt:after {
    content: ": ";
}
.hlist dd:after,
.hlist li:after {
    content: " •";
    /*font-weight: bold;*/
}
.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
    content: none;
}
/* For IE8 */
.hlist dd.hlist-last-child:after,
.hlist dt.hlist-last-child:after,
.hlist li.hlist-last-child:after {
    content: none;
}
/* 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 {
    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 {
    content: ") ";
    font-weight: normal;
}
/* 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 {
    content: ") ";
    font-weight: normal;
}
/* Put ordinals in front of ordered list items */
.hlist ol {
    counter-reset: listitem;
}
.hlist ol > li {
    counter-increment: listitem;
}
.hlist ol > li:before {
    content: " " counter(listitem) " ";
    content: " " counter(listitem, -moz-persian) " ";
    content: " " counter(listitem, persian) " ";
    white-space: nowrap;
}
.hlist dd ol > li:first-child:before,
.hlist dt ol > li:first-child:before,
.hlist li ol > li:first-child:before {
    content: " (" counter(listitem) " ";
}

/* فهرست بدون گلوله */
.plainlist ul {
    line-height: inherit;
    list-style: none none;
    margin: 0;
}
.plainlist ul li {
    margin-bottom: 0;
}

/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable {
    margin: 1em 0 1em 1em; /* modified for rtl direction */
    background: #f9f9f9;
    border: 1px #aaa solid;
    border-collapse: collapse;
}

table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
    border: 1px #aaa solid;
    padding: 0.2em;
}

table.wikitable th,
table.prettytable th {
    background: #f2f2f2;
    text-align: center;
}

table.wikitable caption,
table.prettytable caption {
    margin-right: inherit;
    margin-left: inherit;
    font-weight: bold;
}

table.prettytable code,
table.wikitable code {
    background-color: transparent;
}


/* Default style for navigation boxes */
.navbox {                     /* Navbox container style */
    border: 1px solid #aaa;
    width: 100%;
    margin: auto;
    clear: both;
    font-size: 88%;
    text-align: center;
    padding: 1px;
}
.navbox-inner,
.navbox-subgroup {
    width: 100%;
}
.navbox-group,
.navbox-title,
.navbox-abovebelow {
    padding: 0.25em 1em;      /* Title, group and above/below styles */
    line-height: 1.5em;
    text-align: center;
}
th.navbox-group {             /* Group style */
    white-space: nowrap;
    /* @noflip */
    text-align: right;
}
.navbox,
.navbox-subgroup {
    background: #fdfdfd;      /* Background color */
}
.navbox-list {
    line-height: 1.8em;
    border-color: #fdfdfd;    /* Must match background color */
}
.navbox th,
.navbox-title {
    background: #ccccff;      /* Level 1 color */
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
    background: #ddddff;      /* Level 2 color */
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
    background: #e6e6ff;      /* Level 3 color */
}
.navbox-even {
    background: #f7f7f7;      /* Even row striping */
}
.navbox-odd {
    background: transparent;  /* Odd row striping */
}
table.navbox + table.navbox {  /* Single pixel border between adjacent navboxes */
    margin-top: -1px;          /* (doesn't work for IE6, but that's okay)       */
}
.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;       /* Adjust hlist padding in navboxes */
}
ol + table.navbox,
ul + table.navbox {
    margin-top: 0.5em;        /* Prevent lists from clinging to navboxes */
}

/* Default styling for Navbar template */
.navbar {
    display: inline;
    font-size: 88%;
    font-weight: normal;
}
.navbar ul {
    display: inline;
    white-space: nowrap;
}
.navbar li {
    word-spacing: -0.125em;
}
.navbar.mini li { /* span is removed */
    font-size: xx-small;
}
.nv-talk > a {
    color: #002BB8;
}
/* Navbar styling when nested in infobox and navbox */
.infobox .navbar {
    font-size: 100%;
}
.navbox .navbar {
    display: block;
    font-size: 100%;
}
.navbox-title .navbar {
    /* @noflip */
    float: right;
    /* @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 {
    /* @noflip */
    float: left;
    font-weight: normal;
    /* @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 {
    width: 6em;
}

/* Infobox template style */
.infobox {
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    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 #aaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
    border: 0;
}
 
.infobox.sisterproject {
    width: 20em;
    font-size: 90%;
}
 
.infobox.standard-talk {
    border: 1px solid #c0c090;
    background-color: #f8eaba;
}
.infobox.standard-talk.bordered td,
.infobox.standard-talk.bordered th {
    border: 1px solid #c0c090;
}
 
/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
    border: 0;
    border-top: 1px solid #aaa;
    /* @noflip */
    border-left: 1px solid #aaa;
}
 
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
    border: 0;
    border-left: 1px solid #aaa;
}
 
/* Styles for geography infoboxes, eg countries,
   country subdivisions, cities, etc.            */
.infobox.geography {
    text-align: right;
    border-collapse: collapse;
    line-height: 1.2em; 
    font-size: 90%;
}
 
.infobox.geography  td,
.infobox.geography  th {
    border-top: 1px solid #aaa;
    padding: 0.4em 0.6em 0.4em 0.6em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
    border-top: 1px solid #aaa;
    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 .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
    border-top: 0;
    border-bottom: 1px solid #aaa;
    padding: 0 0.6em 0.4em 0.6em;
}
 
.infobox.geography .maptable td,
.infobox.geography .maptable th {
    border: 0;
    padding: 0;
}

/* Style for "notices" */
.notice {
    margin: 1em;
    padding: 0.2em;
}

#disambig {
    border-top: 1px solid #ccc; 
    border-bottom: 1px solid #ccc;
}

.spoiler {
    border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
}

/* Standard talk template style */

.Talk-Notice  {
    border: 1px solid #C0C090;
    background-color: #F8EABA;
    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]].";
}

.notice-text, .toggle-box, .red-button, .goal {
  font-family: Tahoma, 'DejaVu Sans', sans-serif;
}

DIV.red-button { 
  font-family: Tahoma, 'DejaVu Sans', sans-serif;
}

DIV.siteNoticeSmall {
  font-family: Tahoma, 'DejaVu Sans', sans-serif;
  font-size: 15pt;
}

DIV#siteNotice {
  font-family: Tahoma, 'DejaVu Sans', sans-serif;
}

/* Make template background appear correctly on all browsers */
.Talk-Notice td {
    background: inherit;
}

/* Persondata and other (future) metadata */
table.InChI, /* temporary */
table.persondata {
    border: 1px solid #aaa;
    display: none;
    speak: none;
}
.InChI-label, /* temporary */
.persondata-label {
    color: #aaa;
}

/* Makes redirects appear in italics in categories and on [[Special:Allpages]] */
.redirect-in-category, .allpagesredirect {
    font-style: italic;
}

/* Icons for medialist templates [[Template:Listen]], [[Template:Multi-listen_start]], [[Template:Video]], [[Template:Multi-video_start]] */

div.listenlist {
    background: url("//upload.wikimedia.org/wikipedia/commons/3/3f/Gnome_speakernotes_30px.png");
    /* @noflip */
    padding-right: 40px;
}

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");
    padding-right: 50px;
}

/* Style rules for media list templates */
div.medialist {
    min-height: 50px;
    margin: 1em;
    /* @noflip */
    background-position: top right;
    background-repeat: no-repeat;
}

div.medialist ul {
    list-style-type: none; 
    list-style-image: none;
    margin: 0;
}

div.medialist ul li {
    padding-bottom: 0.5em;
}

div.medialist ul li li {
    font-size: 91%;
    padding-bottom: 0;
}

/* 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 {
    background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") no-repeat left;
    /* @noflip */
    padding-left: 18px;
}

/* 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. */
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;
}

span.geolink a {
    background: url(//upload.wikimedia.org/wikipedia/en/a/a7/Monobook-globe.png) center left no-repeat !important;
    padding-left: 11px !important;
}

/* Content in columns with CSS instead of tables [[Template:Columns]] */
div.columns-2 div.column {
    /* @noflip */
    float: right;
    width: 50%;
    min-width: 300px;
}

div.columns-3 div.column {
    /* @noflip */
    float: right;
    width: 33.3%;
    min-width: 200px;
}

div.columns-4 div.column {
    /* @noflip */
    float: right;
    width: 25%;
    min-width: 150px;
}

div.columns-5 div.column {
    /* @noflip */
    float: right;
    width: 20%;
    min-width: 120px;
}

/*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;
}

.plainlinksneverexpand .urlexpansion {
    display: none ! important;
}

/* Make sure that ext links displayed within "plainlinksneverexpand" don't get
   the arrow...
*/
.plainlinksneverexpand a {
    background: none !important;
    padding: 0 !important;
}

/* Messagebox templates */
.messagebox {
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    width: 80%;
    margin: 0 auto 1em auto;
    padding: .2em;
}
.messagebox.merge {
    border: 1px solid #c0b8cc;
    background-color: #f0e5ff;
    text-align: center;
}
.messagebox.cleanup {
    border: 1px solid #9f9fff;
    background-color: #efefff;
    text-align: center;
}
.messagebox.standard-talk {
    border: 1px solid #c0c090;
    background-color: #f8eaba;
}
.messagebox.nested-talk {
    border: 1px solid #c0c090;
    background-color: #f8eaba;
    width: 100%;
    margin: 2px 4px 2px 4px;
}
.messagebox.small {
    width: 238px;
    font-size: 85%;
    /* @noflip */
    float: left;
    clear: both;
    /* @noflip */
    margin: 0 0 1em 1em;
    line-height: 1.25em; 
}
.messagebox.small-talk {
    width: 238px;
    font-size: 85%;
    /* @noflip */
    float: left;
    clear: both;
    /* @noflip */
    margin: 0 0 1em 1em;
    line-height: 1.25em; 
    background: #F8EABA;
}

/* Article message box styles */
table.ambox {
    margin: 0px 10%;                  /* 10% = Will not overlap with other elements */
    border: 1px solid #aaa; 
    border-right: 10px solid #1e90ff;  /* Default "notice" blue */
    background: #fbfbfb; 
}
table.ambox + table.ambox {      /* Single border between stacked boxes. */
    margin-top: -1px;
}
.ambox th.mbox-text, 
.ambox td.mbox-text {            /* The message body cell(s) */
    padding: 0.25em 0.5em;       /* 0.5em left/right */
}
.ambox td.mbox-image {           /* The left image cell */
    padding: 2px 0.5em 2px 0;    /* 0.5em right, 0px left */
}
.ambox td.mbox-imageright {      /* The right image cell */
    padding: 2px 0 2px 0.5em;    /* 0px right, 0.5em left */
}
 
table.ambox-notice {
    border-right: 10px solid #1e90ff;    /* Blue */
}
table.ambox-speedy {
    border-right: 10px solid #b22222;    /* Red */
    background: #fee;                   /* Pink */
}
table.ambox-delete {
    border-right: 10px solid #b22222;    /* Red */
}
table.ambox-content {
    border-right: 10px solid #f28500;    /* Orange */
}
table.ambox-style {
    border-right: 10px solid #f4c430;    /* Yellow */
}
table.ambox-move {
    border-right: 10px solid #9932cc;    /* Purple */
}
table.ambox-protection {
    border-right: 10px solid #bba;       /* Gray-gold */
}
 
/* Image message box styles */
table.imbox {
    margin: 4px 10%; 
    border-collapse: collapse; 
    border: 3px solid #1e90ff;    /* Default "notice" blue */
    background: #fbfbfb;
}
.imbox .mbox-text .imbox {  /* For imboxes inside imbox-text cells. */
    margin: 0 -0.5em;       /* 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.  */
    margin: 4px;
}
 
table.imbox-notice {
    border: 3px solid #1e90ff;    /* Blue */
}
table.imbox-speedy {
    border: 3px solid #b22222;    /* Red */
    background: #fee;             /* Pink */
}
table.imbox-delete {
    border: 3px solid #b22222;    /* Red */
}
table.imbox-content {
    border: 3px solid #f28500;    /* Orange */
}
table.imbox-style {
    border: 3px solid #f4c430;    /* Yellow */
}
table.imbox-move {
    border: 3px solid #9932cc;    /* Purple */
}
table.imbox-protection {
    border: 3px solid #bba;       /* Gray-gold */
}
table.imbox-license {
    border: 3px solid #88a;       /* Dark gray */
    background: #f7f8ff;          /* Light gray */
}
table.imbox-featured {
    border: 3px solid #ffaa66;    /* light Orange, for getting near to symbol of FPs */
}
 
/* Category message box styles */
table.cmbox {
    margin: 3px 10%;
    border-collapse: collapse;
    border: 1px solid #aaa; 
    background: #DFE8FF;    /* Default "notice" blue */
}
 
table.cmbox-notice {
    background: #D8E8FF;    /* Blue */
}
table.cmbox-speedy {
    margin-top: 4px;
    margin-bottom: 4px;
    border: 4px solid #b22222;    /* Red */
    background: #FFDBDB;          /* Pink */
}
table.cmbox-delete {
    background: #FFDBDB;    /* Red */
}
table.cmbox-content {
    background: #FFE7CE;    /* Orange */
}
table.cmbox-style {
    background: #FFF9DB;    /* Yellow */
}
table.cmbox-move {
    background: #E4D8FF;    /* Purple */
}
table.cmbox-protection {
    background: #EFEFE1;    /* Gray-gold */
}
 
/* Other pages message box styles */
table.ombox {
    margin: 4px 10%; 
    border-collapse: collapse; 
    border: 1px solid #aaa;       /* Default "notice" gray */
    background: #f9f9f9;
}
 
table.ombox-notice {
    border: 1px solid #aaa;       /* Gray */
}
table.ombox-speedy {
    border: 2px solid #b22222;    /* Red */
    background: #fee;             /* Pink */
}
table.ombox-delete {
    border: 2px solid #b22222;    /* Red */
}
table.ombox-content {
    border: 1px solid #f28500;    /* Orange */
}
table.ombox-style {
    border: 1px solid #f4c430;    /* Yellow */
}
table.ombox-move {
    border: 1px solid #9932cc;    /* Purple */
}
table.ombox-protection {
    border: 2px solid #bba;       /* Gray-gold */
}
 
/* Talk page message box styles */
table.tmbox {
    margin: 4px 10%;
    border-collapse: collapse;
    border: 1px solid #c0c090;    /* Default "notice" gray-brown */
    background: #f8eaba;
}
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */
    margin: 2px 0;               /* this declaration overrides other styles (including mbox-small above)   */
    width: 100%;                 /* For Safari and Opera */
}
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when  */
    line-height: 1.5em;          /* also "nested", so reset styles that are   */   
    font-size: 100%;             /* set in "mbox-small" above.                */
}
 
table.tmbox-speedy {
    border: 2px solid #b22222;    /* Red */
    background: #fee;             /* Pink */
}
table.tmbox-delete {
    border: 2px solid #b22222;    /* Red */
}
table.tmbox-content {
    border: 2px solid #f28500;    /* Orange */
}
table.tmbox-style {
    border: 2px solid #f4c430;    /* Yellow */
}
table.tmbox-move {
    border: 2px solid #9932cc;    /* Purple */
}
table.tmbox-protection,
table.tmbox-notice {
    border: 1px solid #c0c090;    /* Gray-brown */
}
 
/* Disambig and set index box styles */
table.dmbox {
    clear: both; 
    margin: 0.9em 1em; 
    border-top: 1px solid #ccc; 
    border-bottom: 1px solid #ccc; 
    background: transparent;
}
 
/* Footer and header message box styles */
table.fmbox {
    clear: both;
    margin: 0.2em 0;
    width: 100%;
    border: 1px solid #aaa;
    background: #f9f9f9;     /* Default "system" gray */
}
table.fmbox-system {
    background: #f9f9f9;
}
table.fmbox-warning {
    border: 1px solid #bb7070;  /* Dark pink */
    background: #ffdbdb;        /* Pink */
}
table.fmbox-editnotice {
    background: transparent;
}
/* Div based "warning" style fmbox messages. */
div.mw-warning-with-logexcerpt,
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
div#mw-protect-cascadeon {
    clear: both;
    margin: 0.2em 0;
    border: 1px solid #bb7070;
    background: #ffdbdb;
    padding: 0.25em 0.9em;
}
/* Div based "system" style fmbox messages. 
   Used in [[MediaWiki:Readonly lag]]. */
div.mw-lag-warn-normal,
div.fmbox-system {
    clear: both;
    margin: 0.2em 0;
    border: 1px solid #aaa;
    background: #f9f9f9;
    padding: 0.25em 0.9em;
}
 
/* 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 {   /* For the "small=yes" option. */
    clear: right;
    float: right;
    margin: 4px 0 4px 1em;
    width: 238px;
    font-size: 88%;
    line-height: 1.25em;
}
body.mediawiki table.mbox-small-left {   /* For the "small=left" option. */
    margin: 4px 1em 4px 0;
    width: 238px;
    border-collapse: collapse;
    font-size: 88%;
    line-height: 1.25em;
}

/* Put a checker background at the image description page only visible if the image has transparent background */
#file img {
    background: url("//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;
}

#wpSave {
    font-weight: bold;
}

/* class hiddenStructure is defunct. See [[Wikipedia:hiddenStructure]] */
.hiddenStructure {
    display: inline ! important;
    color: #f00; 
    background-color: #0f0;
}

/* 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 */
.check-icon a.new {
    display: none; 
    speak:none;
}

/* Removes underlines from links */
.nounderlines a { 
    text-decoration: none;
}

/* Remove underline from IPA links */
.IPA a:link, .IPA a:visited {
    text-decoration: none;
}

/* Removes useless links from printout */
@media print {
    #privacy, #about, #disclaimer {display:none;}
}

#EnWpMpBook { background-image: url(//upload.wikimedia.org/wikipedia/en/7/7e/MP-open-book.png); }
#EnWpMpSearch { background: url(//upload.wikimedia.org/wikipedia/en/a/ae/MP-magnifying-glass.png) no-repeat top left; }
#EnWpMpSearchInner { float: left; width: 20em; text-align: center; }
#EnWpMpBook2 { background-image: url(//upload.wikimedia.org/wikipedia/commons/8/8e/MP-open-book2.png); }

/* Standard Navigationsleisten, aka box hiding thingy from .de.  Documentation at [[Wikipedia:NavFrame]]. */

div.Boxmerge,
div.NavFrame {
    margin: 0px;
    padding: 4px;
    border: 1px solid #aaa;
    text-align: center;
    border-collapse: collapse;
    font-size: 95%;
}
div.Boxmerge div.NavFrame {
    border-style: none;
    border-style: hidden;
}
div.NavFrame + div.NavFrame {
    border-top-style: none;
    border-top-style: hidden;
}
div.NavPic {
    background-color: #fff;
    margin: 0px;
    padding: 2px;
    float: right;
}
div.NavFrame div.NavHead {
    height: 1.6em;
    font-weight: bold;
    background-color: #ccf;
    position:relative;
}
div.NavFrame div.NavHead:hover {
        background-color: #aaf;
}
div.NavFrame p {
    font-size: 100%;
}
div.NavFrame div.NavContent {
    font-size: 100%;
}
div.NavFrame div.NavContent p {
    font-size: 100%;
}
div.NavEnd {
    margin: 0px;
    padding: 0px;
    line-height: 1px;
    clear: both;
}
a.NavToggle {
    position:absolute;
    top:0px;
    left:3px;
    font-weight:normal;
    font-size:smaller;
}

span.updatedmarker {
    background-color: transparent;
    color: #006400;
}

/* Coloured watchlist numbers */
.mw-plusminus-pos {
    color: #006400; /* darkgreen */
}

/* .mw-plusminus-null currently at developer default */

.mw-plusminus-neg {
    color: #8B0000; /* darkred */
}

.dablink {
    font-style: italic;
    padding-right: 2em;
}

.dablink i {
    font-style: normal;
}

/* Style for horizontal UL lists */
.horizontal ul {
    padding: 0;
    margin: 0;
}

.horizontal li { 
    padding: 0 0.6em 0 0.4em;
    display: inline;
    border-left: 1px solid;
}

/* 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;
}

/* This is used for the Geo microformat, but no style is needed for now other than .geo-dec. */
.geo { }

/***** 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;
}
.nonumtoc #toc ul ul, 
.nonumtoc .toc ul ul { 
    margin: 0 0 0 2em; 
}

/* 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). */
.toclimit-2 .toclevel-2 {display:none;}
.toclimit-3 .toclevel-3 {display:none;}
.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;}

/* Styling for Template:Quote */
blockquote.templatequote { 
     margin-top: 0; 
}
blockquote.templatequote div.templatequotecite { 
    line-height: 1em;
    text-align: right;
    padding-right: 2em;
    margin-top: 0;
}
blockquote.templatequote div.templatequotecite cite {
    font-size: 85%;
}
 
div.user-block {
    padding: 5px;
    border: 1px solid #A9A9A9;
    background-color: #FFEFD5;
}
/* 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]"
*/
.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:bidi-override;
} 

/* For template documentation */
.template-documentation {
    clear: both;
    margin: 1em 0 0 0;
    border: 1px solid #aaa; 
    background-color: #ecfcf4; 
    padding: 5px;
}

.thumbinner {
    min-width: 100px;
}
/* Category message box styles */
table.cmbox {
    margin: 3px 10%;
    border-collapse: collapse;
    border: 1px solid #aaa; 
    background: #DFE8FF;    /* Default "notice" blue */
}
 
table.cmbox-notice {
    background: #D8E8FF;    /* Blue */
}
table.cmbox-speedy {
    margin-top: 4px;
    margin-bottom: 4px;
    border: 4px solid #b22222;    /* Red */
    background: #FFDBDB;          /* Pink */
}
table.cmbox-delete {
    background: #FFDBDB;    /* Red */
}
table.cmbox-content {
    background: #FFE7CE;    /* Orange */
}
table.cmbox-style {
    background: #FFF9DB;    /* Yellow */
}
table.cmbox-move {
    background: #E4D8FF;    /* Purple */
}
table.cmbox-protection {
    background: #EFEFE1;    /* Gray-gold */
}
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
th.mbox-text, td.mbox-text {     /* The message body cell(s) */
    border: none;
    padding: 0.25em 0.9em;       /* 0.9em left/right */
    width: 100%;    /* Make all mboxes the same width regardless of text length */
}
td.mbox-image {                  /* The left image cell */
    border: none; 
    padding: 2px 0.9em 2px 0px;    /* 0.9em right, 0px left */
    text-align: center; 
}
td.mbox-imageright {             /* The right image cell */
    border: none;
    padding: 2px 0px 2px 0.9em;    /* 0px left, 0.9em right */
    text-align: center; 
}
/* Reduce line-height for <sup> and <sub> */
sup, sub {
    line-height: 1em;
}
/* Styling for Abuse Filter tags */
.mw-tag-markers {
 font-style:italic;
 font-size:90%;
}
/* Other pages message box styles */
table.ombox {
    margin: 4px 10%; 
    border-collapse: collapse; 
    border: 1px solid #aaa;       /* Default "notice" gray */
    background: #f9f9f9;
}
 
table.ombox-notice {
    border: 1px solid #aaa;       /* Gray */
}
table.ombox-speedy {
    border: 2px solid #b22222;    /* Red */
    background: #fee;             /* Pink */
}
table.ombox-delete {
    border: 2px solid #b22222;    /* Red */
}
table.ombox-content {
    border: 1px solid #f28500;    /* Orange */
}
table.ombox-style {
    border: 1px solid #f4c430;    /* Yellow */
}
table.ombox-move {
    border: 1px solid #9932cc;    /* Purple */
}
table.ombox-protection {
    border: 2px solid #bba;       /* Gray-gold */
}
 
/* Workaround für Internet Explorer 6 */
div.NavFrame, div.NavPic, .NavToggle {
    position:relative;
}
  /* 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;
  }
/* 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 {   /* For the "small=yes" option. */
    clear: right;
    float: right;
    margin: 4px 1em 4px 0;
    width: 238px;
    font-size: 88%;
    line-height: 1.25em;
}
body.mediawiki table.mbox-small-left {   /* For the "small=left" option. */
    margin: 4px 0 4px 1em;
    width: 238px;
    border-collapse: collapse;
    font-size: 88%;
    line-height: 1.25em;
}
/* 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/skins-1.5/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;
}
.plainlinksneverexpand a.external.autonumber:after {
    display: none !important;
}
table.tmbox-protection,
table.tmbox-notice {
    border: 1px solid #c0c090;    /* Gray-brown */
}
/*FIN DES SCHÉMAS DE COULEUR DE "CADRE À ONGLETS"*/
 
/************************************************
 ***     Infobox V2 - En phase de test        ***
 *** Voir : [[Utilisateur:Antaya/Infobox V2]] ***
 ************************************************/
 
.infobox_v2 { /* monobookocentré debut */
 background: #f9f9f9;
 color: #000;
 font-size:90%;
 line-height:1.1em; 
 float:left;
 clear:left;
 margin:0 1em .5em 0; /* haut droite bas gauche */
 width:300px;
 border: 1px solid #aaa;
 padding: 0.1em;
}
 
.infobox_v2 th {
 vertical-align:top;
 text-align:right;
}
 
/* Option désactivée : empêche les liens internes d'apparaître en bleu
.infobox_v2 th a {
 color:black;  * désactive la couleur des liens à gauche *
}
*/ 
 
.infobox_v2 .entete {
 height:45px;
 vertical-align:middle;
 text-align:center;
 font-size:150%; 
 font-weight:bolder;
 line-height:1.2em;
 color:#000
}
 
.infobox_v2 .media { /* css V2 pour [[Modèle:Son]], [[Modèle:Vidéo]], etc. */
height:35px;
vertical-align:middle;
text-align:center;
font-weight:bolder;
color:#000
}

/* graphiques transparents d'entêtes des infobox V2 */
.entete.defaut       {}
 
.entete.aerostat         {background: url("//upload.wikimedia.org/wikipedia/commons/7/7e/Picto_infobox_aerostat.png")               no-repeat top right;}
.entete.auteur           {background: url("//upload.wikimedia.org/wikipedia/commons/1/1e/Picto_infobox_auteur.png")                 no-repeat top right;} 
.entete.bd               {background: url("//upload.wikimedia.org/wikipedia/commons/2/2c/Picto_infobox_comicballoon.png")           no-repeat top right;}
.entete.biere            {background: url("//upload.wikimedia.org/wikipedia/commons/0/04/Picto_infobox_beer.png")                   no-repeat top right;}
.entete.canada           {background: url("//upload.wikimedia.org/wikipedia/commons/6/6a/Picto_infobox_Canada.png")                 no-repeat top right;}
.entete.cardinal         {background: url("//upload.wikimedia.org/wikipedia/commons/0/03/Picto_infobox_cardinal.png")               no-repeat  top right;}
.entete.chateau          {background: url("//upload.wikimedia.org/wikipedia/commons/5/5c/Picto_infobox_chateau.png")                no-repeat top right;}
.entete.cinema           {background: url("//upload.wikimedia.org/wikipedia/commons/e/ea/Picto_infobox_cinema.png")                 no-repeat top right;}
.entete.communication    {background: url("//upload.wikimedia.org/wikipedia/commons/a/a2/Picto_infobox_antenna.png")                no-repeat top right;}
.entete.disney           {background: url("//upload.wikimedia.org/wikipedia/commons/d/d3/Picto_infobox_Disney.png")          no-repeat top right;}
.entete.egypte-antique   {background: url("//upload.wikimedia.org/wikipedia/commons/c/cc/Picto_infobox_ancient_Egypt.png")          no-repeat top right;}
.entete.eveque           {background: url("//upload.wikimedia.org/wikipedia/commons/b/b3/Picto_infobox_bishop.png")                 no-repeat  top right;}
.entete.football         {background: url("//upload.wikimedia.org/wikipedia/commons/f/f8/Infobox_Football_pictogram.png") no-repeat top right;}
.entete.grappe           {background: url("//upload.wikimedia.org/wikipedia/commons/6/66/Picto_info_grape.png")                   no-repeat top right;}   
.entete.helicoptere      {background: url("//upload.wikimedia.org/wikipedia/commons/f/fa/Picto_infobox_helicopter.png")             no-repeat top right;}
.entete.humain           {background: url("//upload.wikimedia.org/wikipedia/commons/8/82/Picto_infobox_manwoman.png")               no-repeat top right;}
.entete.informatique     {background: url("//upload.wikimedia.org/wikipedia/commons/a/ae/Picto-infoboxinfo.png")                                no-repeat top right;}
.entete.israel-judaisme  {background: url("//upload.wikimedia.org/wikipedia/commons/a/a5/Picto_infobox_israel-judaisme.png")        no-repeat top right;}
.entete.jeu              {background: url("//upload.wikimedia.org/wikipedia/commons/9/90/Picto_infobox_Game.png")                   no-repeat top right;}
.entete.jeu-role         {background: url("//upload.wikimedia.org/wikipedia/commons/d/d8/Picto_infobox_Jeu_de_rôle.png")            no-repeat top right;}
.entete.jeuvideo         {background: url("//upload.wikimedia.org/wikipedia/commons/2/2d/Picto_infobox_gamepad.png")                no-repeat bottom right;}
.entete.macintosh        {background: url("//upload.wikimedia.org/wikipedia/commons/2/20/Picto_infobox_Macintosh.png")              no-repeat top right;}
.entete.map              {background: url("//upload.wikimedia.org/wikipedia/commons/7/7a/Picto_infobox_map.png")                    no-repeat top right;}
.entete.medecine              {background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Picto_infobox_med.png")                    no-repeat top right;}
.entete.mets {background: url("//upload.wikimedia.org/wikipedia/commons/a/aa/Picto_infobox_mets.png") no-repeat top right;}
.entete.montreal-metro   {background: url("//upload.wikimedia.org/wikipedia/fr/b/ba/Picto_infobox_Mtl_metro.png")                   no-repeat top right;}
.entete.montreal-train   {background: url("//upload.wikimedia.org/wikipedia/fr/9/99/Picto_infobox_Mtl_train.png")                   no-repeat top right;}
.entete.moteur-avion     {background: url("//upload.wikimedia.org/wikipedia/commons/9/9c/Picto_Infobox_moteur_d%27avion.png")       no-repeat top right;}
.entete.musique          {background: url("//upload.wikimedia.org/wikipedia/commons/6/60/Picto_infobox_music.png")                  no-repeat top right;}
.entete.papyrus          {background: url("//upload.wikimedia.org/wikipedia/commons/1/1b/Picto_infobox_papyrus.png")                no-repeat top right;}
.entete.paralympique     {background: url("//upload.wikimedia.org/wikipedia/commons/5/5e/Picto_infobox_Paralympics.png")            no-repeat top right;}
.entete.persofiction     {background: url("//upload.wikimedia.org/wikipedia/commons/3/37/Picto_infobox_masks.png")                  no-repeat top right;}
.entete.personne        {background: url("//upload.wikimedia.org/wikipedia/commons/4/48/Picto_infobox_character.png")              no-repeat top right;}
.entete.planeur          {background: url("//upload.wikimedia.org/wikipedia/commons/5/54/Picto_infobox_planeur.png")                no-repeat top right;}
.entete.presse           {background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Picto_infobox_journal.png")                no-repeat top right;}
.entete.projet           {background: url("//upload.wikimedia.org/wikipedia/commons/c/cb/Picto_infobox_tools.png")                  no-repeat top right;}
.entete.quebec           {background: url("//upload.wikimedia.org/wikipedia/commons/2/21/Picto_infobox_Quebec.png")                 no-repeat top right;}
.entete.recherche        {background: url("//upload.wikimedia.org/wikipedia/commons/c/c1/Picto_infobox_detective.png")              no-repeat top right;}
.entete.rome-antique     {background: url("//upload.wikimedia.org/wikipedia/commons/2/2e/Picto_infobox_Roman_millitary_banner.png") no-repeat top right;}
.entete.science-fiction  {background: url("//upload.wikimedia.org/wikipedia/commons/e/ed/Picto_infobox_fliyingsaucer.png")          no-repeat top right;}
.entete.sport            {background: url("//upload.wikimedia.org/wikipedia/commons/8/8e/Picto_infobox_Olympic.png")                no-repeat top right;}
.entete.sport-automobile {background: url("//upload.wikimedia.org/wikipedia/commons/a/af/Picto_infobox_sport_auto.png")             no-repeat top right;}
.entete.television       {background: url("//upload.wikimedia.org/wikipedia/commons/a/a6/Picto_infobox_TV-T%26PC.png")                                     no-repeat top right;}
.entete.timbre           {background: url("//upload.wikimedia.org/wikipedia/commons/b/b3/Picto_infobox_Stamps.png")                 no-repeat top right;}
.entete.train            {background: url("//upload.wikimedia.org/wikipedia/commons/4/44/Picto_infobox_train.png")                  no-repeat top right;}
.entete.union-europeenne {background: url("//upload.wikimedia.org/wikipedia/commons/c/c0/Picto_Infobox_Europe.png")                 no-repeat top right;}
.entete.universite       {background: url("//upload.wikimedia.org/wikipedia/commons/4/42/Picto_infobox_book.png")                   no-repeat top right;}
 
.media.audio            {background: url("//upload.wikimedia.org/wikipedia/commons/thumb/a/a6/Gnome-speakernotes.png/35px-Gnome-speakernotes.png") no-repeat top left;} 
.media.video            {background: url("//upload.wikimedia.org/wikipedia/commons/thumb/2/20/Tango-video-x-generic.png/35px-Tango-video-x-generic.png") no-repeat top left;}
 
/* Fin de la phase de test Infobox V2 */ /* monobookocentré fin V2 */

/* Makes the background of a framed image white instead of gray. */
/* Only visible with transparent images. */
div.thumb img.thumbimage {
    background-color: #fff;
}

/* for Main Page */
.globegris {
  background: url(//upload.wikimedia.org/wikipedia/commons/1/10/Wikipedia-logo-v2-200px-transparent.png);
}
/* End */

.errorbox, .successbox, .prefsection fieldset {
        float: right;
}

/* To Display poems justified in IE and CSS3 (http://www.w3.org/TR/css3-text/) */
.b { /* verse container */
  text-align: justify;
  text-align-last: justify; /* for IE and CSS3 */
  -moz-text-align-last: justify; /* for Firefox 12 */
  -webkit-text-align-last: justify; /* webkit based browsers */
  border: 0;
}
 
.beyt {
  white-space: nowrap; 
}

.nastaliq {
  line-height: 200%;
  font-size: 150%;
  font-family: IranNastaliq, 'Emad Nastaleeq', 'Urdu Typesetting', 'Jameel Noori Nastaleeq', 'Nafees Nastaleeq', 'Nafees Nastaleeq v1.01', Nafees, 'Pak Nastaleeq', 'PDMS_Jauhar', inherit;
  text-justify: inter-word;
  font-weight: normal;
}

/* Small font-size for hidden categories */
#mw-hidden-catlinks { font-size: 87% !important; }

/* better font for hotcat arrows, same other wikis */
#mw-normal-catlinks > span > span {
  font-family: Arial, Helvetica, sans-serif;
}
.listify{
  margin-left:0;
  margin-right:2em;
}
#wpFilterRules {
  direction: ltr;
}

/* این نیز باگ است که وقتی عنوان یک بخش انگلیسی است، فارسی درون خلاصهٔ ویرایش در تاریخچه به هم می‌ریزد */
.comment > span { unicode-bidi: normal; }

/* زیاد کردن اندازهٔ توضیحات صفحهٔ بارگذاری */
#wpUploadDescription {
  height: 25em;
}

/*ابزار پررنگ کنندهٔ نظرهای کاربر*/
.mycomment { background: #ff9; }

/* Pie chart test: Transparent borders */
.transborder {
    border: solid transparent;
}
* html .transborder {  /* IE6 */
    border: solid #000001;
    filter: chroma(color=#000001);
}

/* See MediaWiki:Common.js#Hide some upload options */
.trustedUploader, #mw-imagepage-reupload-link { display: none; }

/* Hide edittools base for those not using the gadget */
#specialchars {
    display: none;
}

/* 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;
}
.CategoryTreeChildren {
    margin-left: 1.25em;
}
.CategoryTreeToggle {
    color: #0645AD;
}
.CategoryTreeEmptyBullet {
    color: #C0C0C0;
}

/* Fix so <syntaxhighlight> tags and .css and .js pages get normal text size. [[Bugzilla:26204]]. */
div.mw-geshi div,
div.mw-geshi div pre,
span.mw-geshi,
pre.source-css,
pre.source-javascript,
pre.source-lua {
    font-family: monospace, Courier !important;
}

/* sister project links in the left panel, see [[Template:Iwcommons]] for example */
ul.interProject { 
  list-style: none;
  padding-right: 0; 
  margin-right: 0;
}

li.interProject, #mw-panel div.portal div.body ul.interProject li.interProject { 
  background-repeat: no-repeat;
  background-position: right center;
  padding-right: 18px; 
  margin-right: 0;
}

li.commons {
  background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/4/4a/Commons-logo.svg/14px-Commons-logo.svg.png");
}

li.wiktionary {
  background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/f/f9/Wiktionary_small.svg/16px-Wiktionary_small.svg.png");
}

li.wikibooks {
  background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Wikibooks-logo.svg/16px-Wikibooks-logo.svg.png");
}

li.wikiquote {
  background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Wikiquote-logo.svg/15px-Wikiquote-logo.svg.png");
}

li.wikisource {
  background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/4/4c/Wikisource-logo.svg/15px-Wikisource-logo.svg.png");
}

li.wikinews {
  background-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/a/ae/Wikinews_waves_Left.png/15px-Wikinews_waves_Left.png");
}

/* Partially support HTML5 bdi tag on old browsers that don't support
   it and reassign its default value on modern browsers,
   needed for better i18n even on old browsers */
bdi {
  unicode-bidi: embed; /* fallback, it is not completely same but will work on most cases */
  unicode-bidi: -webkit-isolate;
  unicode-bidi: -moz-isolate;
  unicode-bidi: -ms-isolate;
  unicode-bidi: isolate;
}

/* توضیح به کاربران دربارهٔ صفحهٔ تمرین */
body[class*="_صفحه_تمرین"] #firstHeading > span:first-child:after {
    float: left;
    font-size: 40%;
    color: gray;
    width: 30%;
    line-height: 1.5em;
    content: 'توجه: این صفحه بخشی از دانشنامه نیست و به هیچ‌وجه جزء صفحات ویکی‌پدیا به شمار نمی‌آید و صرفاً جهت ویرایش آزمایشی در ویکی‌پدیا کاربرد دارد.';
}

/* پررنگ کردن پیوند نمایش/پنهان کردن ربات در Newpages */
#mw-newpages-table td.mw-input > a:nth-child(2) { font-weight: bold; }

/* این از ویکی انگلیسی آورده شده و فقط برای صفحه‌های نمایش با وضوح بالاتر مانند تبلت‌ها و لپ‌تاپ‌های جدید است
   برای گذاشتن لوگوی جدید می‌توان آن را فقط غیرفعال کرد هر چند که فعلاً این اصلاً چندان نیاز نیست */
/* [[MediaZilla:35337]] */
@media (-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) {
  #p-logo a {
    background-image: url("//upload.wikimedia.org/wikipedia/commons/f/fb/Wikipedia-logo-v2-fa.svg") !important;
  }
}

/* تا عنوان کج از ابتدای صفحه کمی فاصله باید که حرفی بیرون نیفتد، [[اجاره‌نشین‌ها]] را برای نمونه ببینید */
#firstHeading > span > i { padding-right: 0.4em; }

/*اصلاح اندازه فونت در تغییرات اخیر برای [ویرایش‌های در حال انتظار] برگرفته از ویکی‌روسی*/
.mw-fr-reviewlink, .fr-hist-basic-user, .fr-hist-basic-auto {
    font-weight: normal;
    font-size: smaller;
}


// Warning for PDF on file description page
.has-warning {display:none;}