مدیاویکی:Common.css: تفاوت میان نسخه‌ها

بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
 
(۵ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد)
خط ۴۸: خط ۴۸:
/* --------------------- End Font Style ----------------- */
/* --------------------- End Font Style ----------------- */


/* Logo */
/* --------------------- End Font Style ----------------- */
/* هنگامی که لوگوی مناسبتی را بارگذاری کردید این کد را فعال کنید */
/*
#p-logo a {
  background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/3/39/Persian_Wikipedia%27s_600%2C000_article_green_logo.svg/135px-Persian_Wikipedia%27s_600%2C000_article_green_logo.svg.png?21231511779) !important;
}
*/
/* Persian Wikipedia UI fonts configurations, see also MediaWiki:Print.css
  These are written over the time on Monobook.css and Vector.css and shouldn't
  be changed radically without users consensus */
body {
  /* generally a sans-serif font should be here */
  font-family:  vazir, Tahoma, 'Iranian Sans', 'DejaVu Sans', 'Noto Sans Arabic', 'Noto Kufi Arabic', 'Droid Arabic Kufi', sans-serif;
}
 
.mw-body h1, .mw-body h2, .mw-body #firstHeading,
.mw-body .mw-editsection, .mw-body .mw-editsection-like,
.mw-body #toc h2, .mw-body .toc h2,
#documentation-meta-data, .vector-sticky-header-context-bar-primary {
  /* generally a serif font should be here but Arial is not acceptable for Persian */
  font-family: sahel, Tahoma, 'Iranian Serif', 'Noto Naskh Arabic', 'Iranian Sans', 'DejaVu Sans', serif;
  font-weight: bold;
}
 
/* 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; }
 
/* If is IE Edge/Windows 10, Arabic diacritics are broken so use Segoe UI as default font instead */
_:-ms-lang(x), _:-webkit-full-screen, body { font-family: 'Segoe UI', Tahoma, 'Iranian Sans', 'DejaVu Sans', 'Noto Kufi Arabic', 'Droid Arabic Kufi', sans-serif; }
 
/* force these to use inherited font configuration */
.ui-widget, .ui-widget *, button, input, select, optgroup {
  font-family: inherit;
}
/* end */
/* end */