مدیاویکی:Mobile.css: تفاوت میان نسخهها
(صفحهای تازه حاوی «←All CSS here will be loaded for users of the mobile site: @font-face { font-family: 'irsans'; src: url('irsans.eot') format('eot'), url('irsans.woff') format('woff'), url('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...» ایجاد کرد) |
بدون خلاصۀ ویرایش |
||
خط ۲: | خط ۲: | ||
@font-face { | @font-face { | ||
font-family: 'irsans'; | font-family: 'irsans'; | ||
src: url('irsans.eot') format('eot'), | src: url('skins/irsans.eot') format('eot'), | ||
url('irsans.woff') format('woff'), | url('skins/irsans.woff') format('woff'), | ||
url('irsans.ttf') format('truetype'); | url('skins/irsans.ttf') format('truetype'); | ||
} | } | ||
body { | body { |
نسخهٔ ۵ مارس ۲۰۲۳، ساعت ۰۹:۲۳
/* All CSS here will be loaded for users of the mobile site */
@font-face {
font-family: 'irsans';
src: url('skins/irsans.eot') format('eot'),
url('skins/irsans.woff') format('woff'),
url('skins/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;
}