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

۱٬۵۴۳ بایت اضافه‌شده ،  ‏۱۱ نوامبر ۲۰۲۴
بدون خلاصۀ ویرایش
جزبدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
 
(۲۴ نسخهٔ میانی ویرایش شده توسط ۲ کاربر نشان داده نشد)
خط ۳۴: خط ۳۴:


@font-face {
@font-face {
font-family: 'Amiri';
font-family: 'KFGQPCUthmanTahaNaskh';
font-style: italic;
font-style: normal;
font-weight: 400;
font-weight: 400;
font-display: swap;
font-display: swap;
src: url('/static/fonts/Amiri-Italic.woff2') format('woff2');
src: url('/static/fonts/KFGQPCUthmanTahaNaskh.woff2') format('woff2');
}
 
@font-face {
font-family: 'Amiri';
font-style: italic;
font-weight: 700;
font-display: swap;
src: url('/static/fonts/Amiri-BoldItalic.woff2') format('woff2');
}
}


@font-face {
@font-face {
font-family: 'Amiri';
font-family: 'Alaem';
font-style: normal;
font-style: normal;
font-weight: 400;
font-weight: 400;
font-display: swap;
font-display: swap;
src: url('/static/fonts/Amiri-Regular.woff2') format('woff2');
src: url('/static/fonts/Alaem-Regular.woff2') format('woff2');
}
}
@font-face {
@font-face {
font-family: 'Amiri';
    font-family: 'Amiri';
font-style: normal;
font-style: normal;
font-weight: 700;
font-weight: 700;
font-display: swap;
font-display: swap;
src: url('/static/fonts/Amiri-Bold.woff2') format('woff2');
src: url('/static/fonts/Amiri-Bold.woff2') format('woff2'),
}
}


@font-face {
.alaem-a {
font-family: 'Noto Naskh Arabic';
font-family: 'Alaem';
font-style: normal;
font-size: 2.25em;
font-weight: 400;
line-height: .9rem;
font-display: swap;
src: url('/static/fonts/NotoNaskhArabic-Regular.woff2') format('woff2');
}
}
 
.alaem-s {
@font-face {
font-family: 'Alaem';
font-family: 'Noto Naskh Arabic';
font-size: 1.63em;
font-style: normal;
line-height: .9rem;
font-weight: 500;
font-display: swap;
src: url('/static/fonts/NotoNaskhArabic-Medium.woff2') format('woff2');
}
}


@font-face {
font-family: 'Noto Naskh Arabic';
font-style: normal;
font-weight: 600;
font-display: swap;
src: url('/static/fonts/NotoNaskhArabic-SemiBold.woff2') format('woff2');
}


@font-face {
body {
font-family: 'Noto Naskh Arabic';
font-family: Samim, Tahoma, 'Noto Serif', 'Droid Arabic Naskh', 'DejaVu Sans', serif !important;
font-style: normal;
font-weight: 700;
font-display: swap;
src: url('/static/fonts/NotoNaskhArabic-Bold.woff2') format('woff2');
}
}


@font-face {
#content.mw-body  h1, #content.mw-body  h2, #content.mw-body  #firstHeading,
font-family: 'Lateef';
#content.mw-body  .mw-editsection, .mw-body .mw-editsection-like,
font-style: normal;
#content.mw-body  #toc h2, #content.mw-body  .toc h2, .vector-sticky-header-context-bar-primary,
font-weight: 200;
#template-documentation, #documentation-meta-data{
font-display: swap;
font-family: Samim, Tahoma, 'Noto Serif', 'Droid Arabic Naskh', 'DejaVu Sans', serif !important;
src: url('/static/fonts/Lateef-ExtraLight.woff2') format('woff2');
line-height: 1.6;
}
}


@font-face {
textarea {
font-family: 'Lateef';
font-family: Samim, 'Courier New', monospace;
font-style: normal;
font-weight: 300;
font-display: swap;
src: url('/static/fonts/Lateef-Light.woff2') format('woff2');
}
}


@font-face {
.mw-body-content {
font-family: 'Lateef';
font-kerning: auto;
font-style: normal;
font-size: 15px;
font-weight: 400;
line-height: 2.4;
font-display: swap;
src: url('/static/fonts/Lateef-Regular.woff2') format('woff2');
}
}


@font-face {
.quran-text {
font-family: 'Lateef';
font-size: 18px;
font-style: normal;
font-weight: 500;
font-display: swap;
src: url('/static/fonts/Lateef-Medium.woff2') format('woff2');
}
@font-face {
font-family: 'Lateef';
font-style: normal;
font-weight: 600;
font-display: swap;
src: url('/static/fonts/Lateef-SemiBold.woff2') format('woff2');
}
}


