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

ط
لا يوجد ملخص تحرير
طلا ملخص تعديل
طلا ملخص تعديل
 
(٨ مراجعات متوسطة بواسطة نفس المستخدم غير معروضة)
سطر ١: سطر ١:
/* ------------------------------ Font ------------------------------ */
/* ------------------------------ Font ------------------------------ */
@font-face {
@font-face {
     font-family: 'IRANSans';
     font-family: 'Noto Sans 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/NotoSansArabic-Regular.woff2') format('woff2')
url('/static/fonts/IRANSansWeb(FaNum)_Light.woff') format('woff');
}
}
@font-face {
@font-face {
     font-family: 'IRANSans';
     font-family: 'Noto Sans 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/NotoSansArabic-Medium.woff2') format('woff2')
url('/static/fonts/IRANSansWeb(FaNum).woff') format('woff');
}
}
@font-face {
@font-face {
     font-family: 'IRANSans';
     font-family: 'Noto Sans 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/NotoSansArabic-SemiBold.woff2') format('woff2')
url('/static/fonts/IRANSansWeb(FaNum)_Medium.woff') format('woff');
}
}
@font-face {
@font-face {
     font-family: 'IRANSans';
     font-family: 'Noto Sans 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/NotoSansArabic-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,'Iranian Serif','Iranian Sans',Tahoma,'Noto Serif','Droid Arabic Naskh','DejaVu Sans',serif !important;  
font-family: 'Noto Sans 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,'Iranian Serif','Iranian Sans',Tahoma,'Noto Serif','Droid Arabic Naskh','DejaVu Sans',serif !important;
font-family: 'Noto Sans Arabic', serif !important;
line-height: 1.6;
line-height: 1.6;
}
}


.mw-body-content {
.mw-body-content {
line-height: 2;
font-kerning: auto;
line-height: 2.1;
text-align: justify;
}
}


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


سطر ٨٦: سطر ٨٤:
     background: url('/w/resources/assets/favorite.png') no-repeat center center;
     background: url('/w/resources/assets/favorite.png') no-repeat center center;
}
}
#mp-help .mp-h2 span:before {
    background: url('/w/resources/assets/help.png') no-repeat center center;
}
#mp-new .mp-h2 span:before {
#mp-new .mp-h2 span:before {
سطر ٩٥: سطر ٨٩:
}
}
#mp-top .mp-h2 span:before {
#mp-top .mp-h2 span:before, #mp-badge .mp-h2 span:before {
     background: url('/w/resources/assets/top.png') no-repeat center center;
     background: url('/w/resources/assets/top.png') no-repeat center center;
}
#mp-help .mp-h2 span:before {
    background: url('/w/resources/assets/help.png') no-repeat center center;
}
.vector-menu-portal .vector-menu-content li {
  line-height: 1.3;
  font-size: 0.85em;
}
}


سطر ١٦٠: سطر ١٦٣:
.wikiInfo .wikitable tr th:nth-child(1) {
.wikiInfo .wikitable tr th:nth-child(1) {
font-weight: bold;
font-weight: bold;
background: #ecf0f5;
/* background: #ecf0f5; */
}
}


سطر ١٧٣: سطر ١٧٦:
.wikiInfo .wikitable tr td:nth-child(1) {
.wikiInfo .wikitable tr td:nth-child(1) {
font-weight: bold;
font-weight: bold;
background: #ecf0f5;
vertical-align: top;
white-space: nowrap;
/* background: #ecf0f5; */
}
}


سطر ١٨٤: سطر ١٨٩:
}
}


.beyt {
/* Hide Auto Code */
  white-space: nowrap;
.infobox tbody tr:nth-last-child(2) {
}
display: none;
 
.nastaliq {
  line-height: 200%;
  font-size: 150%;
  font-family: IranNastaliq, 'Urdu Emad Nastaleeq', 'Noto Nastaliq Urdu', 'Urdu Typesetting', 'Jameel Noori Nastaleeq', 'Nafees Nastaleeq', 'Nafees Nastaleeq v1.01', Nafees, 'Pak Nastaleeq', 'PDMS_Jauhar', sans-serif;
  text-justify: inter-word;
  font-weight: normal;
}
.nastaliq .b { text-justify: inter-word; }
 
/* Display Quran Text in best of font without import external font file */
.quranText {
font-weight: bold;
}
}


