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

۱۱٬۹۲۵ بایت حذف‌شده ،  ‏۲۰ سپتامبر ۲۰۲۰
بدون خلاصۀ ویرایش
(صفحه‌ای تازه حاوی «←‏Vazir Font: @font-face { font-family: 'vazir'; src: url('/fonts/Vazir.woff2') format('woff2'), url('/fonts/Vazir.woff') for...» ایجاد کرد)
 
بدون خلاصۀ ویرایش
خط ۲۷: خط ۲۷:
}
}


div#content h1, div#content h2, div#content #firstHeading,
.mw-body h1, .mw-body h2, .mw-body #firstHeading,
div#content .mw-editsection, .mw-body .mw-editsection-like,
.mw-body .mw-editsection, .mw-body .mw-editsection-like,
div#content #toc h2, div#content .toc h2,
.mw-body #toc h2, .mw-body .toc h2,
#template-documentation, #documentation-meta-data {
#documentation-meta-data {
   /* generally a serif font should be here but Arial is not acceptable for Persian */
   /* generally a serif font should be here but Arial is not acceptable for Persian */
   font-family: vazir, Tahoma, 'Iranian Serif', 'Noto Kufi Arabic', 'Droid Arabic Naskh', 'Iranian Sans', 'DejaVu Sans', serif;
   font-family: '.Arabic UI Display', Tahoma, 'Iranian Serif', 'Noto Naskh Arabic', 'Iranian Sans', 'DejaVu Sans', serif;
}
}


خط ۳۹: خط ۳۹:


/* If is IE Edge/Windows 10, Arabic diacritics are broken so use Segoe UI as default font instead */
/* If is IE Edge/Windows 10, Arabic diacritics are broken so use Segoe UI as default font instead */
_:-ms-lang(x), _:-webkit-full-screen, body { font-family: vazir, 'Segoe UI', Tahoma, 'Iranian Sans', 'DejaVu Sans', 'Noto Kufi Arabic', 'Droid Arabic Kufi', sans-serif; }
_:-ms-lang(x), _:-webkit-full-screen, body { font-family: 'Segoe UI', Tahoma, 'Iranian Sans', 'DejaVu Sans', 'Noto Kufi Arabic', 'Droid Arabic Kufi', sans-serif; }
 
/* Similarly, Safari 10.1/11 hack to use a better font and avoid Yeh diacrictic issue with CoreText and replace it with '.Arabic UI Display', their brand new font https://stackoverflow.com/a/25975282 */
@media not all and (min-resolution:.001dpcm) { @media {
body, div#content h1, div#content h2, div#content #firstHeading, div#content .mw-editsection, .mw-body .mw-editsection-like, div#content #toc h2, div#content .toc h2, #template-documentation, #documentation-meta-data {
font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
textarea { font-family: 'Courier New', monospace; font-size: 100%; }
} }


/* force these to use inherited font configuration */
/* force these to use inherited font configuration */
خط ۶۳: خط ۵۵:


/* Main page fixes */
/* Main page fixes */
#mp-right .mp-bar { background: linear-gradient(to left, #b3ccff, white, white)!important; }
/* responsive styles for Main Page */
@media(max-width: 1200px) {
  #mp-right, #mp-left { width: 100%!important; padding: 0!important; border: 0!important; background: transparent!important; }
  .mp-bar, #mp-right .mp-bar { background: #b3ccff!important; }
}


#interwiki-completelist {
    font-weight: bold;
}
body.page-ویکی‌پدیا_صفحه_تمرین #ca-edit,
body.page-ویکی‌پدیا_صفحه_تمرین #ca-edit,
body.page-ویکی‌پدیا_آشنایی #ca-edit {
body.page-ویکی‌پدیا_آشنایی #ca-edit {
خط ۵۱۷: خط ۵۰۰:
     border-top: 1px solid #c8ccd1;  
     border-top: 1px solid #c8ccd1;  
     border-bottom: 1px solid #c8ccd1;
     border-bottom: 1px solid #c8ccd1;
}
/* Standard talk template style */
.Talk-Notice  {
    border: 1px solid #ecdcc5;
    background-color: #fff2cc;
    margin-bottom: 3px;
    width: 85%;
    border-spacing: 3px;
    margin-right: auto;
    margin-left: auto;
}
.Talk-Notice:after {
  content: "The CSS for this template should be changed. See [[Wikipedia:Template Standardisation]].";
}
}


