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

۶۹۷ بایت اضافه‌شده ،  ‏۱۴ دسامبر ۲۰۲۳
جز
بدون خلاصۀ ویرایش
جزبدون خلاصۀ ویرایش
جزبدون خلاصۀ ویرایش
 
(۳۳ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد)
خط ۲۷: خط ۲۷:
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;
}
}


.mw-content-container {
#mp-help .mp-h2 span:before {
   max-width: unset;
    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,