مدیاویکی:Common.css: تفاوت میان نسخهها
Esfandiari (بحث | مشارکتها) بدون خلاصۀ ویرایش |
Esfandiari (بحث | مشارکتها) بدون خلاصۀ ویرایش |
||
| خط ۱: | خط ۱: | ||
/* --------------------- Begin Font Style ----------------- */ | |||
@font-face { | @font-face { | ||
font-family: 'IRANSansXFaNum'; | font-family: 'IRANSansXFaNum'; | ||
| خط ۱۲: | خط ۱۳: | ||
_:-ms-lang(x), _:-webkit-full-screen, body { | _:-ms-lang(x), _:-webkit-full-screen, body { | ||
font-family: 'IRANSansXFaNum', Tahoma, 'Segoe UI', 'DejaVu Sans', sans-serif !important; | font-family: 'IRANSansXFaNum', Tahoma, 'Segoe UI', 'DejaVu Sans', sans-serif !important; | ||
} | } | ||
/* اصلاح تداخل و تجمیع فونت عناوین */ | |||
h1, h2, h3, h4, h5, h6, | |||
.mw-body h1, .mw-body h2, .mw-body #firstHeading, | .mw-body h1, .mw-body h2, .mw-body #firstHeading, | ||
.mw-body .mw-editsection, .mw-body .mw-editsection-like, | .mw-body .mw-editsection, .mw-body .mw-editsection-like, | ||
.mw-body #toc h2, .mw-body .toc h2, | .mw-body #toc h2, .mw-body .toc h2, | ||
.vector-sticky-header-context-bar-primary, | |||
#template-documentation, #documentation-meta-data { | |||
font-family: 'Sahel', 'Shabnam', Tahoma, sans-serif !important; | |||
line-height: 1.6; | |||
} | } | ||
/* | /* اصلاح فونت محیطهای متنی */ | ||
.ace_editor { font-family: 'Courier New', monospace!important; } | textarea, #wpTextbox1, .ace_editor, .ve-ui-mwWikitextSurface .ve-ce-attachedRootNode { | ||
font-family: 'IRANSansXFaNum', 'Vazir', 'Courier New', monospace !important; | |||
font-size: 15px; | |||
} | |||
.mw-body-content { | |||
font-kerning: auto; | |||
font-size: 16px; | |||
line-height: 2.0; | |||
} | |||
/* force these to use inherited font configuration */ | /* force these to use inherited font configuration */ | ||
.ui-widget, .ui-widget *, button, input, select, optgroup { | .ui-widget, .ui-widget *, button, input, select, optgroup { | ||
font-family: inherit !important; | |||
} | |||
dfn { | |||
font-style: inherit; /* Reset default styling for <dfn> */ | |||
} | |||
sup, sub { | |||
line-height: 1em; /* Reduce line-height for <sup> and <sub> */ | |||
} | } | ||
/* --------------------- End Font Style ----------------- */ | |||
/* end */ | /* end */ | ||