خط ۵۴۱: خط ۵۰۸:
DIV.siteNoticeSmall {
DIV.siteNoticeSmall {
   font-size: 15pt;
   font-size: 15pt;
}
/* Make template background appear correctly on all browsers */
.Talk-Notice td {
    background: inherit;
}
}


خط ۵۷۰: خط ۵۳۲:
     background: url("//upload.wikimedia.org/wikipedia/commons/thumb/2/20/Tango-video-x-generic.png/40px-Tango-video-x-generic.png");
     background: url("//upload.wikimedia.org/wikipedia/commons/thumb/2/20/Tango-video-x-generic.png/40px-Tango-video-x-generic.png");
     padding-right: 50px;
     padding-right: 50px;
}
/* Style rules for media list templates */
div.medialist {
    min-height: 50px;
    margin: 1em;
    /* @noflip */
    background-position: top right;
    background-repeat: no-repeat;
}
div.medialist ul {
    list-style-type: none;
    list-style-image: none;
    margin: 0;
}
div.medialist ul li {
    padding-bottom: 0.5em;
}
div.medialist ul li li {
    font-size: 91%;
    padding-bottom: 0;
}
}


/* Change the external link icon to an Adobe icon for all PDF files
/* Change the external link icon to an Adobe icon for all PDF files
   in browsers that support these CSS selectors, like Mozilla and Opera */
   in browsers that support these CSS selectors, like Mozilla and Opera */
div#content a[href$=".pdf"].external,
.mw-body a[href$=".pdf"].external,
div#content a[href*=".pdf?"].external,
.mw-body a[href*=".pdf?"].external,
div#content a[href*=".pdf#"].external,
.mw-body a[href*=".pdf#"].external,
div#content a[href$=".PDF"].external,
.mw-body a[href$=".PDF"].external,
div#content a[href*=".PDF?"].external,
.mw-body a[href*=".PDF?"].external,
div#content 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,
خط ۷۵۷: خط ۶۹۵:
}
}
table.ambox-speedy {
table.ambox-speedy {
     border-right: 10px solid #b32424;    /* Red */
     border-right: 10px solid #DD0000;    /* Red */
     background: #fee7e6;                  /* Pink */
     background: #fee7e6;                  /* Pink */
}
}
table.ambox-delete {
table.ambox-delete {
     border-right: 10px solid #b32424;    /* Red */
     border-right: 10px solid #DD0000;    /* Red */
}
}
table.ambox-content {
table.ambox-content {
     border-right: 10px solid #f28500;    /* Orange */
     border-right: 10px solid #FF5D00;    /* Orange */
}
}
table.ambox-style {
table.ambox-style {
خط ۷۷۵: خط ۷۱۳:
     border-right: 10px solid #a2a9b1;      /* Gray-gold */
     border-right: 10px solid #a2a9b1;      /* Gray-gold */
}
}
 
