مدیاویکی:Common.css: تفاوت میان نسخهها
Nazarzadeh (بحث | مشارکتها) بدون خلاصۀ ویرایش برچسب: برگرداندهشده |
Nazarzadeh (بحث | مشارکتها) بدون خلاصۀ ویرایش |
||
(۵۱ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد) | |||
خط ۱: | خط ۱: | ||
* { | |||
box-sizing: border-box; | |||
} | |||
/* 1.40 vectore */ | |||
.vector-menu-tabs .mw-list-item.vector-tab-noicon a { | |||
border-bottom: none; | |||
margin-top: 20px; | |||
} | |||
.vector-page-titlebar::after { | |||
height: 0; | |||
} | |||
.vector-page-toolbar-container { | |||
box-shadow: none; | |||
} | |||
/* Vazir Font */ | /* Vazir Font */ | ||
@font-face { | @font-face { | ||
خط ۴: | خط ۲۰: | ||
src: url('/fonts/Vazir.woff2') format('woff2'), url('/fonts/Vazir.woff') format('woff'), url('/fonts/Vazir.ttf') format('truetype'); | src: url('/fonts/Vazir.woff2') format('woff2'), url('/fonts/Vazir.woff') format('woff'), url('/fonts/Vazir.ttf') format('truetype'); | ||
} | } | ||
/* | /* Sahel Font */ | ||
@font-face { | @font-face { | ||
font-family: 'sahel'; | |||
src: url('/fonts/Sahel-Bold-WOL.woff2') format('woff2'), url('/fonts/Sahel-Bold-WOL.ttf') format('truetype'); | |||
} | } | ||
/* Logo */ | /* Logo */ | ||
خط ۲۶: | خط ۳۹: | ||
font-family: vazir, Tahoma, 'Iranian Sans', 'DejaVu Sans', 'Noto Sans Arabic', 'Noto Kufi Arabic', 'Droid Arabic Kufi', sans-serif; | font-family: vazir, Tahoma, 'Iranian Sans', 'DejaVu Sans', 'Noto Sans Arabic', 'Noto Kufi Arabic', 'Droid Arabic Kufi', sans-serif; | ||
} | } | ||
h1, h2 { | |||
font-weight: bold; | |||
} | |||
.mw-body h1, .mw-body h2, .mw-body #firstHeading, | .mw-body h1, .mw-body h2, .mw-body #firstHeading, | ||
.mw-body .mw-editsection, .mw-body .mw-editsection-like, | .mw-body .mw-editsection, .mw-body .mw-editsection-like, | ||
.mw-body #toc h2, .mw-body .toc h2, | .mw-body #toc h2, .mw-body .toc h2, .vector-sticky-header-context-bar-primary, h3, h4, | ||
#documentation-meta-data { | #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: sahel, Tahoma, 'Iranian Serif', 'Noto Naskh Arabic', 'Iranian Sans', 'DejaVu Sans', serif; | ||
} | } | ||
خط ۸۵: | خط ۱۰۰: | ||
body.page-صفحهٔ_اصلی #ca-history, | body.page-صفحهٔ_اصلی #ca-history, | ||
body.page-صفحهٔ_اصلی #pagehistory { | body.page-صفحهٔ_اصلی #pagehistory { | ||
dis play: none; | |||
} | } | ||
خط ۱٬۱۴۱: | خط ۱٬۱۵۶: | ||
} | } | ||
/* توضیح به کاربران درباره صفحه تمرین | /* توضیح به کاربران درباره صفحه تمرین | ||
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%; | ||
font-size: 40%; | font-size: 40%; | ||
} | } | ||
*/ | |||
/*اصلاح اندازه فونت در تغییرات اخیر برای [ویرایشهای در حال انتظار] برگرفته از ویکیروسی*/ | /*اصلاح اندازه فونت در تغییرات اخیر برای [ویرایشهای در حال انتظار] برگرفته از ویکیروسی*/ | ||
.mw-fr-reviewlink, .fr-hist-basic-user, .fr-hist-basic-auto { | .mw-fr-reviewlink, .fr-hist-basic-user, .fr-hist-basic-auto { | ||
خط ۱٬۴۶۵: | خط ۱٬۴۸۰: | ||
} | } | ||
.navbox-title a { | .navbox-title a { | ||
color: black !important;; | color: black !important;; | ||
خط ۱٬۵۵۷: | خط ۱٬۵۶۳: | ||
padding: 0.2em 0.4em; | padding: 0.2em 0.4em; | ||
background-color: white !important; | background-color: white !important; | ||
} | } | ||
خط ۱٬۵۹۴: | خط ۱٬۵۹۷: | ||
/* محیط ویرایش */ | /* محیط ویرایش */ | ||
#wpTextbox1 { | #wpTextbox1 { | ||
font-size: | font-size: 16px; | ||
font-family: tahoma; | font-family: tahoma; | ||
} | } | ||
خط ۱٬۶۵۳: | خط ۱٬۶۵۶: | ||
font-size: 14px; | font-size: 14px; | ||
} | } | ||
/* الگو:مقالههای کاربر */ | /* الگو:مقالههای کاربر */ | ||
.user-articles .mw-newpages-history, .user-articles .mw-newpages-length, .user-articles .mw-userlink, .user-articles .mw-usertoollinks, .user-articles .comment, .user-articles .mw-tag-markers, .user-articles .mw-newpages-oldtitle, .user-articles .mw-newpages-time { | .user-articles .mw-newpages-history, .user-articles .mw-newpages-length, .user-articles .mw-userlink, .user-articles .mw-usertoollinks, .user-articles .comment, .user-articles .mw-tag-markers, .user-articles .mw-newpages-oldtitle, .user-articles .mw-newpages-time { | ||
خط ۱٬۶۹۴: | خط ۱٬۶۶۸: | ||
margin-bottom: 0; | margin-bottom: 0; | ||
} | } | ||
#mw- | |||
height: 0; | /* vector-2022 */ | ||
.mw-content-container, .mw-article-toolbar-container { | |||
max -width: none; | |||
} | |||
.mw-sidebar-action { | |||
display: none; | |||
} | |||
.cdx-typeahead-search--show-thumbnail.cdx-typeahead-search--auto-expand-width:not(.cdx-typeahead-search--active) { | |||
margin-left: 24px; | |||
margin-right: 0; | |||
} | |||
#searchInput { | |||
padding: 0.2em 2.5em; | |||
} | |||
/* پیشنهاد سلطان */ | |||
a.new { | |||
color: #860000; | |||
text-decoration: none; | |||
} | |||
a { | |||
color: #052a75; | |||
} | |||
a:visited { | |||
color: #052a75; | |||
} | |||
h1, h2 { | |||
bor der-bottom: none; | |||
} | |||
/* citizen */ | |||
.skin-citizen .page-actions > .mw-portlet li > a { | |||
line-height: 20px; | |||
} | |||
@media screen { | |||
html.ve-active { | |||
--width-toc: 0; | |||
} | |||
} | |||
/* hide excess menus for non-logged-in */ | |||
#n-امتیاز-مشارکت, #t-recentchangeslinked, #t-upload, #t-info, #t-createredirect, #t-articlefeedbackv5-add, #t-articlefeedbackv5-view, #n-recentchanges, #t-specialpages, .vector-menu-tabs .mw-list-item.new a { | |||
display: none; | |||
} | |||
#right-navigation, #left-navigation .selected { | |||
display: none; | |||
} | |||
.mw-body-header { | |||
float: right; | |||
} | |||
.vector-article-toolbar { | |||
float: left; | |||
z-index: 1; | |||
position: relative; | |||
} | |||
.vector-article-toolbar .new { | |||
display: none; | |||
} | |||
.vector-menu-tabs .mw-list-item > a { | |||
color: #fff; | |||
background-color: #36c; | |||
border-color: #36c; | |||
padding: 8px !important; | |||
transition: background-color 100ms,color 100ms,border-color 100ms,box-shadow 100ms; | |||
min-height: 1em; | |||
font-size: 14px; | |||
border-radius: 3px; | |||
} | |||
.mw-article-toolbar-container { | |||
border-bottom: 0; | |||
} | |||
#mw-indicator-mw-helplink { | |||
display: none; | |||
} | |||
/* add logo */ | |||
#mw-panel:before { | |||
content: url(new_logo_3.png); | |||
text-align: center; | |||
display: block; | |||
} | |||
/* comment section */ | |||
.cs-comments, .cs-title-edit-field, .cs-body-edit-field { | |||
font-family: vazir !important; | |||
} | |||
.cs-header .oo-ui-buttonElement-button[tabindex="0"] { | |||
position: fixed; | |||
top: 4em; | |||
left: 1em; | |||
z-index: 10; | |||
} | |||
.cs-header .oo-ui-buttonElement-button[title="لغو"], .cs-header .oo-ui-buttonElement-button[title="ثبت"] { | |||
position: relative; | |||
top: unset; | |||
left: unset; | |||
} | |||
#toc-mw-content-text { | |||
display: none; | |||
} | } |