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

پرش به ناوبری پرش به جستجو
۱٬۷۵۹ بایت اضافه‌شده ،  ‏۱۷ دسامبر ۲۰۲۲
بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
برچسب: برگردانده‌شده
بدون خلاصۀ ویرایش
برچسب: برگردانده‌شده
خط ۱: خط ۱:
/* 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';
    src: url('/w/resources/fonts/Samim.eot');
font-style: normal;
     src: url('/w/resources/fonts/Samim.eot?#iefix') format('embedded-opentype'),
font-weight: 400;
url('/w/resources/fonts/Samim.woff') format('woff'),
font-display: swap;
url('/w/resources/fonts/Samim.ttf') format('truetype');
src: url('/static/fonts/Samim-FD.woff2') format('woff2'),
    font-weight: normal;
url('/static/fonts/Samim-FD.woff') format('woff');
}
@font-face {
     font-family: 'Samim';
font-style: normal;
font-weight: 500;
font-display: swap;
src: url('/static/fonts/Samim-Medium-FD.woff2') format('woff2'),
url('/static/fonts/Samim-Medium-FD.woff') format('woff');
}
@font-face {
    font-family: 'Samim';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url('/static/fonts/Samim-Bold-FD.woff2') format('woff2'),
url('/static/fonts/Samim-Bold-FD.woff') format('woff');
}
}


@font-face {
@font-face {
  font-family: 'me_quran';
font-family: 'Quran';
  src: url('/w/resources/fonts/me_quran.eot') format('embedded-opentype');
font-style: normal;
  src: url('/w/resources/fonts/me_quran.woff') format('woff'),  
font-weight: 400;
  url('/w/resources/fonts/me_quran.ttf') format('truetype'),
font-display: swap;
  url('/w/resources/fonts/me_quran.svg#me_quran') format('svg');
src: url('/static/fonts/me_quran.woff2') format('woff2'),
  font-weight: normal;
    url('/static/fonts/me_quran.woff') format('woff');
  font-style: normal;
}
}


@font-face {
@font-face {
  font-family: 'KFGQPCUthmanTahaNaskh';
font-family: 'Amiri';
  src: url('/w/resources/fonts/KFGQPCUthmanTahaNaskh.eot') format('embedded-opentype');
font-style: italic;
  src: url('/w/resources/fonts/KFGQPCUthmanTahaNaskh.woff') format('woff'),
font-weight: 400;
  url('/w/resources/fonts/KFGQPCUthmanTahaNaskh.ttf') format('truetype'),
font-display: swap;
  url('/w/resources/fonts/KFGQPCUthmanTahaNaskh.svg#KFGQPCUthmanTahaNaskh') format('svg');
src: url('/static/fonts/Amiri-Italic.woff2') format('woff2'),
  font-weight: normal;
    url('/static/fonts/Amiri-Italic.woff') format('woff');
  font-style: normal;
}
}


body {
@font-face {
/* generally a sans-serif font should be here */
font-family: 'Amiri';
font-family: Samim, 'Iranian Sans', 'Noto Sans Arabic', 'DejaVu Sans', sans-serif;
font-style: italic;
font-weight: 700;
font-display: swap;
src: url('/static/fonts/Amiri-BoldItalic.woff2') format('woff2'),
    url('/static/fonts/Amiri-BoldItalic.woff') format('woff');
}
}


.mw-body h1, .mw-body h2, .mw-body #firstHeading,
@font-face {
.mw-body .mw-editsection, .mw-body .mw-editsection-like,
font-family: 'Amiri';
.mw-body #toc h2, .mw-body .toc h2,
font-style: normal;
#documentation-meta-data, .vector-sticky-header-context-bar-primary {
font-weight: 400;
/* generally a serif font should be here but Arial is not acceptable for Persian */
font-display: swap;
font-family: Samim, 'Iranian Serif', 'Noto Naskh Arabic', 'Iranian Sans', 'DejaVu Sans', serif;
src: url('/static/fonts/Amiri-Regular.woff2') format('woff2'),
    url('/static/fonts/Amiri-Regular.woff') format('woff');
}
}


/* Ace editor now supports RTL editing but a monospace font with Arabic should be set for correct functionality */
@font-face {
.ace_editor { font-family: 'Courier New', monospace!important; }
font-family: 'Amiri';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url('/static/fonts/Amiri-Bold.woff2') format('woff2'),
    url('/static/fonts/Amiri-Bold.woff') format('woff');
}


/* force these to use inherited font configuration */
body {
.ui-widget, .ui-widget *, button, input, select, optgroup {
font-family: Samim, Tahoma, 'Noto Serif', 'Droid Arabic Naskh', 'DejaVu Sans', serif !important;
font-family: inherit;
font-size: 106%;
}
}
/* end */