@font-face {
.quran-text span:nth-child(1) {
font-family: 'Lateef';
    padding: 0 0 0 2px;
font-style: normal;
font-weight: 700;
font-display: swap;
src: url('/static/fonts/Lateef-Bold.woff2') format('woff2');
}
}


@font-face {
.quran-text span:nth-child(2) {
font-family: 'Lateef';
font-family: Quran, Tahoma,'DejaVu Sans';
font-style: normal;
word-spacing: 3px;
font-weight: 800;
color: #215e21;
font-display: swap;
font-size: 18px;
src: url('/static/fonts/Lateef-ExtraBold.woff2') format('woff2');
line-height: normal;
}
}


body {
.quran-text span:nth-child(3) {
font-family: Samim, Tahoma, 'Noto Serif', 'Droid Arabic Naskh', 'DejaVu Sans', serif !important;
    padding: 0 2px 0 0;
}
}


#content.mw-body  h1, #content.mw-body  h2, #content.mw-body  #firstHeading,
.arabic-text {
#content.mw-body  .mw-editsection, .mw-body .mw-editsection-like,
font-family: 'KFGQPCUthmanTahaNaskh';
#content.mw-body  #toc h2, #content.mw-body  .toc h2, .vector-sticky-header-context-bar-primary,
color: #202122;
#template-documentation, #documentation-meta-data{
font-size: 1.37em;
font-family: Samim, Tahoma, 'Noto Serif', 'Droid Arabic Naskh', 'DejaVu Sans', serif !important;
line-height: 1.9;
line-height: 1.6;
}
}


textarea {
.hadith-text {
font-family: Samim, 'Courier New', monospace;
font-family: 'KFGQPCUthmanTahaNaskh';
color: #215e21;
font-size: 1.37em;
line-height: 1.9;
}
}


.mw-body-content {
.references-small .quran-text {
font-kerning: auto;
    font-size: 17px;
font-size: 15px;
line-height: 2.4;
}
}


.quran-text {
.references-small .arabic-text, .references-small .hadith-text {
font-size: 18px;
    font-size: 17px;
}
}


.quran-text span:nth-child(1) {
/* Ace editor now supports RTL editing but a monospace font with Arabic should be set for correct functionality */
    padding: 0 0 0 2px;
.ace_editor { font-family: 'Courier New', monospace !important; }
}


.quran-text span:nth-child(2) {
/* force these to use inherited font configuration */
font-family: Quran, Tahoma,'DejaVu Sans';
.ui-widget, .ui-widget *, button, input, select, optgroup {
word-spacing: 3px;
font-family: inherit;
color: #215e21;
font-size: 18px;
line-height: normal;
}
}
/* end */


.quran-text span:nth-child(3) {
dfn {
    padding: 0 2px 0 0;
font-style: inherit;  /* Reset default styling for <dfn> */
}
sup, sub {
line-height: 1em;     /* Reduce line-height for <sup> and <sub> */
}
}
/* --------------------- End Font Style ----------------- */


.arabic-text {
/* --------------------- Begin Custom Style ----------------- */
font-family: 'Lateef',serif;
#siteSub {
color: #202122;
    display: block;
font-size: 23px;
    font-size: 0.8125rem;
line-height: 1.5;
font-weight: 300;
}
}


.hadith-text {
.mw-redirectedfrom {
font-family: 'Amiri', serif;
    display: none;
color: #215e21;
font-size: 18px;
line-height: 2.4;
}
}


.references-small .quran-text {
.hatnote {
    font-size: 17px;
padding: 5px 7px;
color: #54595d;
font-size: 0.8125rem;
overflow: hidden;
}
}


.references-small .arabic-text {
.mw-parser-output .hatnote {
    font-size: 21px;
font-style: normal;
}
}


.references-small .hadith-text {
/* Min dist for h2 header with Samim font أ */
    font-size: 19px;
.mw-body-content h2 {
padding: 0.2em 0 0 0;
}
}
/* 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; }


/* force these to use inherited font configuration */
/* Show red links only for uesrs */
.ui-widget, .ui-widget *, button, input, select, optgroup {
a.new, h2 a, h3 a {
font-family: inherit;
  color: unset;
}
}
/* end */


dfn {
/* References list */
font-style: inherit; /* Reset default styling for <dfn> */
.im-references {
max-height: 300px;
overflow: auto;
padding: 5px 0 5px 5px;
background: #f8f9fa;
}
}
sup, sub {
 
line-height: 1em;     /* Reduce line-height for <sup> and <sub> */
.vector-menu-portal .vector-menu-content li {
  font-size: 0.85em;
  line-height: 1.225em;
}
}
/* --------------------- End Font Style ----------------- */
/* --------------------- End Custom Style ----------------- */


