پرش به محتوا

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

از فراغیب
نسخهٔ تاریخ ‏۱۹ ژوئن ۲۰۲۶، ساعت ۱۶:۲۲ توسط admin>Esfandiari (صفحه‌ای تازه حاوی «--------------------- 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;...» ایجاد کرد)

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

  • فایرفاکس / سافاری: کلید 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 ----------------- */

/* --------------------- Begin Custom Style ----------------- */
#siteSub {
    display: block;
    font-size: 0.8125rem;
}

.mw-redirectedfrom {
    display: none;
}

.hatnote {
	padding: 5px 7px;
	color: #54595d;
	font-size: 0.8125rem;
	overflow: hidden;
}

.mw-parser-output .hatnote {
	font-style: normal;
}

/* Min dist for h2 header with Samim font أ */
.mw-body-content h2 {
	padding: 0.2em 0 0 0;
}

.vector-menu-portal .vector-menu-heading, .vector-menu-portal .vector-menu-content li {
  line-height: 1.3;
  font-size: 0.85em;
}

/* --------------------- End Custom Style ----------------- */