مدیران رابط کاربری، مدیران، templateeditor
۲۴٬۵۵۵
ویرایش
جزبدون خلاصۀ ویرایش |
بدون خلاصۀ ویرایش |
||
(۷۷ نسخهٔ میانی ویرایش شده توسط ۲ کاربر نشان داده نشد) | |||
خط ۱: | خط ۱: | ||
/* --------------------- Begin Font Style ----------------- */ | |||
@font-face { | @font-face { | ||
font-family: 'Samim'; | font-family: 'Samim'; | ||
font-style: normal; | |||
font-weight: 400; | |||
url('/ | font-display: swap; | ||
src: url('/static/fonts/Samim-FD.woff2') format('woff2'), | |||
url('/static/fonts/Samim-FD.woff') format('woff'); | |||
} | } | ||
@font-face { | @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-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-face { | |||
font- | font-family: 'Quran'; | ||
font- | font-style: normal; | ||
font-weight: 400; | |||
font-display: swap; | |||
src: url('/static/fonts/me_quran.woff2') format('woff2'); | |||
} | } | ||
. | |||
@font-face { | |||
font-family: 'KFGQPCUthmanTahaNaskh'; | |||
font-style: normal; | |||
font-weight: 400; | |||
font-display: swap; | |||
src: url('/static/fonts/KFGQPCUthmanTahaNaskh.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 { | |||
font-family: Samim, Tahoma, 'Noto Serif', 'Droid Arabic Naskh', 'DejaVu Sans', serif !important; | |||
} | |||
#content.mw-body h1, #content.mw-body h2, #content.mw-body #firstHeading, | |||
#content.mw-body .mw-editsection, .mw-body .mw-editsection-like, | |||
#content.mw-body #toc h2, #content.mw-body .toc h2, .vector-sticky-header-context-bar-primary, | |||
#template-documentation, #documentation-meta-data{ | |||
font-family: Samim, Tahoma, 'Noto Serif', 'Droid Arabic Naskh', 'DejaVu Sans', serif !important; | |||
line-height: 1.6; | |||
} | |||
textarea { | |||
font-family: Samim, 'Courier New', monospace; | |||
} | |||
.mw-body-content { | |||
font-kerning: auto; | |||
line-height: 2.4; | |||
} | |||
.quran-text { | |||
font-size: 18px; | |||
} | |||
.quran-text span:nth-child(1) { | |||
padding: 0 0 0 2px; | |||
} | |||
.quran-text span:nth-child(2) { | |||
font-family: Quran, Tahoma,'DejaVu Sans'; | |||
word-spacing: 3px; | |||
color: #215e21; | color: #215e21; | ||
font-size: 18px; | |||
line-height: normal; | |||
} | |||
.quran-text span:nth-child(3) { | |||
padding: 0 2px 0 0; | |||
} | } | ||
. | |||
.arabic-text { | |||
font-family: 'KFGQPCUthmanTahaNaskh'; | |||
color: #202122; | |||
font-size: 1.37em; | |||
line-height: 1.9; | |||
} | } | ||
. | |||
.hadith-text { | |||
font-family: 'KFGQPCUthmanTahaNaskh'; | |||
color: #215e21; | |||
font-size: 1.37em; | |||
line-height: 1.9; | |||
} | } | ||
.references-small .quran-text { | |||
font-size: 17px; | |||
} | } | ||
. | .references-small .arabic-text, .references-small .hadith-text { | ||
font-size: 17px; | |||
} | } | ||
/* 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; } | |||
/* force these to use inherited font configuration */ | /* force these to use inherited font configuration */ | ||
.ui-widget, .ui-widget *, button, input, select, optgroup { | .ui-widget, .ui-widget *, button, input, select, optgroup { | ||
font-family: inherit; | |||
} | } | ||
/* end */ | /* end */ | ||
dfn { | dfn { | ||
font-style: inherit; /* Reset default styling for <dfn> */ | |||
} | } | ||
sup, sub { | sup, sub { | ||
line-height: 1em; /* Reduce line-height for <sup> and <sub> */ | |||
} | |||
/* --------------------- End Font Style ----------------- */ | |||
/* --------------------- Begin Custom Style ----------------- */ | |||
.mw-redirectedfrom { | |||
display: none; | |||
} | } | ||
.hatnote, .dablink, .rellink { | |||
padding: 5px 7px; | |||
padding-left: 7px; | |||
color: #54595d; | |||
font-size: 0.8125rem; | |||
background-color: #f8f9fa; | |||
margin-bottom: 1px; | |||
overflow: hidden; | |||
} | |||
/* ------------- | /* Hide stuff meant for accounts with special permissions. Made visible again in | ||
[[MediaWiki:Group-checkuser.css]], [[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-patroller.css]], | |||
. | [[MediaWiki:Group-templateeditor.css]], [[MediaWiki:Group-extendedmover.css]], | ||
[[MediaWiki:Group-extendedconfirmed.css]], and [[Mediawiki:Group-autoconfirmed.css]]. */ | |||
.checkuser-show, | |||
.sysop-show, | |||
.patroller-show, | |||
.templateeditor-show, | |||
.extendedmover-show, | |||
.extendedconfirmed-show, | |||
.autoconfirmed-show, | |||
.user-show { | |||
display: none; | |||
} | } | ||
. | |||
.mw-parser-output .hatnote { | |||
font-style: normal; | |||
} | } | ||
/* Show red links only for uesrs */ | |||
a.new, h2 a, h3 a { | |||
color: unset; | |||
} | } | ||
/* References list */ | |||
.im-references { | |||
max-height: 300px; | |||
. | overflow: auto; | ||
padding: 5px 0 5px 5px; | |||
background: #f8f9fa; | |||
} | } | ||
/* --------------------- End | /* --------------------- End Custom Style ----------------- */ | ||
/* --------------------- Begin Main Page Style ----------------- */ | |||
/* to prevent double welcome! */ | /* to prevent double welcome! */ | ||
.page-Main_Page #section_0 { display: none } | .page-Main_Page #section_0 { display: none } | ||
/* | /** | ||
.mobile-float-reset { | You are editing the global css file for all mobile site users. | ||
With Great Power Comes Great Responsibility. | |||
Some words of caution: | |||
* Avoid any changes which impact layout on a mobile device. | |||
** Please be careful not to introduce any margin / padding rules. These should be done inside the template itself via an inline style. | |||
** Be especially cautious when a template is likely to be used within the top 480px of the screen (the content that the user will see first on a mobile device). | |||
* Do not use display:none. Instead edit the template and markup the element you want to hide with the `nomobile` class. | |||
* Try to keep rules as generic and minimal as possible. Do not have 2 selectors doing the same thing. Introduce a common class and use that instead. | |||
* For big changes consult the [https://grafana.wikimedia.org/dashboard/db/mobile-2g grafana dashboard] to ensure you don't introduce any performance regressions. | |||
* Group common css rules together where possible. | |||
If you are looking for .mobile-float-reset (see [[:phab:T56176]]), use TemplateStyles instead. | |||
.mobile-float-reset { | |||
float: none !important; | |||
width: 100% !important; | |||
} | |||
*/ | |||
/* Hide the images */ | |||
.geo-nondefault, .geo-multi-punct, | |||
/* Hide stuff meant for accounts with special permissions. Made visible again in | |||
[[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-patroller.css]] and | |||
[[MediaWiki:Group-autoconfirmed.css]]. */ | |||
.checkuser-show, | |||
.sysop-show, | |||
.templateeditor-show, | |||
.extendedmover-show, | |||
.patroller-show, | |||
.extendedconfirmed-show, | |||
.autoconfirmed-show, | |||
/* Copied from Common.css - allow for hiding text in compact form e.g. clean up templates */ | |||
.hide-when-compact, | |||
/* portal pages are badly formatted. Until this changes these should be hidden. (see https://phabricator.wikimedia.org/T86495) */ | |||
.noprint.portal { | |||
display: none; | |||
} | |||
/* | |||
.infobox | |||
DO NOT style infobox's here. That should be taken care of in the associated templates via template styles. Styles here will lead to flash of unstyled content on mobile. | |||
*/ | |||
/* removed inline from module as we work toward Tstyles support | |||
* Use three classes to match specificity of MobileFrontend/Minerva selectors */ | |||
.content .mw-parser-output .infobox-header, | |||
.content .mw-parser-output .infobox-subheader, | |||
.content .mw-parser-output .infobox-above, | |||
.content .mw-parser-output .infobox-title, | |||
.content .mw-parser-output .infobox-image, | |||
.content .mw-parser-output .infobox-full-data, | |||
.content .mw-parser-output .infobox-below { | |||
text-align: center; | |||
} | } | ||
خط ۲۵۶: | خط ۳۴۱: | ||
} | } | ||
/* Generate interpuncts */ | /* Generate interpuncts */ | ||
# | #bodyContent .hlist dt:after { | ||
content: ":"; | content: ":"; | ||
} | } | ||
# | #bodyContent .hlist dd:after, | ||
# | #bodyContent .hlist li:after { | ||
content: " | content: " • "; | ||
font- | font-family: Tahoma,'Noto Serif','Droid Arabic Naskh','DejaVu Sans',serif !important; | ||
} | } | ||
#content .hlist dd:last-child:after, | #content .hlist dd:last-child:after, | ||
خط ۴۳۲: | خط ۵۱۷: | ||
} | } | ||
/* | /* To changing arabic numeral format in all oredred lists to persian numeral format on Mobile View */ | ||
#content ol { | |||
list-style-type:-moz-persian !important; /* To override some codes that avoids this one to be used on Mozilla Firefox */ | |||
list-style-type:persian; | |||
} | } | ||
/* | .mw-ui-icon:before { top: 0; } | ||
/* عدم نمایش زیرعنوان واکشی شده از ویکیداده که در صفحههای قفل شده سوژهٔ خرابکاری و | |||
باعث پیدا شدن شیوهای برای انجام خرابکاری شده است تا یافتن راهحل بهتر */ | |||
.ns-0 .page-heading div { display: none; } | |||
/* Main page fixes */ | |||
body.page-صفحهٔ_اصلی h1.firstHeading, | |||
body.page-صفحهٔ_اصلی #centralNotice { | |||
display: none !important; | |||
} | } | ||
/* --------------------- End Font Style ----------------- */ |