مدیاویکی:Common.css: تفاوت میان نسخهها
جز (۱ نسخه واردشده) |
بدون خلاصۀ ویرایش |
||
خط ۱: | خط ۱: | ||
@font-face { | |||
font-family: 'iransansxv'; | |||
src: url('w/images/e/e9/Iransansxv.woff') format('woff-variations'), | |||
will be the standard and works in Safari now | |||
url('/w/images/e/e9/Iransansxv.woff') format('woff'); | |||
font-weight: 100 900; | |||
font-display: fallback; | |||
} | |||
@font-face { | |||
font-family: iransansx; | |||
src: url('/w/images/4/4e/Iransansx-regular.woff') format('woff'); | |||
} | |||
@font-face { | |||
font-family: iransansx; | |||
src: url('/w/images/5/5c/Iransansx-bold.woff') format('woff'); | |||
font-weight: 700; | |||
} | |||
.mw-code,body,h1,h2,h3,h4,h5,h6,input { | |||
font-family: iransansx, tahoma; | |||
} | |||
@supports (font-variation-settings: normal) { | |||
body { | |||
font-family: 'iransansxv', tahoma; | |||
} | |||
} | |||
/* Persian Wikipedia UI fonts configurations, see also MediaWiki:Print.css | /* Persian Wikipedia UI fonts configurations, see also MediaWiki:Print.css | ||
These are written over the time on Monobook.css and Vector.css and shouldn't | These are written over the time on Monobook.css and Vector.css and shouldn't | ||
be changed radically without users consensus */ | be changed radically without users consensus */ | ||
.mw-body h1, .mw-body h2, .mw-body #firstHeading, | .mw-body h1, .mw-body h2, .mw-body #firstHeading, | ||
.mw-body .mw-editsection, .mw-body .mw-editsection-like, | .mw-body .mw-editsection, .mw-body .mw-editsection-like, | ||
.mw-body #toc h2, .mw-body .toc h2, | .mw-body #toc h2, .mw-body .toc h2, | ||
#documentation-meta-data, .vector-sticky-header-context-bar-primary { | @supports (font-variation-settings: normal) { | ||
#documentation-meta-data, .vector-sticky-header-context-bar-primary { | |||
font-family: | font-family: 'iransansxv', tahoma; | ||
} | |||
} | } | ||