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

از قرآن پدیا
بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
 
(۶ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد)
خط ۱۲: خط ۱۲:




/* Vazir Font */
body,
h1,
h2,
h3,
h4,
h5,
h6,
.mw-headline {
    font-family: irsans !important;
}
#wikitext-editor {
    font-family: monospace
}
/* to prevent double welcome! */
.page-Main_Page #section_0 {
    display: none
}
/* Mobile template hacks (see bug 54176) */
.mobile-float-reset {
    float: none !important;
    width: 100% !important;
}
/* Temporary fix for bug 53437 - nav boxes can disrupt reading experience on smaller screens
TODO: Update template to have nomobile class */
#content .vertical-navbox,
#content .navbox {
    dis play: none;
}
/* Tablet specific styling */
@media all and (min-width: 768px) {
    #content .vertical-navbox, #content .navbox {
        display: inherit;
    }
}
#mw-mf-last-modified {
    display: none;
}
/* For linked citation numbers and document IDs, where
  the number need not be shown on a screen or a handheld,
  but should be included in the printed version
TODO: Move to Citation template when templates have stylesheets
See https://www.mediawiki.org/wiki/Requests_for_comment/Allow_styling_in_templates
*/
@media screen,
handheld {
    .citation *.printonly {
        display: none;
    }
}
/* Styling for citations (CSS3). Breaks long urls, etc., rather than overflowing box
*/
.citation {
    word-wrap: break-word;
}
/* Default styling for Navbar template
TODO: Move to Navbar template when templates have stylesheets
See https://www.mediawiki.org/wiki/Requests_for_comment/Allow_styling_in_templates
*/
.navbar {
    display: inline;
    font-size: 88%;
    font-weight: normal;
}
.navbar ul {
    display: inline;
    white-space: nowrap;
}
.navbar li {
    word-spacing: -0.125em;
}
.navbar.mini li span {
    font-variant: small-caps;
}
.navbox-group, .navbox-title, .navbox-abovebelow {
  padding: 5px;
}
/* Navbar styling when nested in infobox and navbox */
.infobox .navbar {
    font-size: 100%;
    border: 1px solid #a2a9b1;
}
.navbox .navbar {
    display: block;
    font-size: 100%;
}
.navbox-title .navbar {
    /* @noflip */
    float: right;
    /* @noflip */
    text-align: right;
    /* @noflip */
    margin-left: 0.5em;
    width: 6em;
}
.infobox {
width: 100%;
}
.navbar {
width: 100%;
}
/* Style for horizontal lists (separator following item).
  @source mediawiki.org/wiki/Snippets/Horizontal_lists
  @revision 3.2 (2013-09-25)
  @author: [[User:Edokter]]
*/
.hlist dl,
.hlist ol,
.hlist ul {
    margin: 0;
    padding: 0;
}
/* Display list items inline and make them nowrap */
.hlist dd,
.hlist dt,
.hlist li {
    margin: 0;
    display: inline;
    white-space: nowrap;
}
/* Allow wrapping for list items (in tight spaces) */
.hlist.hwrap dd,
.hlist.hwrap dt,
.hlist.hwrap li {
    white-space: normal;
}
/* Display nested lists inline and allow them to wrap */
.hlist dl dl,
.hlist dl ol,
.hlist dl ul,
.hlist ol dl,
.hlist ol ol,
.hlist ol ul,
.hlist ul dl,
.hlist ul ol,
.hlist ul ul {
    display: inline;
    white-space: normal;
}
/* Generate interpuncts */
#content .hlist dt:after {
    content: ":";
}
#content .hlist dd:after,
#content .hlist li:after {
    content: " ·";
    font-weight: bold;
}
#content .hlist dd:last-child:after,
#content .hlist dt:last-child:after,
#content .hlist li:last-child:after {
    content: none;
}
/* Add parentheses around nested lists */
#content .hlist dd dd:first-child:before,
#content .hlist dd dt:first-child:before,
#content .hlist dd li:first-child:before,
#content .hlist dt dd:first-child:before,
#content .hlist dt dt:first-child:before,
#content .hlist dt li:first-child:before,
#content .hlist li dd:first-child:before,
#content .hlist li dt:first-child:before,
#content .hlist li li:first-child:before {
    content: "(";
    font-weight: normal;
}
#content .hlist dd dd:last-child:after,
#content .hlist dd dt:last-child:after,
#content .hlist dd li:last-child:after,
#content .hlist dt dd:last-child:after,
#content .hlist dt dt:last-child:after,
#content .hlist dt li:last-child:after,
#content .hlist li dd:last-child:after,
#content .hlist li dt:last-child:after,
#content .hlist li li:last-child:after {
    content: ")";
    font-weight: normal;
}
/* Put ordinals in front of ordered list items */
#content .hlist ol {
    counter-reset: list-item;
}
#content .hlist ol > li {
    counter-increment: list-item;
}
#content .hlist ol > li:before {
    content: counter(list-item) " ";
}
#content .hlist dd ol > li:first-child:before,
#content .hlist dt ol > li:first-child:before,
#content .hlist li ol > li:first-child:before {
    content: "(" counter(list-item) " ";
}
/* Unbulleted lists e.g. Barack Obama page */
.plainlist ul {
    list-style: none;
}
/* CODE FOR COMPACT AMBOX */
/* Hide the images */
.compact-ambox table .mbox-image,
.compact-ambox table .mbox-imageright,
.compact-ambox table .mbox-empty-cell {
    display: none;
}
/* Remove borders, backgrounds, padding, etc.
Please document here what pages use this
*/
.compact-ambox table.ambox {
    border: none;
    border-collapse: collapse;
    background: transparent;
    margin: 0 1.6em 0 !important;
    padding: 0 !important;
    width: auto;
    display: block;
}
.compact-ambox table.mbox-small-left {
    font-size: 100%;
    width: auto;
    margin: 0;
}


