١١٧
تعديل
Wikinoor.ir (نقاش | مساهمات) طلا ملخص تعديل |
Wikinoor.ir (نقاش | مساهمات) طلا ملخص تعديل |
||
(٩ مراجعات متوسطة بواسطة نفس المستخدم غير معروضة) | |||
سطر ١: | سطر ١: | ||
/* ------------------------------ Font ------------------------------ */ | /* ------------------------------ Font ------------------------------ */ | ||
@font-face { | @font-face { | ||
font-family: ' | font-family: 'Noto Sans Arabic'; | ||
font-style: normal; | font-style: normal; | ||
font-weight: | font-weight: 400; | ||
font-display: swap; | font-display: swap; | ||
src: url('/static/fonts/ | src: url('/static/fonts/NotoSansArabic-Regular.woff2') format('woff2') | ||
} | } | ||
@font-face { | @font-face { | ||
font-family: ' | font-family: 'Noto Sans Arabic'; | ||
font-style: normal; | font-style: normal; | ||
font-weight: | font-weight: 500; | ||
font-display: swap; | font-display: swap; | ||
src: url('/static/fonts/ | src: url('/static/fonts/NotoSansArabic-Medium.woff2') format('woff2') | ||
} | } | ||
@font-face { | @font-face { | ||
font-family: ' | font-family: 'Noto Sans Arabic'; | ||
font-style: normal; | font-style: normal; | ||
font-weight: | font-weight: 600; | ||
font-display: swap; | font-display: swap; | ||
src: url('/static/fonts/ | src: url('/static/fonts/NotoSansArabic-SemiBold.woff2') format('woff2') | ||
} | } | ||
@font-face { | @font-face { | ||
font-family: ' | 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/ | src: url('/static/fonts/NotoSansArabic-Bold.woff2') format('woff2') | ||
} | } | ||
body { | body { | ||
/* generally a sans-serif font should be here */ | /* generally a sans-serif font should be here */ | ||
font-family: | 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: | 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: | font-size: 16px; | ||
} | } | ||
سطر ٧١: | سطر ٦٩: | ||
} | } | ||
/* ------------------------------ | /* ------------------------------ Other ----------------------------*/ | ||
. | .wn-qurantext { | ||
font-weight: bold; | |||
color: green; | |||
word-spacing: 1px; | |||
display: inline; | |||
} | } | ||
. | .mw-redirectedfrom { | ||
display: none; | |||
} | } | ||
. | #mp-article .mp-h2 span:before { | ||
background: url('/w/resources/assets/favorite.png') no-repeat center center; | |||
} | } | ||
. | #mp-new .mp-h2 span:before { | ||
background: url('/w/resources/assets/new.png') no-repeat center center; | |||
} | } | ||
. | #mp-top .mp-h2 span:before, #mp-badge .mp-h2 span:before { | ||
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 ----- */ | |||
.wikiInfo { | |||
font-size: 90%; | |||
position: relative; | |||
border: 1px solid #a2a9b1; | |||
/* ----- wikiInfo ----- */ | |||
.wikiInfo { | |||
font-size: 90%; | |||
position: relative; | |||
border: 1px solid # | |||
background-color: #f8f9fa; | background-color: #f8f9fa; | ||
display: flex; | display: flex; | ||
سطر ٢٥٧: | سطر ١٤١: | ||
.wikiInfo .wikitable { | .wikiInfo .wikitable { | ||
flex: 1; | flex: 1; | ||
border: none; | border: none; | ||
margin: 0; | |||
} | } | ||
سطر ٢٧٨: | سطر ١٦٣: | ||
.wikiInfo .wikitable tr th:nth-child(1) { | .wikiInfo .wikitable tr th:nth-child(1) { | ||
font-weight: bold; | font-weight: bold; | ||
/* background: #ecf0f5; */ | |||
} | } | ||
سطر ٢٩٢: | سطر ١٧٦: | ||
.wikiInfo .wikitable tr td:nth-child(1) { | .wikiInfo .wikitable tr td:nth-child(1) { | ||
font-weight: bold; | font-weight: bold; | ||
vertical-align: top; | |||
white-space: nowrap; | white-space: nowrap; | ||
background: # | /* background: #ecf0f5; */ | ||
} | } | ||
سطر ٣٠٤: | سطر ١٨٩: | ||
} | } | ||
/* Hide Auto Code */ | |||
.infobox tbody tr:nth-last-child(2) { | |||
display: none; | |||
/* | |||
. | |||
} | } | ||
. | a.new { | ||
color: #202122; | |||
} | } | ||
سطر ٣٣٣: | سطر ٢٠١: | ||
/* Main page fixes */ | /* Main page fixes */ | ||
body.page- | body.page-ويکينور_صفحه_تمرین #ca-edit, | ||
body.page- | body.page-ويکينور_آشنایی #ca-edit { | ||
border: 1px dotted #36c; | border: 1px dotted #36c; | ||
} | } | ||
body.page- | body.page-ويکينور_صفحه_تمرین #ca-edit:hover, | ||
body.page- | 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.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%; |