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

پرش به ناوبری پرش به جستجو
۳٬۶۱۳ بایت اضافه‌شده ،  ‏۱۷ دسامبر ۲۰۲۲
بدون خلاصۀ ویرایش
(خنثی‌سازی نسخهٔ 79348 از Wikihagh admin (بحث))
برچسب‌ها: خنثی‌سازی برگردانده‌شده
بدون خلاصۀ ویرایش
برچسب: واگردانی دستی
خط ۱: خط ۱:
/* Persian Wikipedia UI fonts configurations, see also MediaWiki:Print.css
/* --------------------- Begin Font Style ----------------- */
  These are written over the time on Monobook.css and Vector.css and shouldn't
 
  be changed radically without users consensus */
@font-face {
@font-face {
     font-family: 'Samim';
     font-family: 'Samim';
خط ۳۱: خط ۳۰:
}
}


body {
.mw-body-content {
/* generally a sans-serif font should be here */
line-height: 2;
font-family: Samim, 'Iranian Sans', 'Noto Sans Arabic', 'DejaVu Sans', sans-serif;
font-size: 0.93em;
}
 
html, body {
font-family:Samim;
}
 
.arabic {
/*font-family: "uthmanic-hafs";*/
font-family:me_quran,Scheherazade,mry_KacstQurn,Tahoma;
font-size: 1.02em;
    color: #000000c0;
}
 
.ayaFlag {
    font-family: "Traditional Arabic","Times New Roman";
    color: #215e21;
}
 
.ayaText {
color: #215e21;
}
 
.arabicText {
    font-family: KFGQPCUthmanTahaNaskh;
    font-size: 1.15em;
    font-style: oblique;
    font-synthesis: style;
    font-weight: 500;
}
 
.hadithText {
    font-family: KFGQPCUthmanTahaNaskh;
    font-size: 1.15em;
    font-style: oblique;
    font-synthesis: style;
    color: #215e21;
}
 
.hadithText .arabic .ayaText {
    font-size: 0.86em;
    font-style: normal;
}
}


.mw-body h1, .mw-body h2, .mw-body #firstHeading,
.hadithText .arabic .ayaFlag {
.mw-body .mw-editsection, .mw-body .mw-editsection-like,
      font-style: normal;
.mw-body #toc h2, .mw-body .toc h2,
#documentation-meta-data, .vector-sticky-header-context-bar-primary {
/* generally a serif font should be here but Arial is not acceptable for Persian */
font-family: Samim, 'Iranian Serif', 'Noto Naskh Arabic', 'Iranian Sans', 'DejaVu Sans', serif;
}
}


/* Ace editor now supports RTL editing but a monospace font with Arabic should be set for correct functionality */
/* If is IE Edge/Windows 10, Arabic diacritics are broken so use Segoe UI as default font instead */
.ace_editor { font-family: 'Courier New', monospace!important; }
_:-ms-lang(x), _:-webkit-full-screen, body { font-family: 'Samim', Tahoma, 'Iranian Sans',
'DejaVu Sans', 'Noto Kufi Arabic', 'Droid Arabic Kufi', sans-serif; }
 
#content h1, #content h2, #content #firstHeading,
#content .mw-editsection, .mw-body .mw-editsection-like,
#content #toc h2, #content .toc h2,
#template-documentation, #documentation-meta-data {
  /* generally a serif font should be here but Arial is not acceptable for Persian */
  font-family: Samim, Tahoma, 'Iranian Serif', 'Noto Kufi Arabic', 'Droid Arabic Naskh', 'Iranian Sans', 'DejaVu Sans', serif;
}


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


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


/* Main page fixes */
/* --------------------- Begin Main Page Style ----------------- */
.mainPage {
    display: flex;
    flex-direction: row;
}


body.page-ویکی‌پدیا_صفحه_تمرین #ca-edit,
.mainRight {
body.page-ویکی‌پدیا_آشنایی #ca-edit {
display: flex;
border: 1px dotted #36c;
flex-direction: column;
flex: 75%;
margin: 6px 4px;
}
}
body.page-ویکی‌پدیا_صفحه_تمرین #ca-edit:hover,
 
body.page-ویکی‌پدیا_آشنایی #ca-edit:hover {
.mainLeft {
background: none repeat scroll 0 0 white;
box-shadow: 0 0 0.3rem #999;
border-color: transparent;
border-radius: 0.2rem;
padding: 1.2rem;
flex: 25%;
margin: 6px 4px;
}
}
body.page-صفحهٔ_اصلی #mp-topbanner {
 
clear: both;
.selectedArticle {
box-shadow: 0 0 0.3rem #999;
border-radius: 0.2rem;
padding: 1.2rem;
margin: 4px 0px;
}
}


body.page-صفحهٔ_اصلی #ca-delete,
.helpBox{
body.page-صفحهٔ_اصلی #deleteconfirm,
line-height: 2em;
body.page-صفحهٔ_اصلی #t-cite,
box-shadow: 0 0 0.3rem #999;
body.page-صفحهٔ_اصلی #lastmod,
border-radius: 0.2rem;
body.page-صفحهٔ_اصلی #siteSub,
padding: 1.2rem;
body.page-صفحهٔ_اصلی #contentSub,
margin-bottom: 1.6rem;
body.page-صفحهٔ_اصلی #catlinks,
body.page-صفحهٔ_اصلی #centralNotice,
body.page-درگاه_ورودی #siteSub,
body.page-درگاه_ورودی h1.firstHeading {
display: none !important;
}
}


body.page-صفحهٔ_اصلی #ca-history,
.boxHeader {
body.page-صفحهٔ_اصلی #pagehistory {
padding: 10px;
display: none;
border-radius: 2px;
margin: 0 0 20px 0;
box-shadow: 0 0 0.3rem #999;
}
}


/* تراز راست برای پیوند «ویرایش پیوندهای میان‌ویکی» در نوار کناری پوستهٔ وکتور جدید */
.boxHeader span {  
.wb-langlinks-link {
padding-right: 45px;
text-align : right;
font: 1.03em samim;
position: relative;
}
}


/* Make the list of references in [[Template:Reflist]] smaller */
.boxTitle {
.references-small {
    padding: 5px;
font-size: 90%;
    border-radius: 2px;
    margin: 15px 0 20px 0;
border-bottom: solid 0.2rem #bdd8fb;
}
}


/* Highlight clicked reference in blue to help navigation */
.selectedArticle .boxHeader span:before,.boxHeader span:before,
ol.references > li:target,
.topArticles .boxHeader span:before, .boxHeader span:before {
sup.reference:target,
    width: 43px;
span.citation:target, cite:target {  
    height: 43px;
background-color: #ecf0fa;
    position: absolute;
    right: -1px;
    top: -9px;
    content: " ";
}
}


