مدیاویکی:Common.css: تفاوت میان نسخهها
admin>Esfandiari صفحه را خالی کرد |
Esfandiari (بحث | مشارکتها) جز ۵۶ نسخه واردشده |
||
| (۴۱ نسخهٔ میانی ویرایش شده توسط ۲ کاربر نشان داده نشد) | |||
| خط ۱: | خط ۱: | ||
/* --------------------- Begin Font Style ----------------- */ | |||
@font-face { | |||
font-family: 'IRANSansXFaNum'; | |||
font-style: normal; | |||
font-weight: 400; | |||
font-display: swap; | |||
src: url('/w/resources/fonts/IRANSansXFaNum-Regular.woff2') format('woff2'), | |||
url('/w/resources/fonts/IRANSansXFaNum-Regular.woff') format('woff'); | |||
} | |||
body { | |||
font-family: IRANSansXFaNum, Tahoma, 'Noto Serif', 'Droid Arabic Naskh', 'DejaVu Sans', serif !important; | |||
} | |||
#content.mw-body h1, #content.mw-body h2, #content.mw-body #firstHeading, | |||
#content.mw-body .mw-editsection, .mw-body .mw-editsection-like, | |||
#content.mw-body #toc h2, #content.mw-body .toc h2, .vector-sticky-header-context-bar-primary, | |||
#template-documentation, #documentation-meta-data{ | |||
font-family: Shabnam, Tahoma, 'Noto Serif', 'Droid Arabic Naskh', 'DejaVu Sans', serif !important; | |||
line-height: 1.6; | |||
} | |||
textarea { | |||
font-family: IRANSansXFaNum, 'Courier New', monospace; | |||
} | |||
.mw-body-content { | |||
font-kerning: auto; | |||
font-size: 16px; | |||
line-height: 2.0; | |||
} | |||
/* 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; } | |||
/* force these to use inherited font configuration */ | |||
.ui-widget, .ui-widget *, button, input, select, optgroup { | |||
font-family: inherit; | |||
} | |||
/* end */ | |||
dfn { | |||
font-style: inherit; /* Reset default styling for <dfn> */ | |||
} | |||
sup, sub { | |||
line-height: 1em; /* Reduce line-height for <sup> and <sub> */ | |||
} | |||
/* --------------------- End Font Style ----------------- */ | |||