مدیاویکی:Common.css

نسخهٔ تاریخ ‏۲۴ ژوئن ۲۰۲۶، ساعت ۲۱:۲۰ توسط Esfandiari (بحث | مشارکت‌ها) (۵۶ نسخه واردشده)

نکته: پس از انتشار ممکن است برای دیدن تغییرات نیاز باشد که حافظهٔ نهانی مرورگر خود را پاک کنید.

  • فایرفاکس / سافاری: کلید Shift را نگه دارید و روی دکمهٔ Reload کلیک کنید، یا کلید‌های Ctrl-F5 یا Ctrl-R را با هم فشار دهید (در رایانه‌های اپل مکینتاش کلید‌های ⌘-R)
  • گوگل کروم: کلیدهای Ctrl+Shift+R را با هم فشار دهید (در رایانه‌های اپل مکینتاش کلید‌های ⌘-Shift-R)
  • Edge: کلید Ctrl را نگه‌دارید و روی دکمهٔ Refresh کلیک کنید، یا کلید‌های Ctrl-F5 را با هم فشار دهید
/* --------------------- Begin Font Style ----------------- */
@font-face {
    font-family: 'IRANSansXFaNum';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('/w/resources/fonts/IRANSansXFaNum-Regular.woff2') format('woff2'),
		 url('/w/resources/fonts/IRANSansXFaNum-Regular.woff') format('woff');
}

body {
	font-family: IRANSansXFaNum, 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: Shabnam, Tahoma, 'Noto Serif', 'Droid Arabic Naskh', 'DejaVu Sans', serif !important;
	line-height: 1.6;
}

textarea {
	font-family: IRANSansXFaNum, 'Courier New', monospace;
}

.mw-body-content {
	font-kerning: auto;
	font-size: 16px;
	line-height: 2.0;
}

/* 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 */
.ui-widget, .ui-widget *, button, input, select, optgroup {
	font-family: inherit;
}
/* end */

dfn {
	font-style: inherit;  /* Reset default styling for <dfn> */
}
sup, sub {
	line-height: 1em;     /* Reduce line-height for <sup> and <sub> */
}
/* --------------------- End Font Style ----------------- */