div#content h1, div#content h2, div#content #firstHeading,
/* Style the text cell as a list item and remove its padding */
div#content .mw-editsection, .mw-body .mw-editsection-like,
.compact-ambox table .mbox-text {
div#content #toc h2, div#content .toc h2,
    padding: 0 !important;
#template-documentation, #documentation-meta-data {
    margin: 0 !important;
  /* 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;
.compact-ambox table .mbox-text-span {
    display: list-item;
    line-height: 1.5em;
    list-style-type: square;
    list-style-image: url("data:image/gif;base64,R0lGODlhBQANAIAAAGOMnP///yH5BAEAAAEALAAAAAAFAA0AAAIJjI+pu+APo4SpADs=");
}
}


/* Ace editor now supports RTL editing but a monospace font with Arabic should be set for correct functionality */
/* Allow for hiding text in compact form */
.ace_editor { font-family: 'Courier New', monospace!important; }
.compact-ambox .hide-when-compact {
    display: none;
}


/* If is IE Edge/Windows 10, Arabic diacritics are broken so use Segoe UI as default font instead */
/* Hatnotes and disambiguation notices
_:-ms-lang(x), _:-webkit-full-screen, body { font-family: 'irsans', 'Iranian Sans', 'DejaVu Sans', 'Noto Kufi Arabic', 'Droid Arabic Kufi', sans-serif; }
Please document here what pages use this
*/
.rellink,
.dablink {
    font-style: italic;
    margin-bottom: 0.5em;
}
.rellink i,
.dablink i {
    font-style: normal;
}


/* Geographical coordinates defaults. See [[Template:Coord/link]]
  for how these are used. The classes "geo", "longitude", and
  "latitude" are used by the [[Geo microformat]]. */
.geo-default,
.geo-dms,
.geo-dec {
    display: inline;
}
.geo-nondefault,
.geo-multi-punct {
    display: none;
}
.longitude,
.latitude {
    white-space: nowrap;
}


.pre-content h1, .content h1, .content h2{
/* Prevent line breaks in silly places:
font-family: 'irsans' !important;
  1) Where desired
  2) Links when we don't want them to
  3) Bold "links" to the page itself
  4) Ref tags with group names <ref group="Note"> --> "[Note 1]"
Please document here what pages use this
*/
.nowrap,
.nowraplinks a,
.nowraplinks .selflink,
sup.reference a {
    white-space: nowrap;
}
}


/* But allow wrapping where desired: */
.wrap,
.wraplinks a {
    white-space: normal;
}


#reset {
/* Hide stuff meant for accounts with special permissions. Made visible again in
  [[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-accountcreator.css]] and
  [[MediaWiki:Group-autoconfirmed.css]]. */
.sysop-show,
.accountcreator-show,
.autoconfirmed-show {
    display: none;
}
#li-coordinates {
    background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/5/57/Edge-firefox.png/80px-Edge-firefox.png);
    float: right;
    display: none;
    -webkit-background-size: auto 30px;
    background-size: auto 30px;
}
.client-js .content_block.coordinates {
    display: none;
    text-align: right;
    margin-bottom: 0.5em;
    font-size: smaller;
}
.client-js .content_block.coordinates .latitude {
    display: none;
    padding-right: 20px;
    background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/5/57/Edge-firefox.png/50px-Edge-firefox.png);
    background-repeat: no-repeat;
    -webkit-background-size: auto 15px;
    background-size: auto 15px;
}
 