/* --------------------- Begin Custom Style ----------------- */
/* --------------------- Begin Persian Wikipedia Style----------------- */
#siteSub {
/* Main page fixes */
    display: block;
    font-size: 0.8125rem;
}


.mw-redirectedfrom {
body.page-امامت‌پدیا_صفحه_تمرین #ca-edit,
    display: none;
body.page-امامت‌پدیا_آشنایی #ca-edit {
border: 1px dotted #36c;
}
}
 
body.page-امامت‌پدیا_صفحه_تمرین #ca-edit:hover,
.hatnote {
body.page-امامت‌پدیا_آشنایی #ca-edit:hover {
padding: 5px 7px;
background: none repeat scroll 0 0 white;
color: #54595d;
border-color: transparent;
font-size: 0.8125rem;
overflow: hidden;
}
}
 
body.page-صفحهٔ_اصلی #mp-topbanner {
.mw-parser-output .hatnote {
clear: both;
font-style: normal;
}
}


/* Min dist for h2 header with Samim font أ */
body.page-صفحهٔ_اصلی #ca-delete,
.mw-body-content h2 {
body.page-صفحهٔ_اصلی #deleteconfirm,
padding: 0.2em 0 0 0;
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;
}
}


/* Show red links only for uesrs */
body.page-صفحهٔ_اصلی #ca-history,
a.new, h2 a, h3 a {
body.page-صفحهٔ_اصلی #pagehistory {
  color: unset;
display: none;
}
}


/* References list */
/* تراز راست برای پیوند «ویرایش پیوندهای میان‌ویکی» در نوار کناری پوستهٔ وکتور جدید */
.im-references {
.wb-langlinks-link {
max-height: 300px;
text-align : right;
overflow: auto;
padding: 5px 0 5px 5px;
background: #f8f9fa;
}
}


.vector-menu-portal .vector-menu-content li {
/* Make the list of references in [[Template:Reflist]] smaller */
  font-size: 0.85em;
.references-small {  
  line-height: 1.225em;
font-size: 90%;
}
}
/* --------------------- End Custom Style ----------------- */


/* --------------------- Begin Persian Wikipedia Style----------------- */
/* Highlight clicked reference in blue to help navigation */
/* Main page fixes */
ol.references > li:target,
sup.reference:target,
span.citation:target, cite:target {
background-color: #ecf0fa;
}


body.page-امامت‌پدیا_صفحه_تمرین #ca-edit,
/* Ensure refs in table headers and the like aren't bold or italic */
body.page-امامت‌پدیا_آشنایی #ca-edit {
sup.reference {
border: 1px dotted #36c;
font-weight: normal;
font-style: normal;
}
}
body.page-امامت‌پدیا_صفحه_تمرین #ca-edit:hover,
 
body.page-امامت‌پدیا_آشنایی #ca-edit:hover {
/* Styling for citations */
background: none repeat scroll 0 0 white;
span.citation, cite {
border-color: transparent;
word-wrap: break-word;
}
}
body.page-صفحهٔ_اصلی #mp-topbanner {
 
clear: both;
/* If there is an inline link to a full citation, the full citation will turn blue when the inline link is clicked */
cite:target {  
background-color: #ecf0fa;
}
}


body.page-صفحهٔ_اصلی #ca-delete,
/* 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 */
body.page-صفحهٔ_اصلی #deleteconfirm,
body.page-صفحهٔ_اصلی #t-cite,
body.page-صفحهٔ_اصلی #lastmod,
body.page-صفحهٔ_اصلی #siteSub,
body.page-صفحهٔ_اصلی #contentSub,
body.page-صفحهٔ_اصلی #catlinks,
body.page-صفحهٔ_اصلی h1.firstHeading,
body.page-صفحهٔ_اصلی #centralNotice,
body.page-درگاه_ورودی #siteSub,
body.page-درگاه_ورودی h1.firstHeading {
display: none !important;
}


body.page-صفحهٔ_اصلی #ca-history,
@media screen, handheld, projection {
body.page-صفحهٔ_اصلی #pagehistory {
cite *.printonly {
display: none;
display: none;
}
}
}


/* تراز راست برای پیوند «ویرایش پیوندهای میان‌ویکی» در نوار کناری پوستهٔ وکتور جدید */
/* Style for horizontal lists (separator following item) */
.wb-langlinks-link {
text-align : right;
}


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


