مدیاویکی: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 {
font-kerning: auto;
font-kerning: auto;
font-size: 15px;
font-size: 14.5px;
line-height: 2.1;
line-height: 2.1;
}
}


#mw-panel {
.poem, .beyt, .b {
font-size: 17px;
font-family: Nastaliq;
font-kerning: auto;
font-size: 20px;
font-synthesis: none;
font-style: normal;
font-weight: normal;
}
 
.quran-text span:nth-child(1) {
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; */
}
}


خط ۱۸۷: خط ۲۲۵:


/* Hide Auto Code */
/* Hide Auto Code */
.infobox tbody tr:nth-last-child(2) {
a.new {
display: none;
  color: #202122;
}
}
/* ------------------------------ Global ------------------------------*/
/* ------------------------------ Global ------------------------------*/
خط ۳۰۹: خط ۳۴۷:
content: " • ";
content: " • ";
font-family: Tahoma,'Noto Serif','Droid Arabic Naskh','DejaVu Sans',serif !important;
font-family: Tahoma,'Noto Serif','Droid Arabic Naskh','DejaVu Sans',serif !important;
color: #999;
}
}
.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;
}
}