Jump to content

"میڈیاویکی:Common.css" کے نسخوں کے درمیان فرق

م
کوئی خلاصۂ ترمیم نہیں
مکوئی خلاصۂ ترمیم نہیں
مکوئی خلاصۂ ترمیم نہیں
سطر 1: سطر 1:
/* ------------------------------ Font ------------------------------ */
/* ------------------------------ Font ------------------------------ */
@font-face {
@font-face {
     font-family: 'IRANSans';
     font-family: 'Noto Nastaliq Urdu';
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/NotoNastaliqUrdu-Regular.woff2') format('woff2')
url('/static/fonts/IRANSansWeb(FaNum)_Light.woff') format('woff');
}
}
@font-face {
@font-face {
     font-family: 'IRANSans';
     font-family: 'Noto Nastaliq Urdu';
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/NotoNastaliqUrdu-Medium.woff2') format('woff2')
url('/static/fonts/IRANSansWeb(FaNum).woff') format('woff');
}
}
@font-face {
@font-face {
     font-family: 'IRANSans';
     font-family: 'Noto Nastaliq Urdu';
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/NotoNastaliqUrdu-SemiBold.woff2') format('woff2')
url('/static/fonts/IRANSansWeb(FaNum)_Medium.woff') format('woff');
}
}
@font-face {
@font-face {
     font-family: 'IRANSans';
     font-family: 'Noto Nastaliq Urdu';
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/NotoNastaliqUrdu-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 Nastaliq Urdu', serif !important;  
}
}


سطر 43: سطر 39:
#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 Nastaliq Urdu', serif !important;
line-height: 1.6;
line-height: 2.3;
}
}