/* Default styling for Navbar template */
/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
.navbar {
  in [[MediaWiki:Common.js]] are styled here so they can be customised. */
display: inline;
.collapseButton {
font-size: 88%;
/* @noflip */
float: left;
font-weight: normal;
font-weight: normal;
/* @noflip */
margin-right: 0.5em;
/* @noflip */
text-align: left;
width: auto;
}
}
.navbar ul {
/* In navboxes, the show/hide button balances the v·d·e links
display: inline;
  from [[Template:Navbar]], so they need to be the same width. */
white-space: nowrap;
.navbox .collapseButton {
width: 6em;
}
}
.navbar li {
 
word-spacing: -0.125em;
/* Styling for JQuery makeCollapsible, matching that of collapseButton */
.mw-parser-output .mw-collapsible-toggle {
font-weight: normal;
/* @noflip */
text-align: left;
padding-right: 0.2em;
padding-left: 0.2em;
}
}
.navbar.mini li { /* span is removed */
 
font-size: xx-small;
.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
}
.nv-talk > a {
color: #002BB8;
}
/* Navbar styling when nested in infobox and navbox */
.infobox .navbar {
font-size: 100%;
}
.navbox .navbar {
display: block;
font-size: 100%;
}
.navbox-title .navbar {
/* @noflip */
/* @noflip */
float: right;
float: right;
/* @noflip */
/* @noflip */
text-align: right;
text-align: right;
/* @noflip */
margin-left: 0.5em;
width: 6em;
}
}


/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
/* Infobox template style */
  in [[MediaWiki:Common.js]] are styled here so they can be customised. */
.infobox {
.collapseButton {
border: 1px solid #a2a9b1;
/* @noflip */
border-spacing: 3px;
float: left;
background-color: #f8f9fa;
font-weight: normal;
color: black;
/* @noflip */
/* @noflip */
margin-right: 0.5em;
margin: 0.5em 1em 0.5em 0;
padding: 0.2em;
/* @noflip */
/* @noflip */
text-align: left;
float: 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 */
.mw-parser-output .mw-collapsible-toggle {
font-weight: normal;
/* @noflip */
/* @noflip */
text-align: left;
clear: left;
padding-right: 0.2em;
font-size: 88%;
padding-left: 0.2em;
line-height: 1.5em;
}
width: 22em;
 
.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
/* @noflip */
float: right;
/* @noflip */
text-align: right;
}
 
/* Infobox template style */
.infobox {
border: 1px solid #a2a9b1;
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;
width: 22em;
}
}


خط ۱٬۱۴۴: خط ۱٬۰۵۶:
/* Put a checker background at the image description page only visible if the image has transparent background */
/* Put a checker background at the image description page only visible if the image has transparent background */
#file img {
#file img {
background: url("//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;
background: url("//commons.imamatpedia.com/w/images/5/5d/Checker-16x16.png") repeat;
}
}


