مدیاویکی:Common.css: تفاوت میان نسخه‌ها

admin>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;
}


body {
textarea {
font-family: Vazirmatn, Tahoma, sans-serif;
font-family: IRANSansXFaNum, 'Courier New', monospace;
line-height: 1.8;
}
}


.mw-body {
.mw-body-content {
font-size: 16px;
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 */


.CodeMirror {
dfn {
direction: ltr;
font-style: inherit; /* Reset default styling for <dfn> */
font-family: Consolas, monospace;
}
font-size: 14px;
sup, sub {
line-height: 1em;     /* Reduce line-height for <sup> and <sub> */
}
}
/* --------------------- End Font Style ----------------- */