dfn {
#content.mw-body  h1, #content.mw-body  h2, #content.mw-body  #firstHeading,
font-style: inherit; /* Reset default styling for <dfn> */
#content.mw-body  .mw-editsection, .mw-body .mw-editsection-like,
#content.mw-body  #toc h2, #content.mw-body  .toc h2, .vector-sticky-header-context-bar-primary,
#template-documentation, #documentation-meta-data{
font-family: Samim, Tahoma, 'Noto Serif', 'Droid Arabic Naskh', 'DejaVu Sans', serif !important;
line-height: 1.6;
}
}
sup, sub {
 
line-height: 1em;     /* Reduce line-height for <sup> and <sub> */
textarea {
font-family: Samim, 'Courier New', monospace;
}
}


/* Main page fixes */
.mw-body-content {
font-kerning: auto;
font-size: 15px;
line-height: 2.4;
}


body.page-ویکی‌پدیا_صفحه_تمرین #ca-edit,
.quran-text {
body.page-ویکی‌پدیا_آشنایی #ca-edit {
font-size: 18px;
border: 1px dotted #36c;
}
}
body.page-ویکی‌پدیا_صفحه_تمرین #ca-edit:hover,
 
body.page-ویکی‌پدیا_آشنایی #ca-edit:hover {
.quran-text span:nth-child(1) {
background: none repeat scroll 0 0 white;
    padding: 0 0 0 2px;
border-color: transparent;
}
}
body.page-صفحهٔ_اصلی #mp-topbanner {
 
clear: both;
.quran-text span:nth-child(2) {
font-family: Quran, Tahoma,'DejaVu Sans';
word-spacing: 3px;
color: #215e21;
font-size: 18px;
line-height: normal;
}
}


body.page-صفحهٔ_اصلی #ca-delete,
.quran-text span:nth-child(3) {
body.page-صفحهٔ_اصلی #deleteconfirm,
    padding: 0 2px 0 0;
body.page-صفحهٔ_اصلی #t-cite,
body.page-صفحهٔ_اصلی #lastmod,
body.page-صفحهٔ_اصلی #siteSub,
body.page-صفحهٔ_اصلی #contentSub,
body.page-صفحهٔ_اصلی #catlinks,
body.page-صفحهٔ_اصلی #centralNotice,
body.page-درگاه_ورودی #siteSub,
body.page-درگاه_ورودی h1.firstHeading {
display: none !important;
}
}


body.page-صفحهٔ_اصلی #ca-history,
.arabic-text {
body.page-صفحهٔ_اصلی #pagehistory {
font-family: 'Amiri', serif;
display: none;
color: #202122;
}
font-size: 18px;
line-height: 2.4;
word-spacing: -1px;
}


/* تراز راست برای پیوند «ویرایش پیوندهای میان‌ویکی» در نوار کناری پوستهٔ وکتور جدید */
.hadith-text {
.wb-langlinks-link {
font-family: 'Amiri', serif;
text-align : right;
color: #215e21;
font-size: 18px;
line-height: 2.4;
word-spacing: -1px;
}
}


/* Make the list of references in [[Template:Reflist]] smaller */
.references-small .quran-text {
.references-small {  
    font-size: 17px;
font-size: 90%;
}
}


/* Highlight clicked reference in blue to help navigation */
.references-small .hadith-text, .references-small .arabic-text {
ol.references > li:target,
    font-size: 19px;
sup.reference:target,
span.citation:target, cite:target {  
background-color: #ecf0fa;
}
}
/* Ace editor now supports RTL editing but a monospace font with Arabic should be set for correct functionality */
.ace_editor { font-family: 'Courier New', monospace!important; }


/* Ensure refs in table headers and the like aren't bold or italic */
/* force these to use inherited font configuration */
sup.reference {
.ui-widget, .ui-widget *, button, input, select, optgroup {
font-weight: normal;
font-family: inherit;
font-style: normal;
}
}
/* end */


/* Styling for citations */
dfn {
span.citation, cite {
font-style: inherit;  /* Reset default styling for <dfn> */
word-wrap: break-word;
}
sup, sub {
line-height: 1em;    /* Reduce line-height for <sup> and <sub> */
}
}
/* --------------------- End Font Style ----------------- */


/* If there is an inline link to a full citation, the full citation will turn blue when the inline link is clicked */
/* --------------------- Begin Custom Style ----------------- */
cite:target {
#siteSub {
background-color: #ecf0fa;
    display: block;
    font-size: 0.8125rem;
}
}


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


@media screen, handheld, projection {
.hatnote {
cite *.printonly {
padding: 5px 7px;
display: none;
color: #54595d;
}
font-size: 0.8125rem;
overflow: hidden;
}
}


/* Style for horizontal lists (separator following item) */
.mw-parser-output .hatnote {
font-style: normal;
}