/* Ensure refs in table headers and the like aren't bold or italic */
.selectedArticle .boxHeader span:before {
sup.reference {
    background: url('/w/resources/assets/favorite.png') no-repeat center center;
font-weight: normal;
}
font-style: normal;
 
.topArticles .boxHeader span:before {
    background: url('/w/resources/assets/top.png') no-repeat center center;
}
}


/* Styling for citations */
.topArticles {  
span.citation, cite {
width: 100%;
word-wrap: break-word;
height: auto;
margin-bottom: 10px;
}
}


/* If there is an inline link to a full citation, the full citation will turn blue when the inline link is clicked */
.readmoreButton {
cite:target {
box-shadow: 0 0 0.3rem #999;
background-color: #ecf0fa;
display: inline-block;
min-width: 4em;
max-width: 28.75em;
padding: 0.546875em 1em;
line-height: 1.286;
box-sizing: border-box;
vertical-align: middle;
text-align: center;
font-weight: bold;
cursor: pointer;
border-radius: 0.2rem;
margin: 5px 0 0 0;
font-family: inherit;
font-size: 1em;
}
}


/* 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 */
/* --------------------- End Main Page Style ----------------- */


@media screen, handheld, projection {
/* --------------------- Begin Custom Style ----------------- */
cite *.printonly {
.readmore .collapseButton {
display: none;
float:none
}
}
}


/* Style for horizontal lists (separator following item) */
/* تغییر اندازه جعبه جستجو با قلم فارسی */
#simpleSearch {
height: 1.7em;
margin-top: 0.55em;
}


.skin-monobook .hlist dl,
/* اصلاحات پوسته تایملس */
.skin-modern .hlist dl,
#p-logo-text a {
.skin-vector .hlist dl {
    padding: 0 1em;
line-height: 1.5em;
    font-family: Samim;
}
 
/* اصلاح اندازه جعبه جستجو */
#searchInput {
    padding: 0.2em 0.4em 0.2em 1.84615385em;
}
}
/* 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
/* === Collapsible elements. Toggle-link moved to left. ===
  @revision 5 (2014-02-24)
/* Margin around it adjusted.
  @author [[User:Edokter]]
/* https://community.fandom.com/wiki/Thread:1104268
*/
/* https://community.wikia.com/wiki/Thread:499656
.hlist dl,
/* https://community.wikia.com/wiki/Help:Collapsing
.hlist ol,
/* https://cannabis.wikia.com/wiki/MediaWiki:Wikia.css */
.hlist ul {
 
margin: 0;
.mw-collapsible span.mw-collapsible-toggle {
padding: 0;
    float:left;
    margin-left:0;
    margin-right:1em;
}
}
/* Display list items inline */
 
.hlist dd,
.mw-collapsible-content {
.hlist dt,
display: flex;
.hlist li {
margin: 0;
display: inline;
}
}
/* Display nested lists inline */
 
.hlist.inline,
.im-answer-title {
.hlist.inline dl,
padding: 10px 5px;
.hlist.inline ol,
border: none;
.hlist.inline ul,
}
.hlist dl dl, .hlist dl ol, .hlist dl ul,
 
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.im-answer-content {
.hlist ul dl, .hlist ul ol, .hlist ul ul {
display: flex;
display: inline;
border: solid 1px #a2a9b1;
padding: 10px 8px;
background-color: #f8f9fa;
}
}
/* Generate interpuncts */
 
.hlist dt:after {
.im-answer-content div:nth-child(1) {
content: ": ";
  flex-grow: 1;
}
}
.hlist dd:after,
 
.hlist li:after {
.im-answer-content div:nth-child(2) {
content: " • ";
  flex-grow: 3;
/*font-weight: bold;*/
}
}
.hlist dd:last-child:after,
 
.hlist dt:last-child:after,
.im-personal-title, .im-personal-content{
.hlist li:last-child:after {
font-family: Samim;
content: none;
font-size: 16px;
}
}
/* For IE8 */
 
.hlist dd.hlist-last-child:after,
.related-article-list{
.hlist dt.hlist-last-child:after,
margin: 0;
.hlist li.hlist-last-child:after {
}
content: none;
 
.related-article-item {
display: inline-block;
padding-left: 3px;
}
}
/* Add parentheses around nested lists */
#siteSub {
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
    display: block;
.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,
/* --------------------- End Custom Style ----------------- */
.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 {
/* --------------------- Begin Persian Wikipedia Style----------------- */
content: ") ";
/* Main page fixes */
font-weight: normal;
 
body.page-امامت‌پدیا_صفحه_تمرین #ca-edit,
body.page-امامت‌پدیا_آشنایی #ca-edit {
border: 1px dotted #36c;
}
}
/* For IE8 */
body.page-امامت‌پدیا_صفحه_تمرین #ca-edit:hover,
.hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after,
body.page-امامت‌پدیا_آشنایی #ca-edit:hover {
.hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after,
background: none repeat scroll 0 0 white;
.hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after {
border-color: transparent;
content: ") ";
font-weight: normal;
}
}
/* Put ordinals in front of ordered list items */
body.page-صفحهٔ_اصلی #mp-topbanner {
.hlist ol {
clear: both;
counter-reset: listitem;
}
}
.hlist ol > li {
 
counter-increment: listitem;
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;
}
}
.hlist ol > li:before {
 
content: " " counter(listitem) " ";
body.page-صفحهٔ_اصلی #ca-history,
content: " " counter(listitem, persian) " ";
body.page-صفحهٔ_اصلی #pagehistory {
white-space: nowrap;
display: none;
}
}
.hlist dd ol > li:first-child:before,
 
.hlist dt ol > li:first-child:before,
/* تراز راست برای پیوند «ویرایش پیوندهای میان‌ویکی» در نوار کناری پوستهٔ وکتور جدید */
.hlist li ol > li:first-child:before {
.wb-langlinks-link {
content: " (" counter(listitem) " ";
text-align : right;
content: " (" counter(listitem, persian) " ";
}
}


/* فهرست بدون گلوله */
/* Make the list of references in [[Template:Reflist]] smaller */
.plainlist ul {
.references-small {  
line-height: inherit;
font-size: 90%;
list-style: none none;
margin: 0;
}
.plainlist ul li {
margin-bottom: 0;
}
}


