پرش به محتوا

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

از ویکی دماوند
صفحه‌ای تازه حاوی «دستورات این بخش همهٔ کاربران را تحت تاثیر قرار می‌دهند.: IRANSansX - Regular: @font-face { font-family: 'IRANSansX'; src: url('/fonts/woff2/IRANSansX-Regular.woff2') format('woff2'), url('/fonts/woff/IRANSansX-Regular.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; } IRANSansX - Bold: @font-face { font-family:...» ایجاد کرد
 
بدون خلاصۀ ویرایش
خط ۱: خط ۱:
/* دستورات این بخش همهٔ کاربران را تحت تاثیر قرار می‌دهند. */
/* IRANSansX - Regular */
/* IRANSansX - Regular */
@font-face {
@font-face {
خط ۲۰: خط ۱۹:
}
}


/* Apply font globally */
/* Base font */
body, .mw-body {
html, body,
     font-family: 'IRANSansX', Tahoma, Arial, sans-serif;
.mw-body,
.mw-body-content,
.vector-body,
.vector-page-titlebar,
.vector-sticky-header,
.vector-menu-content,
.vector-dropdown-content,
#mw-navigation,
.mw-parser-output {
    font-family: 'IRANSansX', Tahoma, Arial, sans-serif !important;
    font-weight: 400;
}
 
/* Page title and headings */
#firstHeading,
.firstHeading,
.mw-first-heading,
.mw-page-title-main,
.mw-body h1,
.mw-body h2,
.mw-body h3,
.mw-body h4,
.mw-body h5,
.mw-body h6,
.mw-body-content h1,
.mw-body-content h2,
.mw-body-content h3,
.mw-body-content h4,
.mw-body-content h5,
.mw-body-content h6,
.mw-heading1,
.mw-heading2,
.mw-heading3,
.mw-heading4,
.mw-heading5,
.mw-heading6 {
     font-family: 'IRANSansX', Tahoma, Arial, sans-serif !important;
    font-weight: 700 !important;
}
}


/* Ensure headings use bold weight */
/* Form controls */
h1, h2, h3, h4, h5, h6,
input,
.mw-heading {
textarea,
     font-family: 'IRANSansX', Tahoma, Arial, sans-serif;
select,
    font-weight: 700;
button {
     font-family: 'IRANSansX', Tahoma, Arial, sans-serif !important;
}
}

نسخهٔ ۲۰ آوریل ۲۰۲۶، ساعت ۰۶:۱۲

/* IRANSansX - Regular */
@font-face {
    font-family: 'IRANSansX';
    src: url('/fonts/woff2/IRANSansX-Regular.woff2') format('woff2'),
         url('/fonts/woff/IRANSansX-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* IRANSansX - Bold */
@font-face {
    font-family: 'IRANSansX';
    src: url('/fonts/woff2/IRANSansX-Bold.woff2') format('woff2'),
         url('/fonts/woff/IRANSansX-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Base font */
html, body,
.mw-body,
.mw-body-content,
.vector-body,
.vector-page-titlebar,
.vector-sticky-header,
.vector-menu-content,
.vector-dropdown-content,
#mw-navigation,
.mw-parser-output {
    font-family: 'IRANSansX', Tahoma, Arial, sans-serif !important;
    font-weight: 400;
}

/* Page title and headings */
#firstHeading,
.firstHeading,
.mw-first-heading,
.mw-page-title-main,
.mw-body h1,
.mw-body h2,
.mw-body h3,
.mw-body h4,
.mw-body h5,
.mw-body h6,
.mw-body-content h1,
.mw-body-content h2,
.mw-body-content h3,
.mw-body-content h4,
.mw-body-content h5,
.mw-body-content h6,
.mw-heading1,
.mw-heading2,
.mw-heading3,
.mw-heading4,
.mw-heading5,
.mw-heading6 {
    font-family: 'IRANSansX', Tahoma, Arial, sans-serif !important;
    font-weight: 700 !important;
}

/* Form controls */
input,
textarea,
select,
button {
    font-family: 'IRANSansX', Tahoma, Arial, sans-serif !important;
}