.skin-monobook .hlist dl,
/* Min dist for h2 header with Samim font أ */
.skin-modern .hlist dl,
.mw-body-content h2 {
.skin-vector .hlist dl {
padding: 0.2em 0 0 0;
line-height: 1.5em;
}
}
/* Style for horizontal lists (separator following item).
 
  IE8-specific classes are assigned in [[MediaWiki:Common.js/IEFixes.js]].
/* Show red links only for uesrs */
  @source mediawiki.org/wiki/Snippets/Horizontal_lists
a.new, h2 a, h3 a {
  @revision 5 (2014-02-24)
  color: unset;
  @author [[User:Edokter]]
*/
.hlist dl,
.hlist ol,
.hlist ul {
margin: 0;
padding: 0;
}
}
/* Display list items inline */
 
.hlist dd,
/* References list */
.hlist dt,
.im-references {
.hlist li {
max-height: 300px;
margin: 0;
overflow: auto;
display: inline;
padding: 5px 0 5px 5px;
background: #f8f9fa;
}
}
/* Display nested lists inline */
/* --------------------- End Custom Style ----------------- */
.hlist.inline,
 
.hlist.inline dl,
/* --------------------- Begin Persian Wikipedia Style----------------- */
.hlist.inline ol,
/* Main page fixes */
.hlist.inline ul,
 
.hlist dl dl, .hlist dl ol, .hlist dl ul,
body.page-امامت‌پدیا_صفحه_تمرین #ca-edit,
.hlist ol dl, .hlist ol ol, .hlist ol ul,
body.page-امامت‌پدیا_آشنایی #ca-edit {
.hlist ul dl, .hlist ul ol, .hlist ul ul {
border: 1px dotted #36c;
display: inline;
}
}
/* Generate interpuncts */
body.page-امامت‌پدیا_صفحه_تمرین #ca-edit:hover,
.hlist dt:after {
body.page-امامت‌پدیا_آشنایی #ca-edit:hover {
content: ": ";
background: none repeat scroll 0 0 white;
border-color: transparent;
}
}
.hlist dd:after,
body.page-صفحهٔ_اصلی #mp-topbanner {
.hlist li:after {
clear: both;
content: " • ";
/*font-weight: bold;*/
}
}
.hlist dd:last-child:after,
 
