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

بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
خط ۲۲: خط ۲۲:
   These are written over the time on Monobook.css and Vector.css and shouldn't
   These are written over the time on Monobook.css and Vector.css and shouldn't
   be changed radically without users consensus */
   be changed radically without users consensus */
body {
body, .vector-sticky-header-context-bar-primary {/* generally a sans-serif font should be here */
  /* generally a sans-serif font should be here */
   font-family:  vazir, Tahoma, 'Iranian Sans', 'DejaVu Sans', 'Noto Sans Arabic', 'Noto Kufi Arabic', 'Droid Arabic Kufi', sans-serif;
   font-family:  vazir, Tahoma, 'Iranian Sans', 'DejaVu Sans', 'Noto Sans Arabic', 'Noto Kufi Arabic', 'Droid Arabic Kufi', sans-serif;
}
}


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 {
#template-documentation, #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 */
خط ۴۳: خط ۴۲:
/* 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 */
/* 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 {
@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 {
body, .mw-body h1, .mw-body h2, .mw-body #firstHeading, .mw-body .mw-editsection, .mw-body .mw-editsection-like, .mw-body #toc h2, .mw-body .toc h2, #template-documentation, #documentation-meta-data {
font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
}
خط ۶۰۰: خط ۵۹۹:
/* 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,