پرش به محتوا

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

۱٬۲۷۰ بایت حذف‌شده ،  ‏۲۶ ژوئیهٔ ۲۰۲۳
جز
بدون خلاصۀ ویرایش
جزبدون خلاصۀ ویرایش
جزبدون خلاصۀ ویرایش
برچسب: برگردانده‌شده
خط ۱: خط ۱:
/* ------------------------------ Font ------------------------------ */
@font-face {
    font-family: 'IRANSans';
font-style: normal;
font-weight: 300;
font-display: swap;
src: url('/static/fonts/IRANSansWeb(FaNum)_Light.woff2') format('woff2'),
url('/static/fonts/IRANSansWeb(FaNum)_Light.woff') format('woff');
}
@font-face {
    font-family: 'IRANSans';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('/static/fonts/IRANSansWeb(FaNum).woff2') format('woff2'),
url('/static/fonts/IRANSansWeb(FaNum).woff') format('woff');
}
@font-face {
    font-family: 'IRANSans';
font-style: normal;
font-weight: 500;
font-display: swap;
src: url('/static/fonts/IRANSansWeb(FaNum)_Medium.woff2') format('woff2'),
url('/static/fonts/IRANSansWeb(FaNum)_Medium.woff') format('woff');
}
@font-face {
    font-family: 'IRANSans';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url('/static/fonts/IRANSansWeb(FaNum)_Bold.woff2') format('woff2'),
url('/static/fonts/IRANSansWeb(FaNum)_Bold.woff') format('woff');
}
body {
body {
/* generally a sans-serif font should be here */
/* generally a sans-serif font should be here */
font-family: IRANSans,Tahoma,'Noto Serif','Droid Arabic Naskh','DejaVu Sans',serif !important;  
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, 'Iranian Sans', 'Noto Sans Arabic', 'DejaVu Sans', sans-serif;
}
}


#content.mw-body h1, #content.mw-body h2, #content.mw-body #firstHeading,
.mw-body h1, .mw-body h2, .mw-body #firstHeading,
#content.mw-body .mw-editsection, .mw-body .mw-editsection-like,
.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,
.mw-body #toc h2, .mw-body .toc h2,
#template-documentation, #documentation-meta-data {
#documentation-meta-data, .vector-sticky-header-context-bar-primary {
/* generally a serif font should be here but Arial is not acceptable for Persian */
/* generally a serif font should be here but Arial is not acceptable for Persian */
font-family: IRANSans,Tahoma,'Noto Serif','Droid Arabic Naskh','DejaVu Sans',serif !important;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, 'Iranian Serif', 'Noto Naskh Arabic', 'Iranian Sans', 'DejaVu Sans', serif;
line-height: 1.6;
}
 
.mw-body h1, .mw-body-content h1 {
  font-size: 1.6em;
  padding: 2px 0;
}
 
textarea {
font-family: 'Tahoma';
}
 
.mw-body-content {
font-kerning: auto;
font-size: 15px;
line-height: 2.1;
}
}