.hlist dt:last-child:after,
body.page-صفحهٔ_اصلی #ca-delete,
.hlist li:last-child:after {
body.page-صفحهٔ_اصلی #deleteconfirm,
content: none;
body.page-صفحهٔ_اصلی #t-cite,
}
body.page-صفحهٔ_اصلی #lastmod,
/* For IE8 */
body.page-صفحهٔ_اصلی #siteSub,
.hlist dd.hlist-last-child:after,
body.page-صفحهٔ_اصلی #contentSub,
.hlist dt.hlist-last-child:after,
body.page-صفحهٔ_اصلی #catlinks,
.hlist li.hlist-last-child:after {
body.page-صفحهٔ_اصلی h1.firstHeading,
content: none;
body.page-صفحهٔ_اصلی #centralNotice,
body.page-درگاه_ورودی #siteSub,
body.page-درگاه_ورودی h1.firstHeading {
display: none !important;
}
}
/* Add parentheses around nested lists */
 
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
body.page-صفحهٔ_اصلی #ca-history,
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
body.page-صفحهٔ_اصلی #pagehistory {
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
display: none;
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 {
.wb-langlinks-link {
content: ") ";
text-align : right;
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,
/* Make the list of references in [[Template:Reflist]] smaller */
.hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after,
.references-small {  
.hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after {
font-size: 90%;
content: ") ";
font-weight: normal;
}
}
/* Put ordinals in front of ordered list items */
 
.hlist ol {
/* Highlight clicked reference in blue to help navigation */
counter-reset: listitem;
ol.references > li:target,
sup.reference:target,
span.citation:target, cite:target {  
background-color: #ecf0fa;
}
}
.hlist ol > li {
 
counter-increment: listitem;
/* Ensure refs in table headers and the like aren't bold or italic */
sup.reference {
font-weight: normal;
font-style: normal;
}
}
.hlist ol > li:before {
 
content: " " counter(listitem) " ";
/* Styling for citations */
content: " " counter(listitem, persian) " ";
span.citation, cite {
white-space: nowrap;
word-wrap: break-word;
}
}
.hlist dd ol > li:first-child:before,
 
.hlist dt ol > li:first-child:before,
/* If there is an inline link to a full citation, the full citation will turn blue when the inline link is clicked */
.hlist li ol > li:first-child:before {
cite:target {  
content: " (" counter(listitem) " ";
background-color: #ecf0fa;
content: " (" counter(listitem, persian) " ";
}
}


/* فهرست بدون گلوله */
/* 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 */
.plainlist ul {
 
line-height: inherit;
@media screen, handheld, projection {
list-style: none none;
cite *.printonly {
margin: 0;
display: none;
}
}
.plainlist ul li {
margin-bottom: 0;
}
}


/* Normal font styling for table row headers with scope="row" tag */
/* Style for horizontal lists (separator following item) */
.wikitable.plainrowheaders th[scope=row] {
 
font-weight: normal;
.skin-monobook .hlist dl,
/* @noflip */
.skin-modern .hlist dl,
text-align: right;
.skin-vector .hlist dl {
line-height: 1.5em;
}
}
/* Style for horizontal lists (separator following item).
/* Lists in data cells are always left-aligned */
  IE8-specific classes are assigned in [[MediaWiki:Common.js/IEFixes.js]].
html[dir=rtl] .wikitable td ul,
  @source mediawiki.org/wiki/Snippets/Horizontal_lists
html[dir=rtl] .wikitable td ol,
  @revision 5 (2014-02-24)
html[dir=rtl] .wikitable td dl {
  @author [[User:Edokter]]
/* @noflip */
*/
text-align: right;
.hlist dl,
.hlist ol,
.hlist ul {
margin: 0;
padding: 0;
}
}
/* ...unless they also use the hlist class */
/* Display list items inline */
html[dir=rtl] .wikitable.hlist td ul,
.hlist dd,
html[dir=rtl] .wikitable.hlist td ol,
.hlist dt,
html[dir=rtl] .wikitable.hlist td dl {
.hlist li {
text-align: inherit;
margin: 0;
display: inline;
}
}
 
/* Display nested lists inline */
/* Default style for navigation boxes */
.hlist.inline,
.navbox {                    /* Navbox container style */
.hlist.inline dl,
box-sizing: border-box;
.hlist.inline ol,
border: 1px solid #a2a9b1;
.hlist.inline ul,
width: 100%;
.hlist dl dl, .hlist dl ol, .hlist dl ul,
margin: auto;
.hlist ol dl, .hlist ol ol, .hlist ol ul,
clear: both;
.hlist ul dl, .hlist ul ol, .hlist ul ul {
font-size: 88%;
display: inline;
text-align: center;
}
padding: 1px;
/* Generate interpuncts */
.hlist dt:after {
content: ": ";
}
}
.navbox-inner,
.hlist dd:after,
.navbox-subgroup {
.hlist li:after {
width: 100%;
content: " • ";
font-family: Tahoma,'Noto Serif','Droid Arabic Naskh','DejaVu Sans',serif !important;
}
}
.navbox-group,
.hlist dd:last-child:after,
.navbox-title,
.hlist dt:last-child:after,
.navbox-abovebelow {
.hlist li:last-child:after {
padding: 0.25em 1em;      /* Title, group and above/below styles */
content: none;
line-height: 1.5em;
text-align: center;
}
}
th.navbox-group {            /* Group style */
/* For IE8 */
white-space: nowrap;
.hlist dd.hlist-last-child:after,
/* @noflip */
.hlist dt.hlist-last-child:after,
text-align: right;
.hlist li.hlist-last-child:after {
content: none;
}
}
.navbox,
/* Add parentheses around nested lists */
.navbox-subgroup {
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
background: #f8f9fa;     /* Background color */
.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;
}
}
.navbox-list {
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
line-height: 1.8em;
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
border-color: #f8f9fa;   /* Must match background color */
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
content: ") ";
font-weight: normal;
}
}
.navbox th,
/* For IE8 */
.navbox-title {
.hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after,
background: #b3ccff;     /* Level 1 color */
.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;
}
}
.navbox-abovebelow,
/* Put ordinals in front of ordered list items */
th.navbox-group,
.hlist ol {
.navbox-subgroup .navbox-title {
counter-reset: listitem;
background: #dbe7ff;     /* Level 2 color */
}
}
.navbox-subgroup .navbox-group,
.hlist ol > li {
.navbox-subgroup .navbox-abovebelow {
counter-increment: listitem;
background: #e5edff;     /* Level 3 color */
}
}
.navbox-even {
.hlist ol > li:before {
background: #f8f9fa;     /* Even row striping */
content: " " counter(listitem) " ";
content: " " counter(listitem, -moz-persian) " ";
content: " " counter(listitem, persian) " ";
white-space: nowrap;
}
}
.navbox-odd {
.hlist dd ol > li:first-child:before,
background: transparent; /* Odd row striping */
.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) " ";
}
}
table.navbox + table.navbox {  /* Single pixel border between adjacent navboxes */
 
margin-top: -1px;         /* (doesn't work for IE6, but that's okay)      */
/* فهرست بدون گلوله */
.plainlist ul {
line-height: inherit;
list-style: none none;
margin: 0;
}
}
.navbox .hlist td dl,
.plainlist ul li {
.navbox .hlist td ol,
margin-bottom: 0;
.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 */
}
}


