مدیاویکی:Common.css: تفاوت میان نسخهها
بدون خلاصۀ ویرایش |
بدون خلاصۀ ویرایش |
||
خط ۱٬۷۸۶: | خط ۱٬۷۸۶: | ||
.toclimit-6 .toclevel-6 {display:none;} | .toclimit-6 .toclevel-6 {display:none;} | ||
.toclimit-7 .toclevel-7 {display:none;} | .toclimit-7 .toclevel-7 {display:none;} | ||
.tocnumber { | |||
color: #333; | |||
} | |||
.toc, #toc, | |||
.catlinks, | |||
.mw-gallery-traditional li.gallerybox div.thumb, | |||
div.thumbinner { | |||
border-width: 1px; | |||
border-style: solid; | |||
border-color: #E0E0E0 #B1B1B1 #B1B1B1 #E0E0E0; | |||
box-shadow: 0.25em 0.25em 0.5em rgba(0, 0, 0, 0.05); | |||
} | |||
.mw-body h1, .mw-body h2, .mw-body #firstHeading, | |||
.mw-body .mw-editsection, .mw-body .mw-editsection-like, | |||
.mw-body #toc h2, .mw-body .toc h2, #wpTextbox1, | |||
#template-documentation, #documentation-meta-data { | |||
/* generally a serif font should be here but Arial is not acceptable for Persian */ | |||
font-family: vazir, Tahoma, 'Iranian Serif', 'Noto Kufi Arabic', 'Droid Arabic Naskh', 'Iranian Sans', 'DejaVu Sans', serif; | |||
} | |||
/* Ace editor now supports RTL editing but a monospace font with Arabic should be set for correct functionality */ | |||
.ace_editor { font-family: 'Courier New', monospace!important; } | |||
/* If is IE Edge/Windows 10, Arabic diacritics are broken so use Segoe UI as default font instead */ | |||
_:-ms-lang(x), _:-webkit-full-screen, body { font-family: vazir, 'Segoe UI', Tahoma, 'Iranian Sans', 'DejaVu Sans', 'Noto Kufi Arabic', 'Droid Arabic Kufi', sans-serif; } | |||
/* Similarly, Safari 10.1/11 hack to use a better font and avoid Yeh diacrictic issue with CoreText and replace it with '.Arabic UI Display', their brand new font https://stackoverflow.com/a/25975282 */ | |||
@media not all and (min-resolution:.001dpcm) { @media { | |||
body, .mw-body h1, .mw-body h2, .mw-body #firstHeading, .mw-body .mw-editsection, .mw-body .mw-editsection-like, .mw-body #toc h2, .mw-body .toc h2, #template-documentation, #documentation-meta-data { | |||
font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif; | |||
} | |||
textarea { font-family: 'Courier New', monospace; font-size: 100%; } | |||
} } |