/* Image message box styles */
table.imbox {
    margin: 4px 10%;
    border-collapse: collapse;
    border: 3px solid #36c;    /* Default "notice" blue */
    background: #f8f9fa;
}
.imbox .mbox-text .imbox {  /* For imboxes inside imbox-text cells. */
    margin: 0 -0.5em;      /* 0.9 - 0.5 = 0.4em left/right.        */
    display: block;        /* Fix for webkit to force 100% width.  */
}
.mbox-inside .imbox {      /* For imboxes inside other templates.  */
    margin: 4px;
}
table.imbox-notice {
    border: 3px solid #36c;    /* Blue */
}
table.imbox-speedy {
    border: 3px solid #b32424;    /* Red */
    background: #fee7e6;            /* Pink */
}
table.imbox-delete {
    border: 3px solid #b32424;    /* Red */
}
table.imbox-content {
    border: 3px solid #f28500;    /* Orange */
}
table.imbox-style {
    border: 3px solid #fc3;    /* Yellow */
}
table.imbox-move {
    border: 3px solid #9932cc;    /* Purple */
}
table.imbox-protection {
    border: 3px solid #a2a9b1;      /* Gray-gold */
}
table.imbox-license {
    border: 3px solid #72777d;      /* Dark gray */
    background: #eaecf0;          /* Light gray */
}
table.imbox-featured {
    border: 3px solid #ffaa66;    /* light Orange, for getting near to symbol of FPs */
}
/* Category message box styles */
table.cmbox {
    margin: 3px 10%;
    border-collapse: collapse;
    border: 1px solid #a2a9b1;
    background: #36c;    /* Default "notice" blue */
}
table.cmbox-notice {
    background: #eaf3ff;    /* Blue */
}
table.cmbox-speedy {
    margin-top: 4px;
    margin-bottom: 4px;
    border: 4px solid #b32424;    /* Red */
    background: #fee7e6;          /* Pink */
}
table.cmbox-delete {
    background: #b32424;    /* Red */
}
table.cmbox-content {
    background: #FFE7CE;    /* Orange */
}
table.cmbox-style {
    background: #fc3;    /* Yellow */
}
table.cmbox-move {
    background: #E4D8FF;    /* Purple */
}
table.cmbox-protection {
    background: #a2a9b1;    /* Gray-gold */
}
/* Other pages message box styles */
table.ombox {
    margin: 4px 10%;
    border-collapse: collapse;
    border: 1px solid #a2a9b1;      /* Default "notice" gray */
    background: #f8f9fa;
}
table.ombox-notice {
    border: 1px solid #a2a9b1;      /* Gray */
}
table.ombox-speedy {
    border: 2px solid #b32424;    /* Red */
    background: #fee7e6;            /* Pink */
}
table.ombox-delete {
    border: 2px solid #b32424;    /* Red */
}
table.ombox-content {
    border: 1px solid #f28500;    /* Orange */
}
table.ombox-style {
    border: 1px solid #fc3;    /* Yellow */
}
table.ombox-move {
    border: 1px solid #9932cc;    /* Purple */
}
table.ombox-protection {
    border: 2px solid #a2a9b1;      /* Gray-gold */
}
/* Talk page message box styles */
table.tmbox {
    margin: 4px 10%;
    border-collapse: collapse;
    border: 1px solid #a2a9b1;    /* Default "notice" gray-brown */
    background: #f8f9fa;
}
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */
    margin: 2px 0;              /* this declaration overrides other styles (including mbox-small above)  */
    width: 100%;                /* For Safari and Opera */
}
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when  */
    line-height: 1.5em;          /* also "nested", so reset styles that are  */ 
    font-size: 100%;            /* set in "mbox-small" above.                */
}
table.tmbox-speedy {
    border: 2px solid #b32424;    /* Red */
    background: #fee7e6;            /* Pink */
}
table.tmbox-delete {
    border: 2px solid #b32424;    /* Red */
}
table.tmbox-content {
    border: 2px solid #f28500;    /* Orange */
}
table.tmbox-style {
    border: 2px solid #fc3;    /* Yellow */
}
table.tmbox-move {
    border: 2px solid #9932cc;    /* Purple */
}
table.tmbox-protection,
table.tmbox-notice {
    border: 1px solid #c0c090;    /* Gray-brown */
}
/* Disambig and set index box styles */
/* Disambig and set index box styles */
table.dmbox {
table.dmbox {
خط ۹۴۳: خط ۷۳۵:
}
}
table.fmbox-warning {
table.fmbox-warning {
     border: 1px solid #b32424;  /* Dark pink */
     border: 1px solid #DD0000;  /* Dark pink */
     background: #fee7e6;        /* Pink */
     background: #fee7e6;        /* Pink */
}
}
خط ۹۵۶: خط ۷۴۸:
     clear: both;
     clear: both;
     margin: 0.2em 0;
     margin: 0.2em 0;
     border: 1px solid #b32424;
     border: 1px solid #DD0000;
     background: #fee7e6;
     background: #fee7e6;
     padding: 0.25em 0.9em;
     padding: 0.25em 0.9em;