/* RTL fix for navbox-list bullet lists; See [[Special:Permalink/24864265#خطای ظاهری]]. */
/* Normal font styling for table row headers with scope="row" tag */
.navbox-list li {
.wikitable.plainrowheaders th[scope=row] {
unicode-bidi: isolate;
}
 
/* Default styling for Navbar template */
.navbar {
display: inline;
font-size: 88%;
font-weight: normal;
font-weight: normal;
/* @noflip */
text-align: right;
}
}
.navbar ul {
display: inline;
/* Lists in data cells are always left-aligned */
white-space: nowrap;
.wikitable td ul,
.wikitable td ol,
.wikitable td dl {
/* @noflip */
text-align: right;
}
}
.navbar li {
/* ...unless they also use the hlist class */
word-spacing: -0.125em;
.wikitable.hlist td ul,
.wikitable.hlist td ol,
.wikitable.hlist td dl {
text-align: inherit;
}
}
.navbar.mini li { /* span is removed */
 
font-size: xx-small;
/* Default style for navigation boxes */
.navbox {                     /* Navbox container style */
box-sizing: border-box;
border: 1px solid #a2a9b1;
width: 100%;
margin: auto;
clear: both;
font-size: 88%;
text-align: center;
padding: 1px;
}
}
.nv-talk > a {
.navbox-inner,
color: #002BB8;
.navbox-subgroup {
width: 100%;
}
}
/* Navbar styling when nested in infobox and navbox */
.navbox-group,
.infobox .navbar {
.navbox-title,
font-size: 100%;
.navbox-abovebelow {
padding: 0.25em 1em;      /* Title, group and above/below styles */
line-height: 1.5em;
text-align: center;
}
}
.navbox .navbar {
th.navbox-group {             /* Group style */
display: block;
white-space: nowrap;
font-size: 100%;
}
.navbox-title .navbar {
/* @noflip */
float: right;
/* @noflip */
/* @noflip */
text-align: right;
text-align: right;
/* @noflip */
margin-left: 0.5em;
width: 6em;
}
}
 
.navbox,
/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
.navbox-subgroup {
  in [[MediaWiki:Common.js]] are styled here so they can be customised. */
background: #f8f9fa;      /* Background color */
.collapseButton {
}
/* @noflip */
.navbox-list {
float: left;
line-height: 1.8em;
font-weight: normal;
border-color: #f8f9fa;   /* Must match background color */
/* @noflip */
margin-right: 0.5em;
/* @noflip */
text-align: left;
width: auto;
}
}
/* In navboxes, the show/hide button balances the v·d·e links
.navbox th,
  from [[Template:Navbar]], so they need to be the same width. */
.navbox-title {
.navbox .collapseButton {
background: #b3ccff;     /* Level 1 color */
width: 6em;
}
}
 
.navbox-abovebelow,
/* Styling for JQuery makeCollapsible, matching that of collapseButton */
th.navbox-group,
.mw-parser-output .mw-collapsible-toggle {
.navbox-subgroup .navbox-title {
font-weight: normal;
background: #dbe7ff;      /* Level 2 color */
/* @noflip */
}
text-align: left;
.navbox-subgroup .navbox-group,
padding-right: 0.2em;
.navbox-subgroup .navbox-abovebelow {
padding-left: 0.2em;
background: #e5edff;     /* Level 3 color */
}
.navbox-even {
background: #f8f9fa;     /* Even row striping */
}
}
 
.navbox-odd {
.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
background: transparent; /* Odd row striping */
/* @noflip */
float: right;
/* @noflip */
text-align: right;
}
}
 
table.navbox + table.navbox {  /* Single pixel border between adjacent navboxes */
/* Infobox template style */
margin-top: -1px;         /* (doesn't work for IE6, but that's okay)      */
.infobox {
}
border: 1px solid #a2a9b1;
.navbox .hlist td dl,
border-spacing: 3px;
.navbox .hlist td ol,
background-color: #f8f9fa;
.navbox .hlist td ul,
color: black;
.navbox td.hlist dl,
/* @noflip */
.navbox td.hlist ol,
margin: 0.5em 1em 0.5em 0;
.navbox td.hlist ul {
padding: 0.2em;
padding: 0.125em 0;       /* Adjust hlist padding in navboxes */
/* @noflip */
}
float: left;
ol + table.navbox,
/* @noflip */
ul + table.navbox {
clear: left;
margin-top: 0.5em;       /* Prevent lists from clinging to navboxes */
font-size: 88%;
line-height: 1.5em;
width: 22em;
}
}


