پرش به محتوا

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

۱٬۲۷۰ بایت اضافه‌شده ،  ‏۲۶ ژوئیهٔ ۲۰۲۳
جز
خنثی‌سازی نسخهٔ 165919 از Wikivahdat (بحث)
جزبدون خلاصۀ ویرایش
برچسب: برگردانده‌شده
جز (خنثی‌سازی نسخهٔ 165919 از Wikivahdat (بحث))
برچسب: خنثی‌سازی
خط ۱: خط ۱:
/* ------------------------------ 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: -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, 'Iranian Sans', 'Noto Sans Arabic', 'DejaVu Sans', sans-serif;
font-family: IRANSans,Tahoma,'Noto Serif','Droid Arabic Naskh','DejaVu Sans',serif !important;  
}
}


.mw-body h1, .mw-body h2, .mw-body #firstHeading,
#content.mw-body h1, #content.mw-body h2, #content.mw-body #firstHeading,
.mw-body .mw-editsection, .mw-body .mw-editsection-like,
#content.mw-body .mw-editsection, .mw-body .mw-editsection-like,
.mw-body #toc h2, .mw-body .toc h2,
#content.mw-body #toc h2, #content.mw-body .toc h2, .vector-sticky-header-context-bar-primary,
#documentation-meta-data, .vector-sticky-header-context-bar-primary {
#template-documentation, #documentation-meta-data {
/* 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: -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, 'Iranian Serif', 'Noto Naskh Arabic', 'Iranian Sans', 'DejaVu Sans', serif;
font-family: IRANSans,Tahoma,'Noto Serif','Droid Arabic Naskh','DejaVu Sans',serif !important;
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;
}
}