/* Until Geohack is mobile optimised and/or there is a nice alternative e.g. map namespace */
.alpha #li-coordinates {
    display: list-item;
}
.client-js .beta .content_block.coordinates {
     display: block;
     display: block;
     position: absolute;
}
     right: 0px;
.client-js .beta .content_block.coordinates .latitude {
     top: 0;
    display: inline;
     z-index: 999;
}
     color: black;
.topicon {
    cursor: pointer;
    display: none;
    padding: 0 0.5em;
}
    border: 1px solid rgba(255, 255, 255, 0.4);
 
     border-radius: 4px;
/* Remove this when mobile page creation goes out of beta */
     -webkit-transition: all 0.3s ease;
.stub {
     -o-transition: all 0.3s ease;
    display: none;
     transition: all 0.3s ease;
}
     text-transform: uppercase;
 
     font-size: 22px;
/* hide the second toc */
#toc {
    display: none
}
 
/* hide language link */
.mw-ui-icon-language-switcher {
    display: none !important
}
 
/* navbox */
.content table .navbox-inner {
    margin: 0;
}
 
/* طراحی صفحه اول */
.page-Main_Page.is-authenticated .pre-content{
    display:none
}
 
.mainpage-top {
    background-image: url('/images/9/9e/Kaba_new.jpg');
    background-attachment: initial;
     background-repeat: no-repeat;
    background-size: cover;
    background-position: 20% center;
}
 
/* سفید کردن لینک های بالای صفحه اول */
.mainpage-top a {
    color: white !important
}
 
/* حذف دکمه اضافه از جستجوی صفحه اول */
[name=go] {
     display: none
}
 
/* راست چین کردن جستجوی صفحه اول */
#mainpage-search {
    text-align: right
}
 
/* tables */
caption {
    text-align: center !important
}
.content table {
    max-width: 100%;
}
 
/* navboxes */
.content ol li, .content ul li {
    margin-bottom: 0px;
}
.hlist > ul li, .hlist > dl li, ul.hlist li {
     margin-left: initial;
     margin-right: 8px;
}
table {
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 {
margin: 0;
}
.gallerybox div {
text-align: center;
margin: 0 auto;
}
li.gallerybox {
display: none
}
li.gallerybox:first-child {
display: block
}
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;
}
 
 
.mainpage-top {
    background-image: url('/images/back.jpg');
    background-repeat: no-repeat;
    background-size: auto;
}
 
 
 
 
 
 
 
 
 
 
 
.mw-logo-container {
  background-image: url(/images/title.png);
     background-repeat: no-repeat;
    background-size: contain;
    height: 61px;
    width: 8em;
}
 
 
 
.mp-img
{
position: absolute;
    margin-top: -14px;
}
 
 
 
 
 
#sister-projects-list {
text-align: right;
background: transparent;
margin: 1px 3px;
}
 
#sister-projects-list > div {
width:32%;
min-width: 20em;
white-space: nowrap;
margin: 0 1px;
display:inline-block;
}
 
body.skin-minerva #sister-projects-list > div {
width: 49%;
}
 
#sister-projects-list > div > div {
display: inline-block;
vertical-align: middle;
margin: 1px 0;
padding: 4px;
}
 
#sister-projects-list > div > div:first-child {
min-width: 50px;
text-align: center;
}
 
 
.mw-logo-wordmark{
display:none;
}
 
 
 
.vector-sticky-header-context-bar-primary{
font-family:'irsans';
}
 
.res-img {
max-width:100%;
height:auto;
}
 
 
 
.mp-circle-person {
  width: 90px;
    height: 90px;
    overflow: hidden;
    position: relative;
    display: inline-block;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
     border-radius: 50%;
border: 3px solid #48d1cc;
}
 
 
 
 
 
 
 