/* not strictly certain these styles are necessary
/* RTL fix for navbox-list bullet lists; See [[Special:Permalink/24864265#خطای ظاهری]]. */
* just replicating the module faithfully
.navbox-list li {
*/
unicode-bidi: isolate;
.infobox-subbox {
padding: 0;
border: none;
margin: -3px;
width: auto;
min-width: 100%;
font-size: 100%;
clear: none;
float: none;
background-color: transparent;
}
}


.infobox-header,
/* Default styling for Navbar template */
.infobox-label,
.navbar {
.infobox-above,
display: inline;
.infobox-full-data,
font-size: 88%;
.infobox-data,
font-weight: normal;
.infobox-below,
}
.infobox-subheader,
.navbar ul {
.infobox-image,
display: inline;
.infobox-navbar,
white-space: nowrap;
/* Remove element declaration when both a) infobox3cols is migrated and
* b) when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
vertical-align: top;
}
}
 
.navbar li {
.infobox-label,
word-spacing: -0.125em;
.infobox-data,
/* Remove element declaration when both a) infobox3cols is migrated and
* b) when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
/* @noflip */
text-align: right;
}
}
 
.navbar.mini li { /* span is removed */
/* remove .infobox from below new class names when live */
font-size: xx-small;
.infobox .infobox-above,
.infobox .infobox-title, /* TODO remove caption line when class is live */
.infobox caption{
font-size: 125%;
font-weight: bold;
text-align: center;
}
}
 
.nv-talk > a {
.infobox caption, /* TODO remove caption line when class is live */
color: #002BB8;
.infobox-title {
padding: 0.2em;
}
}
 
/* Navbar styling when nested in infobox and navbox */
.infobox .infobox-header,
.infobox .navbar {
.infobox .infobox-subheader,
font-size: 100%;
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
text-align: center;
}
}
 
.navbox .navbar {
.infobox .infobox-navbar {
display: block;
text-align: left;
font-size: 100%;
}
}
 
.navbox-title .navbar {
.infobox.bordered {
/* @noflip */
border-collapse: collapse;
float: right;
/* @noflip */
text-align: right;
/* @noflip */
margin-left: 0.5em;
width: 6em;
}
}


/* TODO split definitions to appropriate class names when live from HTML element */
/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
.infobox.bordered td,
  in [[MediaWiki:Common.js]] are styled here so they can be customised. */
.infobox.bordered th {
.collapseButton {
border: 1px solid #a2a9b1;
/* @noflip */
}
float: left;
 
font-weight: normal;
/* TODO split definitions to appropriate class names when live from HTML element */
/* @noflip */
.infobox.bordered .borderless td,
margin-right: 0.5em;
.infobox.bordered .borderless th {
/* @noflip */
border: 0;
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.sisterproject {
/* Styling for JQuery makeCollapsible, matching that of collapseButton */
width: 20em;
.mw-parser-output .mw-collapsible-toggle {
font-size: 90%;
font-weight: normal;
/* @noflip */
text-align: left;
padding-right: 0.2em;
padding-left: 0.2em;
}
}


/* styles for bordered infobox with merged rows */
.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
/* TODO split definitions to appropriate class names when live from HTML element */
/* @noflip */
.infobox.bordered .mergedtoprow td,
float: right;
.infobox.bordered .mergedtoprow th {
border: 0;
border-top: 1px solid #a2a9b1;
/* @noflip */
/* @noflip */
border-left: 1px solid #a2a9b1;
text-align: right;
}
}


/* TODO split definitions to appropriate class names when live from HTML element */
/* Infobox template style */
.infobox.bordered .mergedrow td,
.infobox {
.infobox.bordered .mergedrow th {
border: 1px solid #a2a9b1;
border: 0;
border-spacing: 3px;
background-color: #f8f9fa;
color: black;
/* @noflip */
/* @noflip */
border-left: 1px solid #a2a9b1;
margin: 0.5em 1em 0.5em 0;
}
padding: 0.2em;
 
/* @noflip */
/* Styles for geography infoboxes, eg countries,
float: left;
  country subdivisions, cities, etc.            */
/* @noflip */
.infobox.geography {
clear: left;
border-collapse: collapse;
font-size: 88%;
line-height: 1.2em;
line-height: 1.5em;
font-size: 90%;
width: 22em;
}
}


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


/* TODO split definitions to appropriate class names when live from HTML element */
.infobox-header,
.infobox.geography .mergedrow td,
.infobox-label,
.infobox.geography .mergedrow th {
.infobox-above,
border: 0;
.infobox-full-data,
padding: 0 0.6em 0.2em 0.6em;
.infobox-data,
}
.infobox-below,
 
.infobox-subheader,
/* TODO split definitions to appropriate class names when live from HTML element */
.infobox-image,
.infobox.geography .mergedbottomrow td,
.infobox-navbar,
.infobox.geography .mergedbottomrow th {
/* Remove element declaration when both a) infobox3cols is migrated and
border-top: 0;
* b) when every .infobox thing is using the standard module/templates  */
border-bottom: 1px solid #a2a9b1;
.infobox th,
padding: 0 0.6em 0.4em 0.6em;
.infobox td {
vertical-align: top;
}
}


/* TODO split definitions to appropriate class names when live from HTML element */
.infobox-label,
.infobox.geography .maptable td,
.infobox-data,
.infobox.geography .maptable th {
/* Remove element declaration when both a) infobox3cols is migrated and
border: 0;
* b) when every .infobox thing is using the standard module/templates  */
padding: 0;
.infobox th,
.infobox td {
/* @noflip */
text-align: right;
}
}


/* Style for "notices" */
/* remove .infobox from below new class names when live */
.notice {
.infobox .infobox-above,
margin: 1em;
.infobox .infobox-title, /* TODO remove caption line when class is live */
.infobox caption{
font-size: 125%;
font-weight: bold;
text-align: center;
padding: 5px 0;
}
 
.infobox caption, /* TODO remove caption line when class is live */
.infobox-title {
padding: 0.2em;
padding: 0.2em;
}
}


#disambig {
.infobox .infobox-header,
border-top: 1px solid #c8ccd1;
.infobox .infobox-subheader,
border-bottom: 1px solid #c8ccd1;
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
text-align: center;
}
}