/* Normal font styling for table row headers with scope="row" tag */
/* Highlight clicked reference in blue to help navigation */
.wikitable.plainrowheaders th[scope=row] {
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 */
sup.reference {
font-weight: normal;
font-weight: normal;
/* @noflip */
font-style: normal;
text-align: right;
}
}
 
/* Lists in data cells are always left-aligned */
/* Styling for citations */
html[dir=rtl] .wikitable td ul,
span.citation, cite {
html[dir=rtl] .wikitable td ol,
word-wrap: break-word;
html[dir=rtl] .wikitable td dl {
/* @noflip */
text-align: right;
}
/* ...unless they also use the hlist class */
html[dir=rtl] .wikitable.hlist td ul,
html[dir=rtl] .wikitable.hlist td ol,
html[dir=rtl] .wikitable.hlist td dl {
text-align: inherit;
}
}


/* Default style for navigation boxes */
/* If there is an inline link to a full citation, the full citation will turn blue when the inline link is clicked */
.navbox {                     /* Navbox container style */
cite:target {  
box-sizing: border-box;
background-color: #ecf0fa;
border: 1px solid #a2a9b1;
width: 100%;
margin: auto;
clear: both;
font-size: 88%;
text-align: center;
padding: 1px;
}
}
.navbox-inner,
 
.navbox-subgroup {
/* 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 */
width: 100%;
 
@media screen, handheld, projection {
cite *.printonly {
display: none;
}
}
}
.navbox-group,
 
.navbox-title,
/* Style for horizontal lists (separator following item) */
.navbox-abovebelow {
 
padding: 0.25em 1em;      /* Title, group and above/below styles */
.skin-monobook .hlist dl,
.skin-modern .hlist dl,
.skin-vector .hlist dl {
line-height: 1.5em;
line-height: 1.5em;
text-align: center;
}
}
th.navbox-group {            /* Group style */
/* Style for horizontal lists (separator following item).
white-space: nowrap;
  IE8-specific classes are assigned in [[MediaWiki:Common.js/IEFixes.js]].
/* @noflip */
  @source mediawiki.org/wiki/Snippets/Horizontal_lists
text-align: right;
  @revision 5 (2014-02-24)
  @author [[User:Edokter]]
*/
.hlist dl,
.hlist ol,
.hlist ul {
margin: 0;
padding: 0;
}
}
.navbox,
/* Display list items inline */
.navbox-subgroup {
.hlist dd,
background: #f8f9fa;     /* Background color */
.hlist dt,
.hlist li {
margin: 0;
display: inline;
}
}
.navbox-list {
/* Display nested lists inline */
line-height: 1.8em;
.hlist.inline,
border-color: #f8f9fa;   /* Must match background color */
.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;
}
}
.navbox th,
/* Generate interpuncts */
.navbox-title {
.hlist dt:after {
background: #b3ccff;     /* Level 1 color */
content: ": ";
}
}
.navbox-abovebelow,
.hlist dd:after,
th.navbox-group,
.hlist li:after {
.navbox-subgroup .navbox-title {
content: " •";
background: #dbe7ff;     /* Level 2 color */
/*font-weight: bold;*/
}
}
.navbox-subgroup .navbox-group,
.hlist dd:last-child:after,
.navbox-subgroup .navbox-abovebelow {
.hlist dt:last-child:after,
background: #e5edff;     /* Level 3 color */
.hlist li:last-child:after {
content: none;
}
}
.navbox-even {
/* For IE8 */
background: #f8f9fa;     /* Even row striping */
.hlist dd.hlist-last-child:after,
.hlist dt.hlist-last-child:after,
.hlist li.hlist-last-child:after {
content: none;
}
}
.navbox-odd {
/* Add parentheses around nested lists */
background: transparent; /* Odd row striping */
.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;
}
}
table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
margin-top: -1px;         /* (doesn't work for IE6, but that's okay)      */
.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;
}
}
.navbox .hlist td dl,
/* For IE8 */
.navbox .hlist td ol,
.hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after,
.navbox .hlist td ul,
.hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after,
.navbox td.hlist dl,
.hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after {
.navbox td.hlist ol,
content: ") ";
.navbox td.hlist ul {
font-weight: normal;
padding: 0.125em 0;       /* Adjust hlist padding in navboxes */
}
}
ol + table.navbox,
/* Put ordinals in front of ordered list items */
ul + table.navbox {
.hlist ol {
margin-top: 0.5em;       /* Prevent lists from clinging to navboxes */
counter-reset: listitem;
}
}
 
.hlist ol > li {
/* RTL fix for navbox-list bullet lists; See [[Special:Permalink/24864265#خطای ظاهری]]. */
counter-increment: listitem;
.navbox-list li {
unicode-bidi: isolate;
}
}
 
.hlist ol > li:before {
/* Default styling for Navbar template */
content: " " counter(listitem) " ";
.navbar {
content: " " counter(listitem, -moz-persian) " ";
display: inline;
content: " " counter(listitem, persian) " ";
font-size: 88%;
font-weight: normal;
}
.navbar ul {
display: inline;
white-space: nowrap;
white-space: nowrap;
}
}
.navbar li {
.hlist dd ol > li:first-child:before,
word-spacing: -0.125em;
.hlist dt ol > li:first-child:before,
.hlist li ol > li:first-child:before {
content: " (" counter(listitem) " ";
content: " (" counter(listitem, -moz-persian) " ";
content: " (" counter(listitem, persian) " ";
}
}
.navbar.mini li { /* span is removed */
 
font-size: xx-small;
/* فهرست بدون گلوله */
.plainlist ul {
line-height: inherit;
list-style: none none;
margin: 0;
}
}
.nv-talk > a {
.plainlist ul li {
color: #002BB8;
margin-bottom: 0;
}
}
/* Navbar styling when nested in infobox and navbox */
 
.infobox .navbar {
/* Normal font styling for table row headers with scope="row" tag */
font-size: 100%;
.wikitable.plainrowheaders th[scope=row] {
font-weight: normal;
/* @noflip */
text-align: right;
}
}
.navbox .navbar {
display: block;
/* Lists in data cells are always left-aligned */
font-size: 100%;
.wikitable td ul,
}
.wikitable td ol,
.navbox-title .navbar {
.wikitable td dl {
/* @noflip */
float: right;
/* @noflip */
/* @noflip */
text-align: right;
text-align: right;
/* @noflip */
margin-left: 0.5em;
width: 6em;
}
}
 
/* ...unless they also use the hlist class */
/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
.wikitable.hlist td ul,
  in [[MediaWiki:Common.js]] are styled here so they can be customised. */
