|
|
خط ۱: |
خط ۱: |
| | @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 */ |
| body {
| | |
| /* generally a sans-serif font should be here */
| |
| font-family: Tahoma, 'Iranian Sans', 'Noto Sans Arabic', 'DejaVu Sans', sans-serif;
| |
| }
| |
|
| |
|
| .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) { |
| /* generally a serif font should be here but Arial is not acceptable for Persian */
| | #documentation-meta-data, .vector-sticky-header-context-bar-primary { |
| font-family: Tahoma, 'Iranian Serif', 'Noto Naskh Arabic', 'Iranian Sans', 'DejaVu Sans', serif; | | font-family: 'iransansxv', tahoma; |
| | } |
| } | | } |
|
| |
|