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

از فراغیب
پرش به ناوبری پرش به جستجو

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

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

body {
    font-family: 'Shabnam', 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: 'Shabnam', 'Courier New', monospace;
}

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

.ace_editor {
    font-family: 'Courier New', monospace !important;
}

.ui-widget,
.ui-widget *,
button,
input,
select,
optgroup {
    font-family: inherit;
}

dfn {
    font-style: inherit;
}

sup, sub {
    line-height: 1em;
    font-style: normal;
    font-weight: normal;
}
/* --------------------- 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: