مدیاویکی: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 */ | ||
@font-face { | |||
font-family: 'Vazirmatn'; | |||
src: url('/upload/fonts/Vazirmatn.woff2') format('woff2'), | |||
url('/upload/fonts/Vazirmatn.ttf') format('truetype'); | |||
font-weight: 100 900; /* Define the weight range for the variable font */ | |||
font-style: normal; /* You can add more variations if necessary (italic, etc.) */ | |||
} | |||
body { | body { | ||
/* generally a sans-serif font should be here */ | /* generally a sans-serif font should be here */ | ||
font-family: system-ui, "Segoe UI", 'Iranian Sans', 'Noto Sans Arabic', 'DejaVu Sans', sans-serif; | font-family: "Vazirmatn", system-ui, ""Segoe UI"", 'Iranian Sans', 'Noto Sans Arabic', 'DejaVu Sans', sans-serif; | ||
} | |||
.page-content :is(h2, h3, h4, h5, h6) .mw-headline { | |||
font-family: "Vazirmatn", system-ui, ""Segoe UI"", 'Iranian Sans', 'Noto Sans Arabic', 'DejaVu Sans', sans-serif; | |||
} | |||
.fandom-community-header__community-name, h1#firstHeading { | |||
font-family: "Vazirmatn", system-ui, ""Segoe UI"", 'Iranian Sans', 'Noto Sans Arabic', 'DejaVu Sans', sans-serif; | |||
} | } | ||
خط ۱۵: | خط ۳۱: | ||
* it also resolves the issue of missed dots on some letters as can be seen in | * it also resolves the issue of missed dots on some letters as can be seen in | ||
* [[File:Calibri for titles in Persian Wikipedia.png]] */ | * [[File:Calibri for titles in Persian Wikipedia.png]] */ | ||
font-family: | font-family: "Vazirmatn", system-ui, "Segoe UI", 'Iranian Serif', 'Noto Sans Arabic', 'Iranian Sans', 'DejaVu Sans', serif; | ||
} | } | ||