.notice-text, .toggle-box, .red-button, .goal, div.red-button, div.siteNoticeSmall, div#siteNotice {
.infobox .infobox-navbar {
font-family: inherit;
text-align: left;
}
}


DIV.siteNoticeSmall {
.infobox.bordered {
font-size: 15pt;
border-collapse: collapse;
}
}


/* Persondata and other (future) metadata */
/* TODO split definitions to appropriate class names when live from HTML element */
table.InChI, /* temporary */
.infobox.bordered td,
table.persondata {
.infobox.bordered th {
border: 1px solid #a2a9b1;
border: 1px solid #a2a9b1;
display: none;
speak: none;
}
.InChI-label, /* temporary */
.persondata-label {
color: #a2a9b1;
}
}


/* 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 .borderless td,
background: url("//upload.wikimedia.org/wikipedia/commons/3/3f/Gnome_speakernotes_30px.png");
.infobox.bordered .borderless th {
/* @noflip */
border: 0;
padding-right: 40px;
}
}


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;
padding: 0 !important;
}
}


/* Messagebox templates */
DIV.siteNoticeSmall {
.messagebox {
font-size: 15pt;
border: 1px solid #a2a9b1;
}
background-color: #f8f9fa;
 
width: 80%;
/* Persondata and other (future) metadata */
margin: 0 auto 1em auto;
table.InChI, /* temporary */
padding: .2em;
table.persondata {
border: 1px solid #a2a9b1;
display: none;
speak: none;
}
}
.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,
/* @noflip */
div#mw_content a[href$=".pdf"].external,
float: left;
div#mw_content a[href*=".pdf?"].external,
clear: both;
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 */
margin: 0 0 1em 1em;
padding-left: 18px;
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: #fff2cc;
}
}


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


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 */
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. */
table.fmbox-system {
/* @noflip */
background: #f8f9fa;
margin: 4px 0 4px 1em;
box-sizing: border-box;
overflow: hidden;
width: 238px;
border-collapse: collapse;
font-size: 88%;
line-height: 1.25em;
}
}
 
table.fmbox-warning {
/* Style for compact ambox */
border: 1px solid #DD0000;  /* Dark pink */
/* Hide the images */
background: #fee7e6;        /* Pink */
.compact-ambox table .mbox-image,
.compact-ambox table .mbox-imageright,
.compact-ambox table .mbox-empty-cell {
display: none;
}
}
 
table.fmbox-editnotice {
/* Remove borders, backgrounds, padding, etc. */
background: transparent;
.compact-ambox table.ambox {
border: none;
border-collapse: collapse;
background-color: transparent;
margin: 0 1.6em 0 0 !important;
padding: 0 !important;
width: auto;
display: block;
}
}
 