خط ۱٬۲۱۳: خط ۱٬۰۰۵:
.listify table {display:block;}
.listify table {display:block;}


/* Styling for Template:Quote */
blockquote.templatequote {
    margin-top: 0;
}
blockquote.templatequote div.templatequotecite {
    line-height: 1em;
    text-align: right;
    padding-right: 2em;
    margin-top: 0;
}
blockquote.templatequote div.templatequotecite cite {
    font-size: 85%;
}
div.user-block {
div.user-block {
     padding: 5px;
     padding: 5px;
خط ۱٬۲۳۷: خط ۱٬۰۱۵:
   3) Ref tags with group names <ref group="Note"> --> "[Note 1]"
   3) Ref tags with group names <ref group="Note"> --> "[Note 1]"
*/
*/
.nowrap,
.nowraplinks a,
.nowraplinks a,
span.texhtml,
span.texhtml,
خط ۱٬۲۴۵: خط ۱٬۰۲۴:
     direction:ltr;
     direction:ltr;
     unicode-bidi:bidi-override;
     unicode-bidi:bidi-override;
}
/* For template documentation */
.template-documentation {
    clear: both;
    margin: 1em 0 0 0;
    border: 1px solid #a2a9b1;
    background-color: #eaf3ff;
    padding: 5px;
}
}


خط ۱٬۲۵۹: خط ۱٬۰۲۹:
     min-width: 100px;
     min-width: 100px;
}
}
/* Category message box styles */
 
table.cmbox {
    margin: 3px 10%;
    border-collapse: collapse;
    border: 1px solid #a2a9b1;
    background: #36c;    /* Default "notice" blue */
}
table.cmbox-notice {
    background: #eaf3ff;    /* Blue */
}
table.cmbox-speedy {
    margin-top: 4px;
    margin-bottom: 4px;
    border: 4px solid #b32424;    /* Red */
    background: #fee7e6;          /* Pink */
}
table.cmbox-delete {
    background: #b32424;    /* Red */
}
table.cmbox-content {
    background: #FFE7CE;    /* Orange */
}
table.cmbox-style {
    background: #fc3;    /* Yellow */
}
table.cmbox-move {
    background: #E4D8FF;    /* Purple */
}
table.cmbox-protection {
    background: #a2a9b1;    /* Gray-gold */
}
/* 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) */
خط ۱٬۳۱۶: خط ۱٬۰۵۵:
  font-size:90%;
  font-size:90%;
}
}
/* Other pages message box styles */
table.ombox {
    margin: 4px 10%;
    border-collapse: collapse;
    border: 1px solid #a2a9b1;      /* Default "notice" gray */
    background: #f8f9fa;
}
table.ombox-notice {
    border: 1px solid #a2a9b1;      /* Gray */
}
table.ombox-speedy {
    border: 2px solid #b32424;    /* Red */
    background: #fee7e6;            /* Pink */
}
table.ombox-delete {
    border: 2px solid #b32424;    /* Red */
}
table.ombox-content {
    border: 1px solid #f28500;    /* Orange */
}
table.ombox-style {
    border: 1px solid #fc3;    /* Yellow */
}
table.ombox-move {
    border: 1px solid #9932cc;    /* Purple */
}
table.ombox-protection {
    border: 2px solid #a2a9b1;      /* Gray-gold */
}
/* Workaround für Internet Explorer 6 */
div.NavFrame, div.NavPic, .NavToggle {
    position:relative;
}
  /* Für <nowiki><hiero>…</hiero></nowiki> */


  .mw-hierotable, .hierotable-mw,  
/* Für <nowiki><hiero>…</hiero></nowiki> */
  .mw-hierotable  th, .hierotable mw-th,  
