مدیاویکی:Mobile.css: تفاوت میان نسخهها
Nazarzadeh (بحث | مشارکتها) بدون خلاصۀ ویرایش برچسبها: ویرایش همراه ویرایش از وبگاه همراه |
Nazarzadeh (بحث | مشارکتها) بدون خلاصۀ ویرایش |
||
خط ۱: | خط ۱: | ||
* Vazir Font */ | /* Vazir Font */ | ||
@font-face { | @font-face { | ||
font-family: 'vazir'; | font-family: 'vazir'; | ||
خط ۱۲: | خط ۱۲: | ||
unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE80-FEFC; | unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE80-FEFC; | ||
} | } | ||
body, h1, h2, h3, h4 { | body, h1, h2, h3, h4, h5, h6, .mw-headline { | ||
font-family: Vazir !important; | |||
} | } | ||
img { | img { | ||
max-width: 100%; | max-width: 100%; | ||
height: auto | height: auto | ||
} | |||
/* comment */ | |||
.cs-comments, .cs-title-edit-field, .cs-body-edit-field { | |||
font-family: vazir !important; | |||
} | |||
.cs-title-edit-field { | |||
min-width: unset !important; | |||
background-color: white; | |||
} | |||
.cs-body-edit-field { | |||
width: 98% !important; | |||
padding: 5px 1% !important; | |||
} | |||
.cs-edit-box { | |||
margin-top: 10px; | |||
} | |||
.cs-header .oo-ui-buttonElement-button[tabindex="0"] { | |||
position: fixed; | |||
bottom: 1em; | |||
left: 1em; | |||
} | |||
.cs-header .oo-ui-buttonElement-button[title="لغو"], .cs-header .oo-ui-buttonElement-button[title="ثبت"] { | |||
position: relative; | |||
bottom: unset; | |||
left: unset; | |||
} | } |
نسخهٔ ۸ فوریهٔ ۲۰۲۳، ساعت ۰۹:۱۳
/* Vazir Font */
@font-face {
font-family: 'vazir';
src: url('/fonts/Vazir.woff2') format('woff2'), url('/fonts/Vazir.woff') format('woff'), url('/fonts/Vazir.ttf') format('truetype');
}
/* Amiri Font */
@font-face {
font-family: 'Amiri';
font-style: normal;
font-weight: 400;
src: local('Amiri Regular'), local('Amiri-Regular'), url(https://fonts.gstatic.com/s/amiri/v13/J7aRnpd8CGxBHpUrtLMA7w.woff2) format('woff2');
unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE80-FEFC;
}
body, h1, h2, h3, h4, h5, h6, .mw-headline {
font-family: Vazir !important;
}
img {
max-width: 100%;
height: auto
}
/* comment */
.cs-comments, .cs-title-edit-field, .cs-body-edit-field {
font-family: vazir !important;
}
.cs-title-edit-field {
min-width: unset !important;
background-color: white;
}
.cs-body-edit-field {
width: 98% !important;
padding: 5px 1% !important;
}
.cs-edit-box {
margin-top: 10px;
}
.cs-header .oo-ui-buttonElement-button[tabindex="0"] {
position: fixed;
bottom: 1em;
left: 1em;
}
.cs-header .oo-ui-buttonElement-button[title="لغو"], .cs-header .oo-ui-buttonElement-button[title="ثبت"] {
position: relative;
bottom: unset;
left: unset;
}