/* Div based "warning" style fmbox messages. */
body.mediawiki .compact-ambox table.mbox-small-left {
div.mw-warning-with-logexcerpt,
font-size: 100%;
div.mw-lag-warn-high,
width: auto;
div.mw-cascadeprotectedwarning,
margin: 0;
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.
/* Style the text cell as a list item and remove its padding */
  Used in [[MediaWiki:Readonly lag]]. */
.compact-ambox table .mbox-text {
div.mw-lag-warn-normal,
padding: 0 !important;
div.fmbox-system {
margin: 0 !important;
clear: both;
margin: 0.2em 0;
border: 1px solid #a2a9b1;
background: #f8f9fa;
padding: 0.25em 0.9em;
}
}
 
.compact-ambox table .mbox-text-span {
/* These mbox-small classes must be placed after all other
display: list-item;
  ambox/tmbox/ombox etc classes. "body.mediawiki" is so
line-height: 1.5em;
  they override "table.ambox + table.ambox" above. */
list-style-type: square;
html body.mediawiki .mbox-small {   /* For the "small=yes" option. */
list-style-image: url(/w/skins/MonoBook/resources/images/bullet.svg);
/* @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. */
/* Allow for hiding text in compact form */
/* @noflip */
.compact-ambox .hide-when-compact {
margin: 4px 0 4px 1em;
display: none;
box-sizing: border-box;
overflow: hidden;
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 */
/* Style for compact ambox */
#file img {
/* Hide the images */
background: url("//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;
.compact-ambox table .mbox-image,
.compact-ambox table .mbox-imageright,
.compact-ambox table .mbox-empty-cell {
display: none;
}
}


#wpSave {
/* Remove borders, backgrounds, padding, etc. */
font-weight: bold;
.compact-ambox table.ambox {
border: none;
border-collapse: collapse;
background-color: transparent;
margin: 0 1.6em 0 0 !important;
padding: 0 !important;
width: auto;
display: block;
}
}


/* suppress missing interwiki image links where #ifexist cannot be used due to high number of requests */
body.mediawiki .compact-ambox table.mbox-small-left {
/* use restricted to rail icon management pages */
font-size: 100%;
/* see .hidden-redlink on //meta.wikimedia.org/wiki/MediaWiki:Common.css */
width: auto;
.check-icon a.new {
margin: 0;
display: none;  
speak:none;
}
}


/* Removes underlines from links */
/* Style the text cell as a list item and remove its padding */
.nounderlines a {  
.compact-ambox table .mbox-text {
text-decoration: none;
padding: 0 !important;
margin: 0 !important;
}
}


/* Remove underline from IPA links */
.compact-ambox table .mbox-text-span {
.IPA a:link, .IPA a:visited {
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);
}
}


/* Removes useless links from printout */
/* Allow for hiding text in compact form */
@media print {
.compact-ambox .hide-when-compact {
#privacy, #about, #disclaimer {display:none;}
display: none;
}
}


#EnWpMpBook { background-image: url(//upload.wikimedia.org/wikipedia/en/7/7e/MP-open-book.png); }
/* Put a checker background at the image description page only visible if the image has transparent background */
#EnWpMpSearch { background: url(//upload.wikimedia.org/wikipedia/en/a/ae/MP-magnifying-glass.png) no-repeat top left; }
#file img {
#EnWpMpSearchInner { float: left; width: 20em; text-align: center; }
background: url("//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;
#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]]. */
#wpSave {
font-weight: bold;
}


div.Boxmerge,
/* suppress missing interwiki image links where #ifexist cannot be used due to high number of requests */
div.NavFrame {
/* use restricted to rail icon management pages */
margin: 0px;
/* see .hidden-redlink on //meta.wikimedia.org/wiki/MediaWiki:Common.css */
padding: 4px;
.check-icon a.new {
border: 1px solid #a2a9b1;
display: none;  
text-align: center;
speak:none;
border-collapse: collapse;
font-size: 95%;
}
}
div.Boxmerge div.NavFrame {
 
border-style: none;
/* Removes underlines from links */
border-style: hidden;
.nounderlines a {  
text-decoration: none;
}
}
div.NavFrame + div.NavFrame {
 
border-top-style: none;
/* Remove underline from IPA links */
border-top-style: hidden;
.IPA a:link, .IPA a:visited {
text-decoration: none;
}
}
div.NavPic {
 
background-color: #fff;
/* Removes useless links from printout */
margin: 0px;
@media print {
padding: 2px;
#privacy, #about, #disclaimer {display:none;}
float: right;
}
}
div.NavFrame div.NavHead {
 
height: 1.6em;
#EnWpMpBook { background-image: url(//upload.wikimedia.org/wikipedia/en/7/7e/MP-open-book.png); }
font-weight: bold;
#EnWpMpSearch { background: url(//upload.wikimedia.org/wikipedia/en/a/ae/MP-magnifying-glass.png) no-repeat top left; }
background-color: #b3ccff;
#EnWpMpSearchInner { float: left; width: 20em; text-align: center; }
position:relative;
#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 #a2a9b1;
text-align: center;
border-collapse: collapse;
font-size: 95%;
}
}
div.NavFrame div.NavHead:hover {
div.Boxmerge div.NavFrame {
background-color: #aaf;
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: #b3ccff;
position:relative;
}
div.NavFrame div.NavHead:hover {
background-color: #aaf;
}
}
div.NavFrame p {
div.NavFrame p {
خط ۱٬۱۹۸: خط ۱٬۲۹۸:


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

منوی ناوبری