#mp-full {
/* flex: 1 1 70%;
margin-left: 2px;
padding: 0 5px; */
width: 100%;
    float: right;
    /* padding-top: 1px; */
     /* margin: auto; */
}
#mp-right {
/* flex: 1 1 70%;
margin-left: 2px;
padding: 0 5px; */
min-width: 100%;
    float: right;
    /* padding-top: 1px; */
     /* margin: auto; */
}
 
#mp-left {
/* flex: 1 1 40%;
margin-right: 2px; */
border-radius: 2em;
     min-width:100%;
    float: left;
     box-sizing: border-box;
    padding: 0 1em 1em;
    /* background: #eaf3ff; */
}
}

نسخهٔ کنونی تا ‏۱۸ مارس ۲۰۲۳، ساعت ۱۳:۴۹

/* 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;
}


/* Vazir Font */
body,
h1,
h2,
h3,
h4,
h5,
h6,
.mw-headline {
    font-family: irsans !important;
}
#wikitext-editor {
    font-family: monospace
}
/* to prevent double welcome! */
.page-Main_Page #section_0 {
    display: none
}

/* Mobile template hacks (see bug 54176) */
.mobile-float-reset {
    float: none !important;
    width: 100% !important;
}

/* Temporary fix for bug 53437 - nav boxes can disrupt reading experience on smaller screens
TODO: Update template to have nomobile class */
#content .vertical-navbox,
#content .navbox {
    dis play: none;
}

/* Tablet specific styling */
@media all and (min-width: 768px) {
    #content .vertical-navbox, #content .navbox {
        display: inherit;
    }
}
#mw-mf-last-modified {
    display: none;
}

/* For linked citation numbers and document IDs, where
   the number need not be shown on a screen or a handheld,
   but should be included in the printed version
TODO: Move to Citation template when templates have stylesheets
See https://www.mediawiki.org/wiki/Requests_for_comment/Allow_styling_in_templates
*/
@media screen,
handheld {
    .citation *.printonly {
        display: none;
    }
}

/* Styling for citations (CSS3). Breaks long urls, etc., rather than overflowing box
*/
.citation {
    word-wrap: break-word;
}

/* Default styling for Navbar template
TODO: Move to Navbar template when templates have stylesheets
See https://www.mediawiki.org/wiki/Requests_for_comment/Allow_styling_in_templates
*/
.navbar {
    display: inline;
    font-size: 88%;
    font-weight: normal;
}
.navbar ul {
    display: inline;
    white-space: nowrap;
}
.navbar li {
    word-spacing: -0.125em;
}
.navbar.mini li span {
    font-variant: small-caps;
}
.navbox-group, .navbox-title, .navbox-abovebelow {
  padding: 5px;
}
/* Navbar styling when nested in infobox and navbox */
.infobox .navbar {
    font-size: 100%;
    border: 1px solid #a2a9b1;
}
.navbox .navbar {
    display: block;
    font-size: 100%;
}
.navbox-title .navbar {
    /* @noflip */
    float: right;
    /* @noflip */
    text-align: right;
    /* @noflip */
    margin-left: 0.5em;
    width: 6em;
}
.infobox {
	width: 100%;
}
.navbar {
	width: 100%;
}
/* Style for horizontal lists (separator following item).
   @source mediawiki.org/wiki/Snippets/Horizontal_lists
   @revision 3.2 (2013-09-25)
   @author: [[User:Edokter]]
*/
.hlist dl,
.hlist ol,
.hlist ul {
    margin: 0;
    padding: 0;
}

/* Display list items inline and make them nowrap */
.hlist dd,
.hlist dt,
.hlist li {
    margin: 0;
    display: inline;
    white-space: nowrap;
}

/* Allow wrapping for list items (in tight spaces) */
.hlist.hwrap dd,
.hlist.hwrap dt,
.hlist.hwrap li {
    white-space: normal;
}

/* Display nested lists inline and allow them to wrap */
.hlist dl dl,
.hlist dl ol,
.hlist dl ul,
.hlist ol dl,
.hlist ol ol,
.hlist ol ul,
.hlist ul dl,
.hlist ul ol,
.hlist ul ul {
    display: inline;
    white-space: normal;
}

