مدیران رابط کاربری، مدیران، templateeditor
۲۴٬۵۵۵
ویرایش
جزبدون خلاصۀ ویرایش |
بدون خلاصۀ ویرایش |
||
(۴۷ نسخهٔ میانی ویرایش شده توسط ۳ کاربر نشان داده نشد) | |||
خط ۵: | خط ۵: | ||
font-weight: 400; | font-weight: 400; | ||
font-display: swap; | font-display: swap; | ||
src: url('/static/fonts/Samim.woff') format('woff'); | src: url('/static/fonts/Samim-FD.woff2') format('woff2'), | ||
url('/static/fonts/Samim-FD.woff') format('woff'); | |||
} | |||
@font-face { | |||
font-family: 'Samim'; | |||
font-style: normal; | |||
font-weight: 500; | |||
font-display: swap; | |||
src: url('/static/fonts/Samim-Medium-FD.woff2') format('woff2'), | |||
url('/static/fonts/Samim-Medium-FD.woff') format('woff'); | |||
} | |||
@font-face { | |||
font-family: 'Samim'; | |||
font-style: normal; | |||
font-weight: 700; | |||
font-display: swap; | |||
src: url('/static/fonts/Samim-Bold-FD.woff2') format('woff2'), | |||
url('/static/fonts/Samim-Bold-FD.woff') format('woff'); | |||
} | } | ||
خط ۱۲: | خط ۲۹: | ||
font-style: normal; | font-style: normal; | ||
font-weight: 400; | font-weight: 400; | ||
font-display: swap; | font-display: swap; | ||
src: url('/static/fonts/me_quran. | src: url('/static/fonts/me_quran.woff2') format('woff2'); | ||
} | } | ||
خط ۲۰: | خط ۳۷: | ||
font-style: normal; | font-style: normal; | ||
font-weight: 400; | font-weight: 400; | ||
font-display: swap; | font-display: swap; | ||
src: url('/static/fonts/KFGQPCUthmanTahaNaskh. | src: url('/static/fonts/KFGQPCUthmanTahaNaskh.woff2') format('woff2'); | ||
} | |||
@font-face { | |||
font-family: 'Alaem'; | |||
font-style: normal; | |||
font-weight: 400; | |||
font-display: swap; | |||
src: url('/static/fonts/Alaem-Regular.woff2') format('woff2'); | |||
} | |||
@font-face { | |||
font-family: 'Amiri'; | |||
font-style: normal; | |||
font-weight: 700; | |||
font-display: swap; | |||
src: url('/static/fonts/Amiri-Bold.woff2') format('woff2'), | |||
} | |||
.alaem-a { | |||
font-family: 'Alaem'; | |||
font-size: 2.25em; | |||
line-height: .9rem; | |||
} | |||
.alaem-s { | |||
font-family: 'Alaem'; | |||
font-size: 1.63em; | |||
line-height: .9rem; | |||
} | } | ||
body { | body { | ||
font-family: Samim | font-family: Samim, Tahoma, 'Noto Serif', 'Droid Arabic Naskh', 'DejaVu Sans', serif !important; | ||
} | } | ||
خط ۳۲: | خط ۷۶: | ||
#content.mw-body #toc h2, #content.mw-body .toc h2, .vector-sticky-header-context-bar-primary, | #content.mw-body #toc h2, #content.mw-body .toc h2, .vector-sticky-header-context-bar-primary, | ||
#template-documentation, #documentation-meta-data{ | #template-documentation, #documentation-meta-data{ | ||
font-family: Samim | font-family: Samim, Tahoma, 'Noto Serif', 'Droid Arabic Naskh', 'DejaVu Sans', serif !important; | ||
line-height: 1.6; | |||
} | } | ||
خط ۴۰: | خط ۸۵: | ||
.mw-body-content { | .mw-body-content { | ||
line-height: 2. | font-kerning: auto; | ||
font-size: 15px; | |||
line-height: 2.4; | |||
} | } | ||
.quran-text { | .quran-text { | ||
font-size: | font-size: 18px; | ||
} | } | ||
.quran-text span:nth-child(1) { | .quran-text span:nth-child(1) { | ||
padding: 0 0 0 2px; | padding: 0 0 0 2px; | ||
} | } | ||
خط ۵۵: | خط ۱۰۰: | ||
.quran-text span:nth-child(2) { | .quran-text span:nth-child(2) { | ||
font-family: Quran, Tahoma,'DejaVu Sans'; | font-family: Quran, Tahoma,'DejaVu Sans'; | ||
word-spacing: | word-spacing: 3px; | ||
color: #215e21; | color: #215e21; | ||
font-size: 18px; | |||
line-height: normal; | |||
} | } | ||
.quran-text span:nth-child(3) { | .quran-text span:nth-child(3) { | ||
padding: 0 2px 0 0; | padding: 0 2px 0 0; | ||
} | } | ||
.arabic-text { | .arabic-text { | ||
font-family: 'KFGQPCUthmanTahaNaskh'; | |||
color: #202122; | color: #202122; | ||
font-size: 1.37em; | |||
line-height: 1.9; | |||
} | } | ||
.hadith-text { | .hadith-text { | ||
font-family: 'KFGQPCUthmanTahaNaskh'; | |||
color: #215e21; | color: #215e21; | ||
font-size: 1.37em; | |||
line-height: 1.9; | |||
} | } | ||
.references-small .quran-text { | .references-small .quran-text { | ||
font-size: | font-size: 17px; | ||
} | } | ||
.references-small . | .references-small .arabic-text, .references-small .hadith-text { | ||
font-size: | font-size: 17px; | ||
} | } | ||
/* Ace editor now supports RTL editing but a monospace font with Arabic should be set for correct functionality */ | /* Ace editor now supports RTL editing but a monospace font with Arabic should be set for correct functionality */ | ||
.ace_editor { font-family: 'Courier New', monospace!important; } | .ace_editor { font-family: 'Courier New', monospace !important; } | ||
/* force these to use inherited font configuration */ | /* force these to use inherited font configuration */ | ||
خط ۱۰۹: | خط ۱۵۵: | ||
} | } | ||
.mw-redirectedfrom { | |||
display: none; | display: none; | ||
} | } | ||
خط ۱۳۰: | خط ۱۷۶: | ||
/* Show red links only for uesrs */ | /* Show red links only for uesrs */ | ||
a.new { | a.new, h2 a, h3 a { | ||
color: unset; | color: unset; | ||
} | } | ||
/* --------------------- End Custom Style ----------------- */ | |||
/* References list */ | |||
.im-references { | |||
max-height: 300px; | |||
overflow: auto; | |||
padding: 5px 0 5px 5px; | |||
background: #f8f9fa; | |||
} | |||
.vector-menu-portal .vector-menu-content li { | |||
font-size: 0.85em; | |||
line-height: 1.225em; | |||
} | |||
/* --------------------- End Custom Style ----------------- */ | |||
/* --------------------- Begin Persian Wikipedia Style----------------- */ | /* --------------------- Begin Persian Wikipedia Style----------------- */ | ||
خط ۲۵۳: | خط ۳۱۲: | ||
.hlist dd:after, | .hlist dd:after, | ||
.hlist li:after { | .hlist li:after { | ||
content: " •"; | content: " • "; | ||
font-family: Tahoma,'Noto Serif','Droid Arabic Naskh','DejaVu Sans',serif !important; | |||
} | } | ||
.hlist dd:last-child:after, | .hlist dd:last-child:after, | ||
خط ۹۹۷: | خط ۱٬۰۵۶: | ||
/* Put a checker background at the image description page only visible if the image has transparent background */ | /* Put a checker background at the image description page only visible if the image has transparent background */ | ||
#file img { | #file img { | ||
background: url("// | background: url("//commons.imamatpedia.com/w/images/5/5d/Checker-16x16.png") repeat; | ||
} | } | ||
خط ۱٬۵۱۱: | خط ۱٬۵۷۰: | ||
} | } | ||
/* --------------------- End Persian Wikipedia Style----------------- */ | /* --------------------- End Persian Wikipedia Style----------------- */ | ||
/* --------------------- Start Ali ----------------- */ | |||
/* For portals, added 2011-12-07 -bv | |||
On wide screens, show these as two columns | |||
On narrow and mobile screens, let them collapse into a single column */ | |||
.mainpage-portals { | |||
float: right; | |||
width: 12.5%; | |||
margin: 12px auto; | |||
} | |||
.portal-container-2 { | |||
display: grid; | |||
grid-gap: 15px; | |||
grid-template-columns: repeat(2, auto); | |||
grid-template-rows: auto; | |||
width: 100% | |||
} | |||
.portal-container-3 { | |||
display: grid; | |||
grid-gap: 15px; | |||
grid-template-columns: repeat(3, auto); | |||
grid-template-rows: auto; | |||
width: 100% | |||
} | |||
.portal-container-4 { | |||
display: grid; | |||
grid-gap: 15px; | |||
grid-template-columns: repeat(4, auto); | |||
grid-template-rows: auto; | |||
width: 100% | |||
} | |||
.portal-container-5 { | |||
display: grid; | |||
grid-gap: 15px; | |||
grid-template-columns: repeat(5, auto); | |||
grid-template-rows: auto; | |||
width: 100% | |||
} | |||
.portal-container-6 { | |||
display: grid; | |||
grid-gap: 15px; | |||
grid-template-columns: repeat(6, auto); | |||
grid-template-rows: auto; | |||
width: 100% | |||
} | |||
.portal-container-7 { | |||
display: grid; | |||
grid-gap: 15px; | |||
grid-template-columns: repeat(7, auto); | |||
grid-template-rows: auto; | |||
width: 100% | |||
} | |||
.portal-column-2-3 { | |||
grid-column-end: span 2; | |||
} | |||
.portal-column-2-4 { | |||
grid-column-end: span 2; | |||
} | |||
.portal-column-3-4 { | |||
grid-column-end: span 3; | |||
} | |||
.portal-column-1-2, | |||
.portal-column-1-3, | |||
.portal-column-1-4, | |||
.portal-column-1-5, | |||
.portal-column-1-6, | |||
.portal-column-1-7 { | |||
grid-column-end: span 1; | |||
} | |||
.portal-column-2-2 { | |||
grid-column-end: span 2; | |||
} | |||
.portal-column-3-3 { | |||
grid-column-end: span 3; | |||
} | |||
.portal-column-4-4 { | |||
grid-column-end: span 4; | |||
} | |||
.portal-column-5-5 { | |||
grid-column-end: span 5; | |||
} | |||
.portal-column-6-6 { | |||
grid-column-end: span 6; | |||
} | |||
.portal-column-7-7 { | |||
grid-column-end: span 7; | |||
} | |||
@media only screen and (max-width: 700px) { | |||
.mainpage-portals { | |||
width: 25%; | |||
} | |||
/* Decouple the columns on narrow screens */ | |||
.portal-container-2, | |||
.portal-container-3, | |||
.portal-container-4, | |||
.portal-container-5, | |||
.portal-container-6, | |||
.portal-container-7 { | |||
display: block; | |||
} | |||
.portal-column-1-2, | |||
.portal-column-2-4, | |||
.portal-column-3-4, | |||
.portal-column-1-3, | |||
.portal-column-2-3, | |||
.portal-column-2-2, | |||
.portal-column-3-3, | |||
.portal-column-4-4, | |||
.portal-column-5-5, | |||
.portal-column-6-6, | |||
.portal-column-7-7 { | |||
float: inherit; | |||
width: 100%; | |||
margin-top: 16px; | |||
display: block !important; | |||
text-align: center; | |||
} | |||
.portal-column-1-4 { | |||
width: calc(50% - 16px); | |||
} | |||
.portal-column-1-6 { | |||
width: calc(33.3% - 16px); | |||
} | |||
.portal-column-1-7 { | |||
float: right; | |||
width: calc(25% - 16px); | |||
} | |||
} | |||
@media only screen and (max-width: 600px) { | |||
.portal-column-1-4, | |||
.portal-column-1-6, | |||
.portal-column-1-5 { | |||
float: inherit; | |||
width: 100%; | |||
margin: 0; | |||
display: block !important; | |||
text-align: center; | |||
} | |||
} | |||
/* صفحه اصلی لوگو عنوان ها */ | |||
#mp-article .mp-h2 span:before { | |||
background: url('/static/images/favorite.png') no-repeat center center; | |||
} | |||
#mp-new .mp-h2 span:before { | |||
background: url('/static/images/new.png') no-repeat center center; | |||
} | |||
#mp-top .mp-h2 span:before, #mp-badge .mp-h2 span:before { | |||
background: url('/static/images/top.png') no-repeat center center; | |||
} | |||
#mp-help .mp-h2 span:before { | |||
background: url('/static/images/help.png') no-repeat center center; | |||
} | |||
/* --------------------- End Ali ----------------- */ |