مدیاویکی:Common.css: تفاوت میان نسخهها
بدون خلاصۀ ویرایش |
بدون خلاصۀ ویرایش |
||
| خط ۱۸: | خط ۱۸: | ||
font-weight: 400; | font-weight: 400; | ||
} | } | ||
| خط ۲۸: | خط ۲۴: | ||
} | } | ||
main#content, .mw-body , .mw-body h1, .mw-body-content h1, .mw-body-content h2,button { | |||
font-family: var(--defaultFont); | font-family: var(--defaultFont); | ||
} | } | ||
نسخهٔ ۲ مارس ۲۰۲۴، ساعت ۰۸:۵۰
/* CSS placed here will be applied to all skins */
@font-face {
font-family: 'vazir_fd';
src: url('./custom-fonts/Vazir-Regular-FD.ttf') format('truetype'),
url('./custom-fonts/Vazir-Regular-FD.woff') format('woff');
font-weight: normal;
font-style: normal;
font-display: swap;
}
:root {
--defaultFont: vazir_fd,"Roboto", sans-serif;
}
html, body{
font-family: var(--defaultFont);
font-weight: 400;
}
h1 {
font-weight: 900;
}
main#content, .mw-body , .mw-body h1, .mw-body-content h1, .mw-body-content h2,button {
font-family: var(--defaultFont);
}