مدیاویکی:Mobile.css: تفاوت میان نسخهها
پرش به ناوبری
پرش به جستجو
بدون خلاصۀ ویرایش |
بدون خلاصۀ ویرایش |
||
سطر ۹: | سطر ۹: | ||
font-family: 'irsans', 'Iranian Sans', 'DejaVu Sans', 'Noto Sans Arabic', 'Noto Kufi Arabic', 'Droid Arabic Kufi', sans-serif; | font-family: 'irsans', 'Iranian Sans', 'DejaVu Sans', 'Noto Sans Arabic', 'Noto Kufi Arabic', 'Droid Arabic Kufi', sans-serif; | ||
} | } | ||
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 { | |||
/* generally a serif font should be here but Arial is not acceptable for Persian */ | |||
font-family: 'irsans', 'Iranian Serif', 'Noto Kufi Arabic', 'Droid Arabic Naskh', 'Iranian Sans', 'DejaVu Sans', serif; | |||
} | |||
/* 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; } | |||
/* 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: 'Segoe UI', 'irsans', 'Iranian Sans', 'DejaVu Sans', 'Noto Kufi Arabic', 'Droid Arabic Kufi', sans-serif; } |
نسخهٔ ۱۳ نوامبر ۲۰۲۲، ساعت ۰۹:۳۵
@font-face {
font-family: 'irsans';
src: url('/fonts/irsans.eot') format('eot'),
url('/fonts/irsans.woff') format('woff'),
url('/fonts/irsans.ttf') format('truetype');
}
body {
/* generally a sans-serif font should be here */
font-family: 'irsans', 'Iranian Sans', 'DejaVu Sans', 'Noto Sans Arabic', 'Noto Kufi Arabic', 'Droid Arabic Kufi', sans-serif;
}
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 {
/* generally a serif font should be here but Arial is not acceptable for Persian */
font-family: 'irsans', 'Iranian Serif', 'Noto Kufi Arabic', 'Droid Arabic Naskh', 'Iranian Sans', 'DejaVu Sans', serif;
}
/* 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; }
/* 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: 'Segoe UI', 'irsans', 'Iranian Sans', 'DejaVu Sans', 'Noto Kufi Arabic', 'Droid Arabic Kufi', sans-serif; }