.wikitable.hlist td ol,
.collapseButton {
.wikitable.hlist td dl {
/* @noflip */
text-align: inherit;
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;
}
}


/* Styling for JQuery makeCollapsible, matching that of collapseButton */
/* Default style for navigation boxes */
.mw-parser-output .mw-collapsible-toggle {
.navbox {                    /* Navbox container style */
font-weight: normal;
box-sizing: border-box;
/* @noflip */
border: 1px solid #a2a9b1;
text-align: left;
width: 100%;
padding-right: 0.2em;
margin: auto;
padding-left: 0.2em;
clear: both;
font-size: 88%;
text-align: center;
padding: 1px;
}
}
 
.navbox-inner,
.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
.navbox-subgroup {
/* @noflip */
width: 100%;
float: right;
/* @noflip */
text-align: right;
}
}
 
.navbox-group,
/* Infobox template style */
.navbox-title,
.infobox {
.navbox-abovebelow {
border: 1px solid #a2a9b1;
padding: 0.25em 1em;     /* Title, group and above/below styles */
border-spacing: 3px;
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;
line-height: 1.5em;
width: 22em;
text-align: center;
}
}
 
th.navbox-group {            /* Group style */
/* not strictly certain these styles are necessary
white-space: nowrap;
* just replicating the module faithfully
/* @noflip */
*/
text-align: right;
.infobox-subbox {
}
padding: 0;
.navbox,
border: none;
.navbox-subgroup {
margin: -3px;
background: #f8f9fa;     /* Background color */
width: auto;
}
min-width: 100%;
.navbox-list {
font-size: 100%;
line-height: 1.8em;
clear: none;
border-color: #f8f9fa;   /* Must match background color */
float: none;
background-color: transparent;
}
}
 
.navbox th,
.infobox-header,
.navbox-title {
.infobox-label,
background: #b3ccff;      /* Level 1 color */
.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;
}
}
 
.navbox-abovebelow,
.infobox-label,
th.navbox-group,
.infobox-data,
.navbox-subgroup .navbox-title {
/* Remove element declaration when both a) infobox3cols is migrated and
background: #dbe7ff;      /* Level 2 color */
* b) when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
/* @noflip */
text-align: right;
}
}
 
.navbox-subgroup .navbox-group,
/* remove .infobox from below new class names when live */
.navbox-subgroup .navbox-abovebelow {
.infobox .infobox-above,
background: #e5edff;     /* Level 3 color */
.infobox .infobox-title, /* TODO remove caption line when class is live */
.infobox caption{
font-size: 125%;
font-weight: bold;
text-align: center;
}
}
 
.navbox-even {
.infobox caption, /* TODO remove caption line when class is live */
background: #f8f9fa;     /* Even row striping */
.infobox-title {
padding: 0.2em;
}
}
 
.navbox-odd {
.infobox .infobox-header,
background: transparent; /* Odd row striping */
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
text-align: center;
}
}
 
table.navbox + table.navbox {  /* Single pixel border between adjacent navboxes */
.infobox .infobox-navbar {
margin-top: -1px;          /* (doesn't work for IE6, but that's okay)      */
text-align: left;
}
.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,
.infobox.bordered {
ul + table.navbox {
border-collapse: collapse;
margin-top: 0.5em;       /* Prevent lists from clinging to navboxes */
}
}


/* TODO split definitions to appropriate class names when live from HTML element */
/* RTL fix for navbox-list bullet lists; See [[Special:Permalink/24864265#خطای ظاهری]]. */
.infobox.bordered td,
.navbox-list li {
.infobox.bordered th {
unicode-bidi: isolate;
border: 1px solid #a2a9b1;
}
}


/* TODO split definitions to appropriate class names when live from HTML element */
/* Default styling for Navbar template */
.infobox.bordered .borderless td,
.navbar {
.infobox.bordered .borderless th {
display: inline;
border: 0;
font-size: 88%;
font-weight: normal;
}
}
 
.navbar ul {
.infobox.sisterproject {
display: inline;
width: 20em;
white-space: nowrap;
font-size: 90%;
}
}
 
.navbar li {
/* styles for bordered infobox with merged rows */
word-spacing: -0.125em;
/* TODO split definitions to appropriate class names when live from HTML element */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
border: 0;
border-top: 1px solid #a2a9b1;
/* @noflip */
border-left: 1px solid #a2a9b1;
}
}
 
.navbar.mini li { /* span is removed */
/* TODO split definitions to appropriate class names when live from HTML element */
font-size: xx-small;
.infobox.bordered .mergedrow td,
}
.infobox.bordered .mergedrow th {
.nv-talk > a {
border: 0;
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 */
/* @noflip */
border-left: 1px solid #a2a9b1;
margin-left: 0.5em;
width: 6em;
}
}


/* Styles for geography infoboxes, eg countries,
/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
   country subdivisions, cities, etc.           */
   in [[MediaWiki:Common.js]] are styled here so they can be customised. */
.infobox.geography {
.collapseButton {
border-collapse: collapse;
/* @noflip */
line-height: 1.2em;
float: left;
font-size: 90%;
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;
}
}


/* TODO split definitions to appropriate class names when live from HTML element */
/* Styling for JQuery makeCollapsible, matching that of collapseButton */
.infobox.geography  td,
.mw-parser-output .mw-collapsible-toggle {
.infobox.geography  th {
font-weight: normal;
border-top: 1px solid #a2a9b1;
/* @noflip */
padding: 0.4em 0.6em 0.4em 0.6em;
text-align: left;
padding-right: 0.2em;
padding-left: 0.2em;
}
}


/* TODO split definitions to appropriate class names when live from HTML element */
.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
.infobox.geography .mergedtoprow td,
/* @noflip */
.infobox.geography .mergedtoprow th {
float: right;
border-top: 1px solid #a2a9b1;
/* @noflip */
padding: 0.4em 0.6em 0.2em 0.6em;
text-align: right;
}
}


/* TODO split definitions to appropriate class names when live from HTML element */
/* Infobox template style */
.infobox.geography .mergedrow td,
.infobox {
.infobox.geography .mergedrow th {
border: 1px solid #a2a9b1;
border: 0;
border-spacing: 3px;
padding: 0 0.6em 0.2em 0.6em;
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;
}
}


/* TODO split definitions to appropriate class names when live from HTML element */
/* not strictly certain these styles are necessary
.infobox.geography .mergedbottomrow td,
* just replicating the module faithfully
.infobox.geography .mergedbottomrow th {
*/
border-top: 0;
.infobox-subbox {
border-bottom: 1px solid #a2a9b1;
padding: 0;
padding: 0 0.6em 0.4em 0.6em;
border: none;
margin: -3px;
width: auto;
min-width: 100%;
font-size: 100%;
clear: none;
float: none;
background-color: transparent;
}
}


