مدیاویکی: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 { | ||
خط ۲۸: | خط ۴۴: | ||
.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 */ | ||
خط ۸۴: | خط ۱۰۰: | ||
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 { | ||
خط ۱٬۶۶۹: | خط ۱٬۶۸۵: | ||
/* پیشنهاد سلطان */ | /* پیشنهاد سلطان */ | ||
a.new { | a.new { | ||
color: | color: #860000; | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
a { | a { | ||
color: #052a75; | color: #052a75; | ||
} | } | ||
a:visited { | a:visited { | ||
color: #052a75; | 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; | |||
} | } |