مدیاویکی:Mobile.css: تفاوت میان نسخهها
بدون خلاصۀ ویرایش برچسبها: ویرایش همراه ویرایش از وبگاه همراه |
بدون خلاصۀ ویرایش |
||
(۳۳ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد) | |||
خط ۱: | خط ۱: | ||
* { | |||
box-sizing: border-box; | |||
} | |||
/* Vazir Font */ | /* Vazir Font */ | ||
@font-face { | @font-face { | ||
خط ۳۷۸: | خط ۳۸۱: | ||
.mainpage-top { | .mainpage-top { | ||
background-image: url('/images/ | background-image: url('/images/9/9e/Kaba_new.jpg'); | ||
background-attachment: initial; | background-attachment: initial; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
خط ۳۹۹: | خط ۴۰۲: | ||
text-align: right | text-align: right | ||
} | } | ||
.mainpage-box { | |||
margin-top: 15px; | |||
} | |||
/* tables */ | /* tables */ | ||
caption { | caption { | ||
خط ۴۵۰: | خط ۴۵۵: | ||
} | } | ||
/* gallery */ | /* gallery */ | ||
.ul.gallery.mw-gallery-slideshow { | ul.gallery.mw-gallery-slideshow { | ||
margin: | text-align: center; | ||
margin: auto; | |||
} | |||
.gallery .thumb div { | |||
margin: auto !important; | |||
} | |||
ul.gallery { | |||
padding: 0; | |||
} | |||
/* | |||
ul.gallery.mw-gallery-slideshow .gallerybox > div { | |||
margin: auto; | |||
} | } | ||
.gallerybox div { | .gallerybox div { | ||
text-align: center; | text-align: center; | ||
margin: 0 auto; | margin: 0 auto; | ||
} | |||
.gallery img { | |||
width: 70%; | |||
} | } | ||
.gallerytext { | |||
margin-bottom: 10px !important; | |||
} | } | ||
*/ | |||
@media (max-width: 720px) { | |||
.gallery .gallerybox { | |||
width: auto !important; | |||
margin: 10px; | |||
} | |||
} | } | ||
/* justify */ | |||
p { | p { | ||
text-align: justify | text-align: justify | ||
خط ۴۷۹: | خط ۵۰۳: | ||
} | } | ||
/* comment */ | /* comment */ | ||
.cs-title-edit-field, .cs-body-edit-field { | .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; | width: 98% !important; | ||
padding: 5px 1% !important; | padding: 5px 1% !important; | ||
} | } | ||
.cs-edit-box { | .cs-edit-box { | ||
خط ۴۸۸: | خط ۵۱۸: | ||
} | } | ||
.cs-header .oo-ui-buttonElement-button[tabindex="0"] { | .cs-header .oo-ui-buttonElement-button[tabindex="0"] { | ||
position: fixed; | position: fixed; | ||
bottom: 1em; | |||
left: 1em; | left: 1em; | ||
} | } | ||
.cs-header .oo-ui-buttonElement-button[title="لغو"], .cs-header .oo-ui-buttonElement-button[title="ثبت"] { | .cs-header .oo-ui-buttonElement-button[title="لغو"], .cs-header .oo-ui-buttonElement-button[title="ثبت"] { | ||
position: relative; | position: relative; | ||
bottom: unset; | |||
left: unset; | left: unset; | ||
} | |||
/* quotebox */ | |||
.quotebox { | |||
width: 100% !important; | |||
} | |||
/* photos */ | |||
@media all and (max-width:720px) { | |||
.content .thumb .thumbinner { | |||
text-align: center; | |||
display: block; | |||
} | |||
} | } |