/* TODO split definitions to appropriate class names when live from HTML element */
.infobox-header,
.infobox.geography .maptable td,
.infobox-label,
.infobox.geography .maptable th {
.infobox-above,
border: 0;
.infobox-full-data,
padding: 0;
.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;
}
}


/* Style for "notices" */
.infobox-label,
.notice {
.infobox-data,
margin: 1em;
/* Remove element declaration when both a) infobox3cols is migrated and
padding: 0.2em;
* b) when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
/* @noflip */
text-align: right;
}
}


#disambig {
/* remove .infobox from below new class names when live */
border-top: 1px solid #c8ccd1;  
.infobox .infobox-above,
border-bottom: 1px solid #c8ccd1;
.infobox .infobox-title, /* TODO remove caption line when class is live */
.infobox caption{
font-size: 125%;
font-weight: bold;
text-align: center;
}
}


.notice-text, .toggle-box, .red-button, .goal, div.red-button, div.siteNoticeSmall, div#siteNotice {
.infobox caption, /* TODO remove caption line when class is live */
font-family: inherit;
.infobox-title {
padding: 0.2em;
}
}


DIV.siteNoticeSmall {
.infobox .infobox-header,
font-size: 15pt;
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
text-align: center;
}
}


/* Persondata and other (future) metadata */
.infobox .infobox-navbar {
table.InChI, /* temporary */
text-align: left;
table.persondata {
border: 1px solid #a2a9b1;
display: none;
speak: none;
}
}
.InChI-label, /* temporary */
 
.persondata-label {
.infobox.bordered {
color: #a2a9b1;
border-collapse: collapse;
}
}


/* Icons for medialist templates [[Template:Listen]], [[Template:Multi-listen_start]], [[Template:Video]], [[Template:Multi-video_start]] */
/* TODO split definitions to appropriate class names when live from HTML element */
div.listenlist {
.infobox.bordered td,
background: url("//upload.wikimedia.org/wikipedia/commons/3/3f/Gnome_speakernotes_30px.png");
.infobox.bordered th {
/* @noflip */
border: 1px solid #a2a9b1;
padding-right: 40px;
}
 
/* TODO split definitions to appropriate class names when live from HTML element */
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}
}


div.videolist, div.multivideolist {
.infobox.sisterproject {
background: url("//upload.wikimedia.org/wikipedia/commons/thumb/2/20/Tango-video-x-generic.png/40px-Tango-video-x-generic.png");
width: 20em;
padding-right: 50px;
font-size: 90%;
}
}


/* Change the external link icon to an Adobe icon for all PDF files
/* styles for bordered infobox with merged rows */
  in browsers that support these CSS selectors, like Mozilla and Opera */
/* TODO split definitions to appropriate class names when live from HTML element */
.mw-body a[href$=".pdf"].external,
.infobox.bordered .mergedtoprow td,
.mw-body a[href*=".pdf?"].external,
.infobox.bordered .mergedtoprow th {
.mw-body a[href*=".pdf#"].external,
border: 0;
.mw-body a[href$=".PDF"].external,
border-top: 1px solid #a2a9b1;
.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 */
/* @noflip */
padding-left: 18px;
border-left: 1px solid #a2a9b1;
}
}


/* Change the external link icon to an Adobe icon anywhere the PDFlink class */
/* TODO split definitions to appropriate class names when live from HTML element */
/* is used (notably Template:PDFlink). This works in IE, unlike the above. */
.infobox.bordered .mergedrow td,
span.PDFlink a {
.infobox.bordered .mergedrow th {
background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") center left no-repeat !important;
border: 0;
padding-left: 18px !important;
/* @noflip */
border-left: 1px solid #a2a9b1;
}
}


span.geolink a {
/* Styles for geography infoboxes, eg countries,
background: url(//upload.wikimedia.org/wikipedia/en/a/a7/Monobook-globe.png) center left no-repeat !important;
  country subdivisions, cities, etc.            */
padding-left: 11px !important;
.infobox.geography {
border-collapse: collapse;
line-height: 1.2em;
font-size: 90%;
}
}


/* Content in columns with CSS instead of tables [[Template:Columns]] */
/* TODO split definitions to appropriate class names when live from HTML element */
div.columns-2 div.column {
.infobox.geography  td,
/* @noflip */
.infobox.geography  th {
float: right;
border-top: 1px solid #a2a9b1;
width: 50%;
padding: 0.4em 0.6em 0.4em 0.6em;
min-width: 300px;
}
}


div.columns-3 div.column {
/* TODO split definitions to appropriate class names when live from HTML element */
/* @noflip */
.infobox.geography .mergedtoprow td,
float: right;
.infobox.geography .mergedtoprow th {
width: 33.3%;
border-top: 1px solid #a2a9b1;
min-width: 200px;
padding: 0.4em 0.6em 0.2em 0.6em;
}
}


div.columns-4 div.column {
/* TODO split definitions to appropriate class names when live from HTML element */
/* @noflip */
.infobox.geography .mergedrow td,
float: right;
.infobox.geography .mergedrow th {
width: 25%;
border: 0;
min-width: 150px;
padding: 0 0.6em 0.2em 0.6em;
}
}


div.columns-5 div.column {
/* TODO split definitions to appropriate class names when live from HTML element */
/* @noflip */
.infobox.geography .mergedbottomrow td,
float: right;
.infobox.geography .mergedbottomrow th {
width: 20%;
border-top: 0;
min-width: 120px;
border-bottom: 1px solid #a2a9b1;
padding: 0 0.6em 0.4em 0.6em;
}
}


/*Add formatting to make sure that "external references" from [[Template:Ref]] do
/* TODO split definitions to appropriate class names when live from HTML element */
  not get URL expansion, not even when printed. The mechanism up to MediaWiki 1.4 was
.infobox.geography .maptable td,
  that the HTML code contained a SPAN following the anchor A; this SPAN had the class
.infobox.geography .maptable th {
  "urlexpansion", which was not displayed on screen, but was shown when the medium was
border: 0;
  "print". The rules below ensure (a) that there is no extra padding to the left of
padding: 0;
  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 {
/* Style for "notices" */
background: none ! important;
.notice {
padding: 0 ! important;
margin: 1em;
padding: 0.2em;
}
}


.plainlinksneverexpand .urlexpansion {
#disambig {
display: none ! important;
border-top: 1px solid #c8ccd1;
border-bottom: 1px solid #c8ccd1;
}
}