خط ۱٬۶۲۳: خط ۱٬۵۳۵:
/* OL with Persian alphabet used for its counter */
/* OL with Persian alphabet used for its counter */
@counter-style persian-alpha {
@counter-style persian-alpha {
system: cyclic;
system: cyclic;
symbols: "\627\644\641" "\628" "\67E" "\62A" "\62B" "\62C" "\684" "\62D" "\62E" "\62F" "\630" "\631" "\632" "\698" "\633" "\634" "\635" "\636" "\637" "\638" "\639" "\63A" "\641" "\642" "\6A9" "\6AB" "\644" "\645" "\646" "\648" "\6BE" "\6CC";
symbols: "\627\644\641" "\628" "\67E" "\62A" "\62B" "\62C" "\684" "\62D" "\62E" "\62F" "\630" "\631" "\632" "\698" "\633" "\634" "\635" "\636" "\637" "\638" "\639" "\63A" "\641" "\642" "\6A9" "\6AB" "\644" "\645" "\646" "\648" "\6BE" "\6CC";
suffix = " ";
suffix = " ";
}
 
.reflist-persian-alpha ol:lang( fa ) li {
list-style-type: persian-alpha !important;
direction: rtl;
text-align: right;
margin-left: 0;
}
 
/* Right margin for left-aligned tables */
table[align="left"] {
margin-right: 1.2em;
}
 
/* Center aligning wikitables should be as easy as using align=center */
table.wikitable[align="center"] {
margin-right: auto;
margin-left: auto;
}
 
.mw-indicator, .mw-helplink, .mw-indicator-pp-default {
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
 
/* Temporary fix for Template:Allow_wrap until T283071 is fixed */
.wrap {
  white-space: normal;
}
/* --------------------- End Persian Wikipedia Style----------------- */
/* --------------------- Start Ali ----------------- */
 
/* For portals, added 2011-12-07 -bv
  On wide screens, show these as two columns
  On narrow and mobile screens, let them collapse into a single column */
  .mainpage-portals {
float: right;
width: 12.5%;
margin: 12px auto;
}
.portal-container-2 {
display: grid;
grid-gap: 15px;
grid-template-columns: repeat(2, auto);
grid-template-rows: auto; 
width: 100%
}
.portal-container-3 {
display: grid;
grid-gap: 15px;
grid-template-columns: repeat(3, auto);
grid-template-rows: auto; 
width: 100%
}
.portal-container-4 {
display: grid;
grid-gap: 15px;
grid-template-columns: repeat(4, auto);
grid-template-rows: auto; 
width: 100%
}
.portal-container-5 {
display: grid;
grid-gap: 15px;
grid-template-columns: repeat(5, auto);
grid-template-rows: auto; 
width: 100%
}
.portal-container-6 {
display: grid;
grid-gap: 15px;
grid-template-columns: repeat(6, auto);
grid-template-rows: auto; 
width: 100%
}
.portal-container-7 {
display: grid;
grid-gap: 15px;
grid-template-columns: repeat(7, auto);
grid-template-rows: auto; 
width: 100%
}
.portal-column-2-3 {
grid-column-end: span 2;
}
.portal-column-2-4 {
grid-column-end: span 2;
}
.portal-column-3-4 {
grid-column-end: span 3;
}
.portal-column-1-2,
.portal-column-1-3,
.portal-column-1-4,
.portal-column-1-5,
.portal-column-1-6,
.portal-column-1-7 {
grid-column-end: span 1;
}
.portal-column-2-2 {
grid-column-end: span 2;
}
.portal-column-3-3 {
grid-column-end: span 3;
}
.portal-column-4-4 {
grid-column-end: span 4;
}
.portal-column-5-5 {
grid-column-end: span 5;
}
.portal-column-6-6 {
grid-column-end: span 6;
}
.portal-column-7-7 {
grid-column-end: span 7;
}
@media only screen and (max-width: 700px) {
.mainpage-portals {
width: 25%;
}
    /* Decouple the columns on narrow screens */
    .portal-container-2,
    .portal-container-3,
    .portal-container-4,
    .portal-container-5,
    .portal-container-6,
    .portal-container-7 {
display: block;
}
    .portal-column-1-2,
    .portal-column-2-4,
    .portal-column-3-4,
    .portal-column-1-3,
    .portal-column-2-3,
    .portal-column-2-2,
    .portal-column-3-3,
.portal-column-4-4,
.portal-column-5-5,
.portal-column-6-6,
.portal-column-7-7 {
        float: inherit;
        width: 100%;
        margin-top: 16px;
        display: block !important;
        text-align: center;
    }
    .portal-column-1-4 {
width: calc(50% - 16px);
    }             
    .portal-column-1-6 {
width: calc(33.3% - 16px);
    }
    .portal-column-1-7 {
float: right;
width: calc(25% - 16px);
    }
}
}
 
@media only screen and (max-width: 600px) {
.reflist-persian-alpha ol:lang( fa ) li {
    .portal-column-1-4,
list-style-type: persian-alpha !important;
    .portal-column-1-6,
direction: rtl;
    .portal-column-1-5 {
text-align: right;
        float: inherit;
margin-left: 0;
        width: 100%;
        margin: 0;
        display: block !important;
        text-align: center;
    }
}
}


/* Right margin for left-aligned tables */
/* صفحه اصلی لوگو عنوان ها */
table[align="left"] {
#mp-article .mp-h2 span:before {
margin-right: 1.2em;
    background: url('/static/images/favorite.png') no-repeat center center;
}
}
 
/* Center aligning wikitables should be as easy as using align=center */
#mp-new .mp-h2 span:before {
table.wikitable[align="center"] {
    background: url('/static/images/new.png') no-repeat center center;
margin-right: auto;
margin-left: auto;
}
}
 
.mw-indicator, .mw-helplink, .mw-indicator-pp-default {
#mp-top .mp-h2 span:before, #mp-badge .mp-h2 span:before {
-moz-user-select: none;
    background: url('/static/images/top.png') no-repeat center center;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
}


/* Temporary fix for Template:Allow_wrap until T283071 is fixed */
#mp-help .mp-h2 span:before {
.wrap {
    background: url('/static/images/help.png') no-repeat center center;
  white-space: normal;
}
}
/* --------------------- End Persian Wikipedia Style----------------- */
/* --------------------- End Ali ----------------- */
۲۴٬۵۵۵

ویرایش