.mw-hierotable, .hierotable-mw,  
  .mw-hierotable  td, .hierotable mw-td {  
.mw-hierotable  th, .hierotable mw-th,  
.mw-hierotable  td, .hierotable mw-td {  
     border: 0px;
     border: 0px;
     padding: 0px;
     padding: 0px;
  }
}
/* With MediaWiki 1.5, the mechanism has changed: instead of a SPAN of class "urlexpansion"
/* With MediaWiki 1.5, the mechanism has changed: instead of a SPAN of class "urlexpansion"
   following the anchor A, the anchor itself now has class "external autonumber" and the
   following the anchor A, the anchor itself now has class "external autonumber" and the
خط ۱٬۳۷۱: خط ۱٬۰۷۵:
     display: none !important;
     display: none !important;
}
}
table.tmbox-protection,
table.tmbox-notice {
    border: 1px solid #c0c090;    /* Gray-brown */
}
/* for Main Page */
/* for Main Page */
.globegris {
.globegris {
خط ۱٬۳۸۵: خط ۱٬۰۸۴:
         float: right;
         float: right;
}
}
/* To Display poems justified in IE and CSS3 (http://www.w3.org/TR/css3-text/) */
.b { /* verse container */
  text-align: justify;
  text-align-last: justify; /* for IE and CSS3 */
  -moz-text-align-last: justify; /* for Firefox 12 */
  -webkit-text-align-last: justify; /* webkit based browsers */
  text-justify: kashida;
  border: 0;
}
.beyt {
  white-space: nowrap;
}
.nastaliq {
  line-height: 200%;
  font-size: 150%;
  font-family: IranNastaliq, 'Urdu Emad Nastaleeq', 'Noto Nastaliq Urdu', 'Urdu Typesetting', 'Jameel Noori Nastaleeq', 'Nafees Nastaleeq', 'Nafees Nastaleeq v1.01', Nafees, 'Pak Nastaleeq', 'PDMS_Jauhar', sans-serif;
  text-justify: inter-word;
  font-weight: normal;
}
.nastaliq .b { text-justify: inter-word; }


/* Small font-size for hidden categories */
/* Small font-size for hidden categories */
خط ۱٬۴۶۱: خط ۱٬۱۳۷:
.CategoryTreeEmptyBullet {
.CategoryTreeEmptyBullet {
     color: #c8ccd1;
     color: #c8ccd1;
}
/* sister project links in the left panel, see [[Template:Iwcommons]] for example */
ul.interProject {
  list-style: none;
  padding-right: 0;
  margin-right: 0;
}
li.interProject, #mw-panel div.portal div.body ul.interProject li.interProject {
  background-repeat: no-repeat;
  background-position: right center;
  padding-right: 18px;
  margin-right: 0;
}
}


/* توضیح به کاربران دربارهٔ صفحهٔ تمرین */
/* توضیح به کاربران دربارهٔ صفحهٔ تمرین */
body[class*="_صفحه_تمرین"] #firstHeading::after {
body.ns-2[class*="_صفحه_تمرین"] #firstHeading::after {
     color: #72777d;
     color: #72777d;
     content: "توجه:این صفحه بخشی از دانشنامه نیست و صرفاً جهت ویرایش آزمایشی در ویکی‌پدیا کاربرد دارد.";
     content: "توجه:این صفحه بخشی از دانشنامه نیست و صرفاً جهت ویرایش آزمایشی در ویکی‌پدیا کاربرد دارد.";