/* Generate interpuncts */
#content .hlist dt:after {
    content: ":";
}
#content .hlist dd:after,
#content .hlist li:after {
    content: " ·";
    font-weight: bold;
}
#content .hlist dd:last-child:after,
#content .hlist dt:last-child:after,
#content .hlist li:last-child:after {
    content: none;
}

/* Add parentheses around nested lists */
#content .hlist dd dd:first-child:before,
#content .hlist dd dt:first-child:before,
#content .hlist dd li:first-child:before,
#content .hlist dt dd:first-child:before,
#content .hlist dt dt:first-child:before,
#content .hlist dt li:first-child:before,
#content .hlist li dd:first-child:before,
#content .hlist li dt:first-child:before,
#content .hlist li li:first-child:before {
    content: "(";
    font-weight: normal;
}
#content .hlist dd dd:last-child:after,
#content .hlist dd dt:last-child:after,
#content .hlist dd li:last-child:after,
#content .hlist dt dd:last-child:after,
#content .hlist dt dt:last-child:after,
#content .hlist dt li:last-child:after,
#content .hlist li dd:last-child:after,
#content .hlist li dt:last-child:after,
#content .hlist li li:last-child:after {
    content: ")";
    font-weight: normal;
}

/* Put ordinals in front of ordered list items */
#content .hlist ol {
    counter-reset: list-item;
}
#content .hlist ol > li {
    counter-increment: list-item;
}
#content .hlist ol > li:before {
    content: counter(list-item) " ";
}
#content .hlist dd ol > li:first-child:before,
#content .hlist dt ol > li:first-child:before,
#content .hlist li ol > li:first-child:before {
    content: "(" counter(list-item) " ";
}

/* Unbulleted lists e.g. Barack Obama page */
.plainlist ul {
    list-style: none;
}

/* CODE FOR COMPACT AMBOX */

/* Hide the images */
.compact-ambox table .mbox-image,
.compact-ambox table .mbox-imageright,
.compact-ambox table .mbox-empty-cell {
    display: none;
}

/* Remove borders, backgrounds, padding, etc.
Please document here what pages use this
*/
.compact-ambox table.ambox {
    border: none;
    border-collapse: collapse;
    background: transparent;
    margin: 0 1.6em 0 !important;
    padding: 0 !important;
    width: auto;
    display: block;
}
.compact-ambox table.mbox-small-left {
    font-size: 100%;
    width: auto;
    margin: 0;
}

/* Style the text cell as a list item and remove its padding */
.compact-ambox table .mbox-text {
    padding: 0 !important;
    margin: 0 !important;
}
.compact-ambox table .mbox-text-span {
    display: list-item;
    line-height: 1.5em;
    list-style-type: square;
    list-style-image: url("data:image/gif;base64,R0lGODlhBQANAIAAAGOMnP///yH5BAEAAAEALAAAAAAFAA0AAAIJjI+pu+APo4SpADs=");
}

/* Allow for hiding text in compact form */
.compact-ambox .hide-when-compact {
    display: none;
}

/* Hatnotes and disambiguation notices
Please document here what pages use this
 */
.rellink,
.dablink {
    font-style: italic;
    margin-bottom: 0.5em;
}
.rellink i,
.dablink i {
    font-style: normal;
}

/* Geographical coordinates defaults. See [[Template:Coord/link]]
   for how these are used. The classes "geo", "longitude", and
   "latitude" are used by the [[Geo microformat]]. */
.geo-default,
.geo-dms,
.geo-dec {
    display: inline;
}
.geo-nondefault,
.geo-multi-punct {
    display: none;
}
.longitude,
.latitude {
    white-space: nowrap;
}

/* Prevent line breaks in silly places:
   1) Where desired
   2) Links when we don't want them to
   3) Bold "links" to the page itself
   4) Ref tags with group names <ref group="Note"> --> "[Note 1]"
Please document here what pages use this
*/
.nowrap,
.nowraplinks a,
.nowraplinks .selflink,
sup.reference a {
    white-space: nowrap;
}

/* But allow wrapping where desired: */
.wrap,
.wraplinks a {
    white-space: normal;
}

/* Hide stuff meant for accounts with special permissions. Made visible again in
   [[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-accountcreator.css]] and
   [[MediaWiki:Group-autoconfirmed.css]]. */
