پرش به محتوا

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

۱۴۳ بایت اضافه‌شده ،  ‏۱۴ دسامبر ۲۰۲۳
جز
بدون خلاصۀ ویرایش
جزبدون خلاصۀ ویرایش
جزبدون خلاصۀ ویرایش
 
(۴۰ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد)
خط ۴: خط ۴:
font-style: normal;
font-style: normal;
font-weight: 300;
font-weight: 300;
font-display: swap;
src: url('/static/fonts/IRANSansWeb(FaNum)_Light.woff2') format('woff2'),
src: url('/static/fonts/IRANSansWeb(FaNum)_Light.woff2') format('woff2'),
url('/static/fonts/IRANSansWeb(FaNum)_Light.woff') format('woff');
url('/static/fonts/IRANSansWeb(FaNum)_Light.woff') format('woff');
خط ۱۲: خط ۱۱:
font-style: normal;
font-style: normal;
font-weight: 400;
font-weight: 400;
font-display: swap;
src: url('/static/fonts/IRANSansWeb(FaNum).woff2') format('woff2'),
src: url('/static/fonts/IRANSansWeb(FaNum).woff2') format('woff2'),
url('/static/fonts/IRANSansWeb(FaNum).woff') format('woff');
url('/static/fonts/IRANSansWeb(FaNum).woff') format('woff');
خط ۲۰: خط ۱۸:
font-style: normal;
font-style: normal;
font-weight: 500;
font-weight: 500;
font-display: swap;
src: url('/static/fonts/IRANSansWeb(FaNum)_Medium.woff2') format('woff2'),
src: url('/static/fonts/IRANSansWeb(FaNum)_Medium.woff2') format('woff2'),
url('/static/fonts/IRANSansWeb(FaNum)_Medium.woff') format('woff');
url('/static/fonts/IRANSansWeb(FaNum)_Medium.woff') format('woff');
خط ۲۸: خط ۲۵:
font-style: normal;
font-style: normal;
font-weight: 700;
font-weight: 700;
font-display: swap;
src: url('/static/fonts/IRANSansWeb(FaNum)_Bold.woff2') format('woff2'),
src: url('/static/fonts/IRANSansWeb(FaNum)_Bold.woff2') format('woff2'),
url('/static/fonts/IRANSansWeb(FaNum)_Bold.woff') format('woff');
url('/static/fonts/IRANSansWeb(FaNum)_Bold.woff') format('woff');
}
@font-face {
    font-family: 'Nastaliq';
font-style: normal;
src: url('/static/fonts/IranNastaliq.woff2') format('woff2')
}
@font-face {
font-family: 'Quran';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('/static/fonts/Quran.woff2') format('woff2');
}
}


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: IRANSans,Tahoma,'Noto Serif','Droid Arabic Naskh','DejaVu Sans',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: IRANSans,Tahoma,'Noto Serif','Droid Arabic Naskh','DejaVu Sans',serif !important;
line-height: 1.6;
line-height: 1.6;
}
}


.mw-body-content {
.mw-body-content {
line-height: 2;
font-kerning: auto;
font-size: 14.5px;
line-height: 2.1;
}
 
.poem, .beyt, .b {
font-family: Nastaliq;
font-kerning: auto;
font-size: 20px;
font-synthesis: none;
font-style: normal;
font-weight: normal;
}
}


#mw-panel {
.quran-text span:nth-child(1) {
font-size: 17px;
font-family: Quran,Tahoma,'DejaVu Sans';
word-spacing: 1.5px;
color: #215e21;
font-size: 16.5px;
line-height: normal;
}
 
.references {
  font-size: 14px;
}
}


خط ۷۲: خط ۱۰۰:


/* ------------------------------ Other ----------------------------*/
/* ------------------------------ Other ----------------------------*/
.mw-body h1, .mw-body-content h1 {
  font-size: 1.6em;
  padding: 2px 0;
}
.wn-qurantext {
.wn-qurantext {
font-weight: bold;
font-weight: bold;
خط ۸۶: خط ۱۱۹:
     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;
a.new {
}
  color: #202122;
 
.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 {
padding: 0 !important;
}
.alphabet-list  .mw-ui-button  a {
padding: 0.546875em 1em !important;
display: inline-block !important;
}
/* ------------------------------ Global ------------------------------*/
/* ------------------------------ Global ------------------------------*/
/* Main page fixes */
/* Main page fixes */
body.page-ویکی‌نور_صفحه_تمرین #ca-edit,
body.page-ویکی‌نور_صفحه_تمرین #ca-edit,
body.page-ویکی‌نور_آشنایی #ca-edit {
body.page-ویکی‌نور_آشنایی #ca-edit {
خط ۳۲۸: خط ۳۴۵:
.hlist dd:after,
.hlist dd:after,
.hlist li:after {
.hlist li:after {
content: " •";
content: " • ";
/*font-weight: bold;*/
font-family: Tahoma,'Noto Serif','Droid Arabic Naskh','DejaVu Sans',serif !important;
}
}
.hlist dd:last-child:after,
.hlist dd:last-child:after,
خط ۱٬۲۰۳: خط ۱٬۲۲۰:
.dablink,
.dablink,
.hatnote {
.hatnote {
font-style: italic;
font-style: normal;
}
}
.rellink i,
.rellink i,
خط ۱٬۲۱۴: خط ۱٬۲۳۱:
div.hatnote {
div.hatnote {
/* @noflip */
/* @noflip */
padding-right: 1.6em;
padding: 12px 24px;
margin-bottom: 0.5em;
}
}