.alphabet-list  .mw-ui-button {
a.new {
padding: 0 !important;
  color: #202122;
}
.alphabet-list  .mw-ui-button  a {
padding: 0.546875em 1em !important;
display: inline-block !important;
}
}


سطر ٢١٣: سطر ٢٠١:
/* Main page fixes */
/* Main page fixes */


body.page-ویکی‌نور_صفحه_تمرین #ca-edit,
body.page-ويکي‌نور_صفحه_تمرین #ca-edit,
body.page-ویکی‌نور_آشنایی #ca-edit {
body.page-ويکي‌نور_آشنایی #ca-edit {
border: 1px dotted #36c;
border: 1px dotted #36c;
}
}
body.page-ویکی‌نور_صفحه_تمرین #ca-edit:hover,
body.page-ويکي‌نور_صفحه_تمرین #ca-edit:hover,
body.page-ویکی‌نور_آشنایی #ca-edit:hover {
body.page-ويکي‌نور_آشنایی #ca-edit:hover {
background: none repeat scroll 0 0 white;
background: none repeat scroll 0 0 white;
border-color: transparent;
border-color: transparent;
}
}
body.page-صفحهٔ_اصلی #mp-topbanner {
body.page-الصفحة_الرئيسية #mp-topbanner {
clear: both;
clear: both;
}
}


body.page-صفحهٔ_اصلی #ca-delete,
body.page-الصفحة_الرئيسية #ca-delete,
body.page-صفحهٔ_اصلی #deleteconfirm,
body.page-الصفحة_الرئيسية #deleteconfirm,
body.page-صفحهٔ_اصلی #t-cite,
body.page-الصفحة_الرئيسية #t-cite,
body.page-صفحهٔ_اصلی #lastmod,
body.page-الصفحة_الرئيسية #lastmod,
body.page-صفحهٔ_اصلی #siteSub,
body.page-الصفحة_الرئيسية #siteSub,
body.page-صفحهٔ_اصلی #contentSub,
body.page-الصفحة_الرئيسية #contentSub,
body.page-صفحهٔ_اصلی #catlinks,
body.page-الصفحة_الرئيسية #catlinks,
body.page-صفحهٔ_اصلی h1.firstHeading,
body.page-الصفحة_الرئيسية h1.firstHeading,
body.page-صفحهٔ_اصلی #centralNotice,
body.page-الصفحة_الرئيسية #centralNotice,
body.page-درگاه_ورودی #siteSub,
body.page-درگاه_ورودی #siteSub,
body.page-درگاه_ورودی h1.firstHeading {
body.page-درگاه_ورودی h1.firstHeading {
سطر ٢٤٠: سطر ٢٢٨:
}
}


body.page-صفحهٔ_اصلی #ca-history,
body.page-الصفحة_الرئيسية #ca-history,
body.page-صفحهٔ_اصلی #pagehistory {
body.page-الصفحة_الرئيسية #pagehistory {
display: none;
display: none;
}
}
سطر ١٬٤٨٥: سطر ١٬٤٧٣:
body.ns-2[class*="_صفحه_تمرین"] #firstHeading::after {
body.ns-2[class*="_صفحه_تمرین"] #firstHeading::after {
color: #72777d;
color: #72777d;
content: "توجه:این صفحه بخشی از دانشنامه نیست و صرفاً جهت ویرایش آزمایشی در ویکی‌نور کاربرد دارد.";
content: "توجه:این صفحه بخشی از دانشنامه نیست و صرفاً جهت ویرایش آزمایشی در ويکي‌نور کاربرد دارد.";
float: left;
float: left;
width: 40%;
width: 40%;