خط ۱٬۴۹۰: خط ۱٬۱۵۲:
     font-weight: normal;
     font-weight: normal;
     font-size: smaller;
     font-size: smaller;
}
/*قالب جهت ارائه دروس در برنامه آموزشی*/
#bodyContent .letterhead {
    background-image:url('//upload.wikimedia.org/wikipedia/commons/e/e0/Tan-page-corner.png');
    background-repeat:no-repeat;
    padding: 2em;
    background-color: #faf9f2;
}
/* 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 */
.portal-column-left {
    float: left;
    width: 50%;
}
.portal-column-right {
    float: right;
    width: 49%;
}
.portal-column-right-wide {
    float: right;
    width: 60%;
}
.portal-column-left-narrow {
    float: left;
    width: calc(40% - 16px);
}
.portal-column-left-extra-wide {
    float: left;
    width: 70%;
}
.portal-column-right-extra-narrow {
    float: right;
    width: 29%;
}
@media only screen and (max-width: 800px) {
    /* Decouple the columns on narrow screens */
    .portal-column-left,
    .portal-column-right,
    .portal-column-right-wide,
    .portal-column-left-narrow,
    .portal-column-left-extra-wide,
    .portal-column-right-extra-narrow {
        float: inherit;
        width: inherit;
    }
}
}


خط ۱٬۵۴۵: خط ۱٬۱۶۰:
.inputbox-hidecheckboxes form .inputbox-element {
.inputbox-hidecheckboxes form .inputbox-element {
     display: none !important;
     display: none !important;
}
/* A fix for the unavailable [horizontal] scrollbar issue in the MediaWiki namespace */
body.ns-8 {
  direction: ltr;
}
body.ns-8 > * {
  direction: rtl;
}
}


خط ۱٬۵۵۸: خط ۱٬۱۶۵:
.mw-tag-marker-نیازمند_بازبینی { display: none; }
.mw-tag-marker-نیازمند_بازبینی { display: none; }


/* ضخیم کردن قسمت اول جستجو بدون استفاده از قلم دیگر و شکاندن حروف چسپیده */
.highlight {
  text-shadow: 0 -1px;
  font-weight: inherit!important;
}
/* Reduce page jumps by hiding collapsed/dismissed content */
/* Reduce page jumps by hiding collapsed/dismissed content */
.client-js .mw-special-Watchlist #watchlist-message {
.client-js .mw-special-Watchlist #watchlist-message {
خط ۱٬۵۸۹: خط ۱٬۱۹۱:
     background: #fff4d6;
     background: #fff4d6;
}
}
/* Tree style lists */
.treeview ul {
    padding: 0;
    margin: 0;
}
.treeview li {
    padding: 0;
    margin: 0;
    list-style-type: none;
    list-style-image: none;
}
.treeview li li {
    background-image: url("//upload.wikimedia.org/wikipedia/commons/3/3d/Treeview-grey-line-flipped.png");
    background-repeat: no-repeat;
    background-position: right 0 top -2981px;
    /* @noflip */
    padding-right: 20px;
    text-indent: 0.3em;
}
.treeview li li.lastline {
    background-position: right 0 top -5971px
}
.treeview li.emptyline > ul {
    /* @noflip */
    margin-right: -1px;
}
.treeview li.emptyline > ul > li:first-child {
    background-position: right 0 top 9px
}
/* beautyQuote pattern */
.beautyQuote {
padding: 3px 38px 3px 38px;
background: url(https://upload.wikimedia.org/wikipedia/commons/1/12/Quote_background_transparent_180deg%28dark%29.png) left/30px, url(https://upload.wikimedia.org/wikipedia/commons/a/ac/Quote_background_transparent_%28dark%29.png) right/30px;
background-color: #eaecf0;
background-repeat: no-repeat;
background-position: bottom 5px left 5px, top 5px right 5px;
border-radius: 15px;
display: inline-table;
}
/* End of beautyQuote pattern */


/* Spacing between the rows of navbox */
/* Spacing between the rows of navbox */
خط ۱٬۶۹۳: خط ۱٬۲۵۳:


.mw-indicator, .mw-helplink, .mw-indicator-pp-default {
.mw-indicator, .mw-helplink, .mw-indicator-pp-default {
-moz-user-select: none;
    -moz-user-select: none;
     -webkit-user-select: none;
     -webkit-user-select: none;
     -ms-user-select: none;
     -ms-user-select: none;
     user-select: none;
     user-select: none;
}
}
/* طراحی صفحه اول */
/* طراحی صفحه اول */
  .mainpage-top {
  .mainpage-top {