/* Make sure that ext links displayed within "plainlinksneverexpand" don't get
.notice-text, .toggle-box, .red-button, .goal, div.red-button, div.siteNoticeSmall, div#siteNotice {
  the arrow...
font-family: inherit;
*/
}
.plainlinksneverexpand a {
 
background: none !important;
DIV.siteNoticeSmall {
padding: 0 !important;
font-size: 15pt;
}
}


/* Messagebox templates */
/* Persondata and other (future) metadata */
.messagebox {
table.InChI, /* temporary */
table.persondata {
border: 1px solid #a2a9b1;
border: 1px solid #a2a9b1;
background-color: #f8f9fa;
display: none;
width: 80%;
speak: none;
margin: 0 auto 1em auto;
padding: .2em;
}
}
.messagebox.merge {
.InChI-label, /* temporary */
border: 1px solid #c0b8cc;
.persondata-label {
background-color: #f0e5ff;
color: #a2a9b1;
text-align: center;
}
}
.messagebox.cleanup {
 
border: 1px solid #9f9fff;
/* Icons for medialist templates [[Template:Listen]], [[Template:Multi-listen_start]], [[Template:Video]], [[Template:Multi-video_start]] */
background-color: #efefff;
div.listenlist {
text-align: center;
background: url("//upload.wikimedia.org/wikipedia/commons/3/3f/Gnome_speakernotes_30px.png");
/* @noflip */
padding-right: 40px;
}
}
.messagebox.standard-talk {
 
border: 1px solid #c0c090;
div.videolist, div.multivideolist {
background-color: #f8eaba;
background: url("//upload.wikimedia.org/wikipedia/commons/thumb/2/20/Tango-video-x-generic.png/40px-Tango-video-x-generic.png");
padding-right: 50px;
}
}
.messagebox.nested-talk {
 
border: 1px solid #c0c090;
/* Change the external link icon to an Adobe icon for all PDF files
background-color: #f8eaba;
  in browsers that support these CSS selectors, like Mozilla and Opera */
width: 100%;
.mw-body a[href$=".pdf"].external,
margin: 2px 4px 2px 4px;
.mw-body a[href*=".pdf?"].external,
}
.mw-body a[href*=".pdf#"].external,
.messagebox.small {
.mw-body a[href$=".PDF"].external,
width: 238px;
.mw-body a[href*=".PDF?"].external,
font-size: 85%;
.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 */
/* @noflip */
float: left;
padding-left: 18px;
clear: both;
/* @noflip */
margin: 0 0 1em 1em;
line-height: 1.25em;  
}
}
.messagebox.small-talk {
 
width: 238px;
/* Change the external link icon to an Adobe icon anywhere the PDFlink class */
font-size: 85%;
/* is used (notably Template:PDFlink). This works in IE, unlike the above. */
/* @noflip */
span.PDFlink a {
float: left;
background: url("//upload.wikimedia.org/wikipedia/commons/2/23/Icons-mini-file_acrobat.gif") center left no-repeat !important;
clear: both;
padding-left: 18px !important;
/* @noflip */
margin: 0 0 1em 1em;
line-height: 1.25em;  
background: #fff2cc;
}
}


/* Article message box styles */
span.geolink a {
table.ambox {
background: url(//upload.wikimedia.org/wikipedia/en/a/a7/Monobook-globe.png) center left no-repeat !important;
margin: 0px 10%;                  /* 10% = Will not overlap with other elements */
padding-left: 11px !important;
border: 1px solid #a2a9b1;  
border-right: 10px solid #36c;  /* Default "notice" blue */
background: #f8f9fa;  
}
}
table.ambox + table.ambox {     /* Single border between stacked boxes. */
 
margin-top: -1px;
/* Content in columns with CSS instead of tables [[Template:Columns]] */
div.columns-2 div.column {
/* @noflip */
float: right;
width: 50%;
min-width: 300px;
}
}
.ambox th.mbox-text,
 
.ambox td.mbox-text {           /* The message body cell(s) */
div.columns-3 div.column {
padding: 0.25em 0.5em;       /* 0.5em left/right */
/* @noflip */
float: right;
width: 33.3%;
min-width: 200px;
}
}
.ambox td.mbox-image {           /* The left image cell */
 
padding: 2px 0.5em 2px 0;   /* 0.5em right, 0px left */
div.columns-4 div.column {
/* @noflip */
float: right;
width: 25%;
min-width: 150px;
}
}
.ambox td.mbox-imageright {     /* The right image cell */
 
padding: 2px 0 2px 0.5em;   /* 0px right, 0.5em left */
div.columns-5 div.column {
/* @noflip */
float: right;
width: 20%;
min-width: 120px;
}
}
 
table.ambox-notice {
/*Add formatting to make sure that "external references" from [[Template:Ref]] do
border-right: 10px solid #36c;   /* Blue */
  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;
}
}
table.ambox-speedy {
 
border-right: 10px solid #DD0000;    /* Red */
.plainlinksneverexpand .urlexpansion {
background: #fee7e6;                   /* Pink */
display: none ! important;
}
}
table.ambox-delete {
 
border-right: 10px solid #DD0000;   /* Red */
/* Make sure that ext links displayed within "plainlinksneverexpand" don't get
  the arrow...
*/
.plainlinksneverexpand a {
background: none !important;
padding: 0 !important;
}
}
table.ambox-content {
 
border-right: 10px solid #FF5D00;   /* Orange */
/* Messagebox templates */
.messagebox {
border: 1px solid #a2a9b1;
background-color: #f8f9fa;
width: 80%;
margin: 0 auto 1em auto;
padding: .2em;
}
}
table.ambox-style {
.messagebox.merge {
border-right: 10px solid #fc3;   /* Yellow */
border: 1px solid #c0b8cc;
background-color: #f0e5ff;
text-align: center;
}
}
table.ambox-move {
.messagebox.cleanup {
border-right: 10px solid #9932cc;   /* Purple */
border: 1px solid #9f9fff;
background-color: #efefff;
text-align: center;
}
}
table.ambox-protection {
.messagebox.standard-talk {
border-right: 10px solid #a2a9b1;       /* Gray-gold */
border: 1px solid #c0c090;
background-color: #f8eaba;
}
}
 
