مدیاویکی: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 | ||
} | |||
/* maps */ | |||
.leaflet-pane, .leaflet-tile, .leaflet-marker-icon, .leaflet-marker-shadow, .leaflet-tile-container, .leaflet-pane > svg, .leaflet-pane > canvas, .leaflet-zoom-box, .leaflet-image-layer, .leaflet-layer { | |||
left: 0; | |||
right: auto; | |||
} | |||
.infobox .maps-map { | |||
margin: auto | |||
} | |||
/* reflist */ | |||
.reflist, .mw-references-columns { | |||
column-width: unset !important; | |||
} | |||
/* 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; | |||
} | |||
/* quotebox */ | |||
.quotebox { | |||
width: 100% !important; | |||
} | |||
/* photos */ | |||
@media all and (max-width:720px) { | |||
.content .thumb .thumbinner { | |||
text-align: center; | |||
display: block; | |||
} | |||
} | } |