.sysop-show,
.accountcreator-show,
.autoconfirmed-show {
    display: none;
}
#li-coordinates {
    background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/5/57/Edge-firefox.png/80px-Edge-firefox.png);
    float: right;
    display: none;
    -webkit-background-size: auto 30px;
    background-size: auto 30px;
}
.client-js .content_block.coordinates {
    display: none;
    text-align: right;
    margin-bottom: 0.5em;
    font-size: smaller;
}
.client-js .content_block.coordinates .latitude {
    display: none;
    padding-right: 20px;
    background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/5/57/Edge-firefox.png/50px-Edge-firefox.png);
    background-repeat: no-repeat;
    -webkit-background-size: auto 15px;
    background-size: auto 15px;
}

/* Until Geohack is mobile optimised and/or there is a nice alternative e.g. map namespace */
.alpha #li-coordinates {
    display: list-item;
}
.client-js .beta .content_block.coordinates {
    display: block;
}
.client-js .beta .content_block.coordinates .latitude {
    display: inline;
}
.topicon {
    display: none;
}

/* Remove this when mobile page creation goes out of beta */
.stub {
    display: none;
}

/* hide the second toc */
#toc {
    display: none
}

/* hide language link */
.mw-ui-icon-language-switcher {
    display: none !important
}

/* navbox */
.content table .navbox-inner {
    margin: 0;
}

/* طراحی صفحه اول */
.page-Main_Page.is-authenticated .pre-content{
    display:none
}

.mainpage-top {
    background-image: url('/images/9/9e/Kaba_new.jpg');
    background-attachment: initial;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 20% center;
}

/* سفید کردن لینک های بالای صفحه اول */
.mainpage-top a {
    color: white !important
}

/* حذف دکمه اضافه از جستجوی صفحه اول */
[name=go] {
    display: none
}

/* راست چین کردن جستجوی صفحه اول */
#mainpage-search {
    text-align: right
}

/* tables */
caption {
     text-align: center !important
}
.content table {
    max-width: 100%;
}

/* navboxes */
.content ol li, .content ul li {
    margin-bottom: 0px;
}
.hlist > ul li, .hlist > dl li, ul.hlist li {
    margin-left: initial;
    margin-right: 8px;
}
table {
	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 {
margin: 0;
}
.gallerybox div {
text-align: center;
margin: 0 auto;
}
li.gallerybox {
display: none
}
li.gallerybox:first-child {
display: block
}
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;
}


.mainpage-top {
    background-image: url('/images/back.jpg');
    background-repeat: no-repeat;
    background-size: auto;
 }











.mw-logo-container {
  background-image: url(/images/title.png);
    background-repeat: no-repeat;
    background-size: contain;
    height: 61px;
    width: 8em;
}



.mp-img
{
position: absolute;
    margin-top: -14px;
}





#sister-projects-list {
	text-align: right;
	background: transparent;
	margin: 1px 3px;
}

#sister-projects-list > div {
	width:32%;
	min-width: 20em;
	white-space: nowrap;
	margin: 0 1px;
	display:inline-block;
}

body.skin-minerva #sister-projects-list > div {
	width: 49%;
}

#sister-projects-list > div > div {
	display: inline-block;
	vertical-align: middle;
	margin: 1px 0;
	padding: 4px;
}

#sister-projects-list > div > div:first-child {
	min-width: 50px;
	text-align: center;
}


.mw-logo-wordmark{
display:none;
}



.vector-sticky-header-context-bar-primary{
font-family:'irsans';
}

.res-img {
max-width:100%;
height:auto;
}



.mp-circle-person {
   width: 90px;
    height: 90px;
    overflow: hidden;
    position: relative;
    display: inline-block;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
border: 3px solid #48d1cc;
}







#mp-full {
	/* flex: 1 1 70%;
	margin-left: 2px;
	padding: 0 5px; */
	width: 100%;
    float: right;
    /* padding-top: 1px; */
    /* margin: auto; */
}
#mp-right {
	/* flex: 1 1 70%;
	margin-left: 2px;
	padding: 0 5px; */
	min-width: 100%;
    float: right;
    /* padding-top: 1px; */
    /* margin: auto; */
}

#mp-left {
	/* flex: 1 1 40%;
	margin-right: 2px; */
	border-radius: 2em;
    min-width:100%;
    float: left;
    box-sizing: border-box;
    padding: 0 1em 1em;
    /* background: #eaf3ff; */
}