.messagebox.nested-talk {
/* Disambig and set index box styles */
border: 1px solid #c0c090;
table.dmbox {
background-color: #f8eaba;
clear: both;  
width: 100%;
margin: 0.9em 1em;
margin: 2px 4px 2px 4px;
border-top: 1px solid #c8ccd1;  
border-bottom: 1px solid #c8ccd1;  
background: transparent;
}
}
.messagebox.small {
/* Footer and header message box styles */
width: 238px;
table.fmbox {
font-size: 85%;
/* @noflip */
float: left;
clear: both;
clear: both;
margin: 0.2em 0;
/* @noflip */
width: 100%;
margin: 0 0 1em 1em;
border: 1px solid #a2a9b1;
line-height: 1.25em;  
background: #f8f9fa;     /* Default "system" gray */
}
}
table.fmbox-system {
.messagebox.small-talk {
background: #f8f9fa;
width: 238px;
font-size: 85%;
/* @noflip */
float: left;
clear: both;
/* @noflip */
margin: 0 0 1em 1em;
line-height: 1.25em;
background: #fff2cc;
}
}
table.fmbox-warning {
 
border: 1px solid #DD0000;  /* Dark pink */
/* Article message box styles */
background: #fee7e6;       /* Pink */
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;  
}
}
table.fmbox-editnotice {
table.ambox + table.ambox {     /* Single border between stacked boxes. */
background: transparent;
margin-top: -1px;
}
}
/* Div based "warning" style fmbox messages. */
.ambox th.mbox-text,  
div.mw-warning-with-logexcerpt,
.ambox td.mbox-text {           /* The message body cell(s) */
div.mw-lag-warn-high,
padding: 0.25em 0.5em;       /* 0.5em left/right */
div.mw-cascadeprotectedwarning,
div#mw-protect-cascadeon {
clear: both;
margin: 0.2em 0;
border: 1px solid #DD0000;
background: #fee7e6;
padding: 0.25em 0.9em;
}
}
/* Div based "system" style fmbox messages.
.ambox td.mbox-image {          /* The left image cell */
  Used in [[MediaWiki:Readonly lag]]. */
padding: 2px 0.5em 2px 0;   /* 0.5em right, 0px left */
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;
}
}
 
.ambox td.mbox-imageright {      /* The right image cell */
/* Other pages message box styles */
padding: 2px 0 2px 0.5em;    /* 0px right, 0.5em left */
table.ombox {
margin: 4px 10%;
border-collapse: collapse;
border: 1px solid #a2a9b1;    /* Default "notice" gray */
background-color: #f8f9fa;
box-sizing: border-box;
}
}
 
table.ombox-notice {
table.ambox-notice {
border: 1px solid #a2a9b1;    /* Gray */
border-right: 10px solid #36c;    /* Blue */
}
}
 
table.ambox-speedy {
table.ombox-speedy {
border-right: 10px solid #DD0000;    /* Red */
border: 2px solid #b32424;    /* Red */
background: #fee7e6;                   /* Pink */
background-color: #fee7e6;   /* Pink */
}
}
 
table.ambox-delete {
table.ombox-delete {
border-right: 10px solid #DD0000;    /* Red */
border: 2px solid #b32424;    /* Red */
}
table.ambox-content {
border-right: 10px solid #FF5D00;    /* Orange */
}
}
 
table.ambox-style {
table.ombox-content {
border-right: 10px solid #fc3;    /* Yellow */
border: 1px solid #f28500;    /* Orange */
}
}
 
table.ambox-move {
table.ombox-style {
border-right: 10px solid #9932cc;   /* Purple */
border: 1px solid #fc3;       /* Yellow */
}
}
 
table.ambox-protection {
table.ombox-move {
border-right: 10px solid #a2a9b1;       /* Gray-gold */
border: 1px solid #9932cc;   /* Purple */
}
}


table.ombox-protection {
/* Disambig and set index box styles */
border: 2px solid #a2a9b1;   /* Gray-gold */
table.dmbox {
clear: both;
margin: 0.9em 1em;
border-top: 1px solid #c8ccd1;  
border-bottom: 1px solid #c8ccd1;
background: transparent;
}
}
   
   
/* These mbox-small classes must be placed after all other
/* Footer and header message box styles */
  ambox/tmbox/ombox etc classes. "body.mediawiki" is so
table.fmbox {
  they override "table.ambox + table.ambox" above. */
clear: both;
html body.mediawiki .mbox-small {   /* For the "small=yes" option. */
margin: 0.2em 0;
/* @noflip */
width: 100%;
clear: left;
border: 1px solid #a2a9b1;
/* @noflip */
background: #f8f9fa;     /* Default "system" gray */
float: left;
}
/* @noflip */
table.fmbox-system {
margin: 4px 1em 4px 0;
background: #f8f9fa;
box-sizing: border-box;
width: 238px;
font-size: 88%;
line-height: 1.25em;
}
}
html body.mediawiki .mbox-small-right {   /* For the "small=right" option. */
table.fmbox-warning {
/* @noflip */
border: 1px solid #DD0000;  /* Dark pink */
margin: 4px 0 4px 1em;
background: #fee7e6;        /* Pink */
box-sizing: border-box;
overflow: hidden;
width: 238px;
border-collapse: collapse;
font-size: 88%;
line-height: 1.25em;
}
}
 
table.fmbox-editnotice {
/* Style for compact ambox */
background: transparent;
/* Hide the images */
.compact-ambox table .mbox-image,
.compact-ambox table .mbox-imageright,
.compact-ambox table .mbox-empty-cell {
display: none;
}
}
 
/* Div based "warning" style fmbox messages. */
/* Remove borders, backgrounds, padding, etc. */
div.mw-warning-with-logexcerpt,
.compact-ambox table.ambox {
div.mw-lag-warn-high,
border: none;
div.mw-cascadeprotectedwarning,
border-collapse: collapse;
div#mw-protect-cascadeon {
background-color: transparent;
clear: both;
margin: 0 1.6em 0 0 !important;
margin: 0.2em 0;
padding: 0 !important;
border: 1px solid #DD0000;
width: auto;
background: #fee7e6;
display: block;
padding: 0.25em 0.9em;
}
}
 
/* Div based "system" style fmbox messages.
body.mediawiki .compact-ambox table.mbox-small-left {
  Used in [[MediaWiki:Readonly lag]]. */
font-size: 100%;
div.mw-lag-warn-normal,
width: auto;
div.fmbox-system {
margin: 0;
clear: both;
margin: 0.2em 0;
border: 1px solid #a2a9b1;
background: #f8f9fa;
padding: 0.25em 0.9em;
}
}
 
/* Style the text cell as a list item and remove its padding */
/* These mbox-small classes must be placed after all other
.compact-ambox table .mbox-text {
  ambox/tmbox/ombox etc classes. "body.mediawiki" is so
padding: 0 !important;
  they override "table.ambox + table.ambox" above. */
