انتقل إلى المحتوى

الفرق بين المراجعتين لصفحة: «ميدياويكي:Common.css»

ط
لا يوجد ملخص تحرير
طلا ملخص تعديل
طلا ملخص تعديل
سطر ١: سطر ١:
/* ------------------------------ Font ------------------------------ */
/* ------------------------------ Font ------------------------------ */
@font-face {
@font-face {
     font-family: 'IRANSans';
     font-family: 'Noto Naskh Arabic';
font-style: normal;
font-style: normal;
font-weight: 300;
font-weight: 400;
font-display: swap;
font-display: swap;
src: url('/static/fonts/IRANSansWeb(FaNum)_Light.woff2') format('woff2'),
src: url('/static/fonts/NotoNaskhArabic-Regular.woff2') format('woff2')
url('/static/fonts/IRANSansWeb(FaNum)_Light.woff') format('woff');
}
}
@font-face {
@font-face {
     font-family: 'IRANSans';
     font-family: 'Noto Naskh Arabic';
font-style: normal;
font-style: normal;
font-weight: 400;
font-weight: 500;
font-display: swap;
font-display: swap;
src: url('/static/fonts/IRANSansWeb(FaNum).woff2') format('woff2'),
src: url('/static/fonts/NotoNaskhArabic-Medium.woff2') format('woff2')
url('/static/fonts/IRANSansWeb(FaNum).woff') format('woff');
}
}
@font-face {
@font-face {
     font-family: 'IRANSans';
     font-family: 'Noto Naskh Arabic';
font-style: normal;
font-style: normal;
font-weight: 500;
font-weight: 600;
font-display: swap;
font-display: swap;
src: url('/static/fonts/IRANSansWeb(FaNum)_Medium.woff2') format('woff2'),
src: url('/static/fonts/NotoNaskhArabic-SemiBold.woff2') format('woff2')
url('/static/fonts/IRANSansWeb(FaNum)_Medium.woff') format('woff');
}
}
@font-face {
@font-face {
     font-family: 'IRANSans';
     font-family: 'Noto Naskh Arabic';
font-style: normal;
font-style: normal;
font-weight: 700;
font-weight: 700;
font-display: swap;
font-display: swap;
src: url('/static/fonts/IRANSansWeb(FaNum)_Bold.woff2') format('woff2'),
src: url('/static/fonts/NotoNaskhArabic-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: 'Noto Naskh Arabic', serif !important;
}
}


سطر ٤٣: سطر ٣٩:
#template-documentation, #documentation-meta-data {
#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: IRANSans,Tahoma,'Noto Serif','Droid Arabic Naskh','DejaVu Sans',serif !important;
font-family: 'Noto Naskh Arabic', serif !important;
line-height: 1.6;
line-height: 1.6;
}
}
سطر ٤٩: سطر ٤٥:
.mw-body-content {
.mw-body-content {
font-kerning: auto;
font-kerning: auto;
font-size: 14px;
line-height: 2.1;
line-height: 2.1;
}
}


#mw-panel {
#mw-panel {
font-size: 14px;
font-size: 17px;
}
}