مدیاویکی:Mobile.css: تفاوت میان نسخهها
پرش به ناوبری
پرش به جستجو
بدون خلاصۀ ویرایش |
بدون خلاصۀ ویرایش برچسبها: ویرایش همراه ویرایش از وبگاه همراه |
||
(۶ نسخهٔ میانیِ همین کاربر نمایش داده نشده است) | |||
سطر ۲۴: | سطر ۲۴: | ||
/* If is IE Edge/Windows 10, Arabic diacritics are broken so use Segoe UI as default font instead */ | /* 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: | _:-ms-lang(x), _:-webkit-full-screen, body { font-family: 'irsans', 'Iranian Sans', 'DejaVu Sans', 'Noto Kufi Arabic', 'Droid Arabic Kufi', sans-serif; } | ||
.pre-content h1, .content h1, .content h2{ | |||
font-family: 'irsans' !important; | |||
} | |||
#reset { | |||
display: block; | |||
position: absolute; | |||
right: 0px; | |||
top: 0; | |||
z-index: 999; | |||
color: black; | |||
cursor: pointer; | |||
padding: 0 0.5em; | |||
border: 1px solid rgba(255, 255, 255, 0.4); | |||
border-radius: 4px; | |||
-webkit-transition: all 0.3s ease; | |||
-o-transition: all 0.3s ease; | |||
transition: all 0.3s ease; | |||
text-transform: uppercase; | |||
font-size: 22px; | |||
} |
نسخهٔ کنونی تا ۱۴ نوامبر ۲۰۲۲، ساعت ۰۷:۰۹
@font-face {
font-family: 'irsans';
src: url('/fonts/irsans.eot') format('eot'),
url('/fonts/irsans.woff') format('woff'),
url('/fonts/irsans.ttf') format('truetype');
}
body {
/* generally a sans-serif font should be here */
font-family: 'irsans', 'Iranian Sans', 'DejaVu Sans', 'Noto Sans Arabic', 'Noto Kufi Arabic', 'Droid Arabic Kufi', sans-serif;
}
div#content h1, div#content h2, div#content #firstHeading,
div#content .mw-editsection, .mw-body .mw-editsection-like,
div#content #toc h2, div#content .toc h2,
#template-documentation, #documentation-meta-data {
/* generally a serif font should be here but Arial is not acceptable for Persian */
font-family: 'irsans', '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: 'irsans', 'Iranian Sans', 'DejaVu Sans', 'Noto Kufi Arabic', 'Droid Arabic Kufi', sans-serif; }
.pre-content h1, .content h1, .content h2{
font-family: 'irsans' !important;
}
#reset {
display: block;
position: absolute;
right: 0px;
top: 0;
z-index: 999;
color: black;
cursor: pointer;
padding: 0 0.5em;
border: 1px solid rgba(255, 255, 255, 0.4);
border-radius: 4px;
-webkit-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
transition: all 0.3s ease;
text-transform: uppercase;
font-size: 22px;
}