margin: 0 !important;
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;
}
html body.mediawiki .mbox-small-right {  /* For the "small=right" option. */
/* @noflip */
margin: 4px 0 4px 1em;
box-sizing: border-box;
overflow: hidden;
width: 238px;
border-collapse: collapse;
font-size: 88%;
line-height: 1.25em;
}
}


.compact-ambox table .mbox-text-span {
/* Style for compact ambox */
display: list-item;
/* Hide the images */
line-height: 1.5em;
.compact-ambox table .mbox-image,
list-style-type: square;
.compact-ambox table .mbox-imageright,
list-style-image: url(/w/skins/MonoBook/resources/images/bullet.svg);
.compact-ambox table .mbox-empty-cell {
}
 
/* Allow for hiding text in compact form */
.compact-ambox .hide-when-compact {
display: none;
display: none;
}
}


/* Put a checker background at the image description page only visible if the image has transparent background */
/* Remove borders, backgrounds, padding, etc. */
#file img {
.compact-ambox table.ambox {
background: url("//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;
border: none;
border-collapse: collapse;
background-color: transparent;
margin: 0 1.6em 0 0 !important;
padding: 0 !important;
width: auto;
display: block;
}
}


#wpSave {
body.mediawiki .compact-ambox table.mbox-small-left {
font-weight: bold;
font-size: 100%;
width: auto;
margin: 0;
}
}


/* suppress missing interwiki image links where #ifexist cannot be used due to high number of requests */
/* Style the text cell as a list item and remove its padding */
/* use restricted to rail icon management pages */
.compact-ambox table .mbox-text {
/* see .hidden-redlink on //meta.wikimedia.org/wiki/MediaWiki:Common.css */
padding: 0 !important;
.check-icon a.new {
margin: 0 !important;
display: none;  
speak:none;
}
}


/* Removes underlines from links */
.compact-ambox table .mbox-text-span {
.nounderlines a {
display: list-item;
text-decoration: none;
line-height: 1.5em;
list-style-type: square;
list-style-image: url(/w/skins/MonoBook/resources/images/bullet.svg);
}
}


/* Remove underline from IPA links */
/* Allow for hiding text in compact form */
.IPA a:link, .IPA a:visited {
.compact-ambox .hide-when-compact {
text-decoration: none;
display: none;
}
}


/* Removes useless links from printout */
/* Put a checker background at the image description page only visible if the image has transparent background */
@media print {
#file img {
#privacy, #about, #disclaimer {display:none;}
background: url("//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;
}
}


#EnWpMpBook { background-image: url(//upload.wikimedia.org/wikipedia/en/7/7e/MP-open-book.png); }
#wpSave {
#EnWpMpSearch { background: url(//upload.wikimedia.org/wikipedia/en/a/ae/MP-magnifying-glass.png) no-repeat top left; }
font-weight: bold;
#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]]. */
/* 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.Boxmerge,
خط ۱٬۱۹۸: خط ۱٬۳۸۷:


/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
th.mbox-text, td.mbox-text {    /* The message body cell(s) */
th.mbox-text, td.mbox-text {    /* The message body cell(s) */
border: none;
border: none;
padding: 0.25em 0.9em;      /* 0.9em left/right */
padding: 0.25em 0.9em;      /* 0.9em left/right */
width: 100%;    /* Make all mboxes the same width regardless of text length */
width: 100%;    /* Make all mboxes the same width regardless of text length */
}
}
td.mbox-image {                  /* The left image cell */
td.mbox-image {                  /* The left image cell */
border: none;  
border: none;  
padding: 2px 0.9em 2px 0px;    /* 0.9em right, 0px left */
padding: 2px 0.9em 2px 0px;    /* 0.9em right, 0px left */
text-align: center;  
text-align: center;  
}
}
td.mbox-imageright {            /* The right image cell */
td.mbox-imageright {            /* The right image cell */
border: none;
border: none;
padding: 2px 0px 2px 0.9em;    /* 0px left, 0.9em right */
padding: 2px 0px 2px 0.9em;    /* 0px left, 0.9em right */
text-align: center;  
text-align: center;
}
 
 
/* Reduce line-height for <sup> and <sub> */
sup, sub {
line-height: 1em;
}
 
/* Selectively hide headers in WikiProject banners */
/* TemplateStyles */
.wpb .wpb-header {
display: none;
}
 
.wpbs-inner .wpb .wpb-header {
display: table-row;
}
}


 
.wpbs-inner .wpb-outside {
/* Reduce line-height for <sup> and <sub> */
display: none;             /* hide things that should only display outside shells */
sup, sub {
line-height: 1em;
}
 
/* Selectively hide headers in WikiProject banners */
/* TemplateStyles */
.wpbs-inner .wpb .wpb-header {
display: table-row;
}
}


خط ۱٬۳۳۳: خط ۱٬۵۳۰:
body.ns-2[class*="_صفحه_تمرین"] #firstHeading::after {
body.ns-2[class*="_صفحه_تمرین"] #firstHeading::after {
color: #72777d;
color: #72777d;
content: "توجه:این صفحه بخشی از دانشنامه نیست و صرفاً جهت ویرایش آزمایشی در ویکی‌پدیا کاربرد دارد.";
content: "توجه:این صفحه بخشی از دانشنامه نیست و صرفاً جهت ویرایش آزمایشی در امامت‌پدیا کاربرد دارد.";
float: left;
float: left;
width: 40%;
width: 40%;
خط ۱٬۳۶۲: خط ۱٬۵۵۹:


/* کمی پیوند ایجاد مقاله بزرگتر شود که پس از حذف بیشتر استفاده شود */
/* کمی پیوند ایجاد مقاله بزرگتر شود که پس از حذف بیشتر استفاده شود */
.mw-warning-with-logexcerpt a[title="ویکی‌پدیا:ایجاد مقاله"] { font-size: 120%; font-weight: bold; }
.mw-warning-with-logexcerpt a[title="امامت‌پدیا:ایجاد مقاله"] { font-size: 120%; font-weight: bold; }


/* Make the textarea pink when an admin is editing a protected page */
/* Make the textarea pink when an admin is editing a protected page */
خط ۱٬۴۶۰: خط ۱٬۶۵۷:
   white-space: normal;
   white-space: normal;
}
}
 
/* --------------------- End Persian Wikipedia Style----------------- */
.catlinks, .vector-language-sidebar-alert, .sistersitebox {
border-radius: 4px;
}

منوی ناوبری