مدیاویکی:Common.css: تفاوت میان نسخهها
بدون خلاصۀ ویرایش |
بدون خلاصۀ ویرایش |
||
(۳ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد) | |||
خط ۴: | خط ۴: | ||
@font-face { | @font-face { | ||
font-family: 'Vazirmatn'; | font-family: 'Vazirmatn'; | ||
src: url('/ | src: url('/uploads/fonts/Vazirmatn.woff2') format('woff2'), | ||
url('/ | url('/uploads/fonts/Vazirmatn.ttf') format('truetype'); | ||
font-weight: 100 900; /* Define the weight range for the variable font */ | font-weight: 100 900; /* Define the weight range for the variable font */ | ||
font-style: normal; /* You can add more variations if necessary (italic, etc.) */ | font-style: normal; /* You can add more variations if necessary (italic, etc.) */ | ||
خط ۱۹: | خط ۱۹: | ||
} | } | ||
.fandom-community-header__community-name, h1#firstHeading { | .fandom-community-header__community-name, h1#firstHeading, .mw-first-heading, .oo-ui-labelElement-label, .mw-prefs-title , .firstHeading .mw-first-heading { | ||
font-family: Vazirmatn, system-ui, ' | font-family: Vazirmatn, system-ui, 'Iranian Sans', 'Segoe UI', 'Noto Sans Arabic', 'DejaVu Sans', sans-serif; | ||
} | } | ||
خط ۵۳: | خط ۵۳: | ||
/* Main page fixes */ | /* Main page fixes */ | ||
body.page- | body.page-ویکیهزاره_صفحه_تمرین #ca-edit, | ||
body.page- | body.page-ویکیهزاره_آشنایی #ca-edit { | ||
border: 1px dotted #36c; | border: 1px dotted #36c; | ||
} | } | ||
body.page- | body.page-ویکیهزاره_صفحه_تمرین #ca-edit:hover, | ||
body.page- | body.page-ویکیهزاره_آشنایی #ca-edit:hover { | ||
background: none repeat scroll 0 0 white; | background: none repeat scroll 0 0 white; | ||
border-color: transparent; | border-color: transparent; | ||
خط ۱٬۲۳۳: | خط ۱٬۲۳۳: | ||
body.ns-2[class*="_صفحه_تمرین"] #firstHeading::after { | body.ns-2[class*="_صفحه_تمرین"] #firstHeading::after { | ||
color: #72777d; | color: #72777d; | ||
content: "توجه:این صفحه بخشی از دانشنامه نیست و صرفاً جهت ویرایش آزمایشی در | content: "توجه:این صفحه بخشی از دانشنامه نیست و صرفاً جهت ویرایش آزمایشی در ویکیهزاره کاربرد دارد."; | ||
float: left; | float: left; | ||
width: 40%; | width: 40%; | ||
خط ۱٬۲۶۲: | خط ۱٬۲۶۲: | ||
/* کمی پیوند ایجاد مقاله بزرگتر شود که پس از حذف بیشتر استفاده شود */ | /* کمی پیوند ایجاد مقاله بزرگتر شود که پس از حذف بیشتر استفاده شود */ | ||
.mw-warning-with-logexcerpt a[title=" | .mw-warning-with-logexcerpt a[title="ویکیهزاره:ایجاد مقاله"] { font-size: 120%; font-weight: bold; } | ||
/* Make the textarea pink when an admin is editing a protected page */ | /* Make the textarea pink when an admin is editing a protected page */ |