مدیاویکی:Mobile.css: تفاوت میان نسخه‌ها

بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
 
(۵۳ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد)
خط ۱: خط ۱:
* {
    box-sizing: border-box;
}
/* Vazir Font */
/* Vazir Font */
@font-face {
@font-face {
خط ۳۲: خط ۳۵:
#content .vertical-navbox,
#content .vertical-navbox,
#content .navbox {
#content .navbox {
     display: none;
     dis play: none;
}
}


خط ۸۳: خط ۸۶:
     font-variant: small-caps;
     font-variant: small-caps;
}
}
 
.navbox-group, .navbox-title, .navbox-abovebelow {
  padding: 5px;
}
/* Navbar styling when nested in infobox and navbox */
/* Navbar styling when nested in infobox and navbox */
.infobox .navbar {
.infobox .navbar {
     font-size: 100%;
     font-size: 100%;
    border: 1px solid #a2a9b1;
    border: 1px solid #a2a9b1;
}
}
.navbox .navbar {
.navbox .navbar {
خط ۱۰۲: خط ۱۰۷:
     width: 6em;
     width: 6em;
}
}
 
.infobox {
width: 100%;
}
.navbar {
width: 100%;
}
/* Style for horizontal lists (separator following item).
/* Style for horizontal lists (separator following item).
   @source mediawiki.org/wiki/Snippets/Horizontal_lists
   @source mediawiki.org/wiki/Snippets/Horizontal_lists
خط ۳۷۱: خط ۳۸۱:


.mainpage-top {
.mainpage-top {
     background-image: url('/images/2/23/Pilgrims-flock-to-Mecca-each-year-for-Hajj-cropped.jpg');
     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 {
خط ۴۱۱: خط ۴۲۳:
table {
table {
display: table !important;
display: table !important;
}
.content table caption {
    display: table-caption;
}
.thumbinner {
    width: unset !important
}
.multipageimage td:nth-child(2) {
max-width: 25%;
}
.fullMedia .internal {
color: #fff;
background-color: #36c;
border-color: #36c;
line-height: 1.28571429em;
padding-top: 6px;
padding-bottom: 6px;
transition: background-color 100ms,color 100ms,border-color 100ms,box-shadow 100ms;
padding-right: 12px;
padding-left: 12px;
min-height: 2.28571429em;
}
.content {
overflow: hidden;
}
.filehistory-selected {
white-space: normal !important;
}
.filehistory span {
white-space: normal !important;
}
/* gallery */
ul.gallery.mw-gallery-slideshow {
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 {
text-align: center;
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 {
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;
}
}
}