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

از دانشنامه الکترونیکی زنان
پرش به ناوبری پرش به جستجو
(صفحه‌ای تازه حاوی «/** You are editing the global css file for all mobile site users. With Great Power Comes Great Responsibility. Some words of caution: * A...» ایجاد کرد)
 
 
سطر ۱: سطر ۱:
/**
/* Mobile template hacks (see bug 54176) */
You are editing the global css file for all mobile site users.
With Great Power Comes Great Responsibility.
 
Some words of caution:
* Avoid any changes which impact layout on a mobile device.
** Please be careful not to introduce any margin / padding rules. These should be done inside the template itself via an inline style.
** Be especially cautious when a template is likely to be used within the top 480px of the screen (the content that the user will see first on a mobile device).
* Do not use display:none. Instead edit the template and markup the element you want to hide with the `nomobile` class.
* Try to keep rules as generic and minimal as possible. Do not have 2 selectors doing the same thing. Introduce a common class and use that instead.
* For big changes consult the [https://grafana.wikimedia.org/dashboard/db/mobile-2g grafana dashboard] to ensure you don't introduce any performance regressions.
* Group common css rules together where possible.
 
Do not put specific styles for the following into this file:
 
== Template:Navbar (.navbar) ==
See [[Template:Navbar/styles.css]] ([[Template_talk:Navbar#Request%3A_Add_template_styles_to_existing_stylesheet]])
 
== Template:Hlist (.hlist) ==
See [[Template:Hlist/styles.css]]
 
*/
 
/* Mobile template hacks (see phab T56176)
If you are looking for the following, please update your template to use TemplateStyles:
.mobile-float-reset {
.mobile-float-reset {
float: none !important;
    float: none !important;
width: 100% !important;
    width: 100% !important;
}
}
*/


/* Hide the images */
/* Hide the images */
.compact-ambox table .mbox-image,
.compact-ambox table .mbox-imageright,
.compact-ambox table .mbox-empty-cell,
/* Allow for hiding text in compact form */
.compact-ambox .hide-when-compact,
.geo-nondefault, .geo-multi-punct,
.geo-nondefault, .geo-multi-punct,
/* Hide stuff meant for accounts with special permissions. Made visible again in
/* Hide stuff meant for accounts with special permissions. Made visible again in
   [[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-patroller.css]] and
   [[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-accountcreator.css]] and
   [[MediaWiki:Group-autoconfirmed.css]]. */
   [[MediaWiki:Group-autoconfirmed.css]]. */
.checkuser-show,
.sysop-show,
.sysop-show,
.templateeditor-show,
.accountcreator-show,
.extendedmover-show,
.patroller-show,
.extendedconfirmed-show,
.autoconfirmed-show,
.autoconfirmed-show,
/* Copied from Common.css - allow for hiding text in compact form e.g. clean up templates */
/* Copied from Common.css - allow for hiding text in compact form e.g. clean up templates */
.hide-when-compact,
.hide-when-compact,
/* portal pages are badly formatted. Until this changes these should be hidden. (see https://phabricator.wikimedia.org/T86495) */
/* portal pages are badly formatted. Until this changes these should be hidden. (see https://phabricator.wikimedia.org/T86495) */
.noprint.portal {
.noprint.portal,
/* 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 {
display: none;
display: none;
}
/* Tablet specific styling */
@media all and (min-width: 768px) {
#content .vertical-navbox,
#content .navbox {
display: inherit;
}
}
}


سطر ۵۸: سطر ۴۴:
*/
*/
@media screen, handheld {
@media screen, handheld {
.citation *.printonly {
    .citation *.printonly {
display: none;
        display: none;
}
    }
}
}
/*
/* Styling for citations (CSS3). Breaks long urls, etc., rather than overflowing box
Should be moved into Template:Cite_web
*/
Styling for citations (CSS3). Breaks long urls, etc., rather than overflowing box */
.citation {
.citation {
word-wrap: break-word;
    word-wrap: break-word;
}
}
/*
.infobox
DO NOT style infobox's here. That should be taken care of in the associated templates via template styles. Styles here will lead to flash of unstyled content on mobile.
*/


/* Default styling for Navbar template
/* Default styling for Navbar template
TODO: Move to Navbar template ASAP
TODO: Move to Navbar template when templates have stylesheets
See https://www.mediawiki.org/wiki/Requests_for_comment/Allow_styling_in_templates
*/
*/
.navbar {
.navbar {
display: inline;
    display: inline;
font-size: 88%;
    font-size: 88%;
font-weight: normal;
    font-weight: normal;
}
}
.navbar ul {
.navbar ul {
display: inline;
    display: inline;
white-space: nowrap;
    white-space: nowrap;
}
}
.navbar li {
.navbar li {
word-spacing: -0.125em;
    word-spacing: -0.125em;
}
}
.navbar.mini li span {
.navbar.mini li span {
font-variant: small-caps;
  font-variant: small-caps;
}
}
/* Navbar styling when nested in infobox and navbox */
/* Navbar styling when nested in infobox and navbox */
.navbox .navbar,
.infobox .navbar {
.infobox .navbar {
font-size: 100%;
    font-size: 100%;
}
}
.navbox .navbar {
.navbox .navbar {
display: block;
    display: block;
    font-size: 100%;
}
}
.navbox-title .navbar {
.navbox-title .navbar {
/* @noflip */
    /* @noflip */
float: left;
    float: left;
/* @noflip */
    /* @noflip */
text-align: left;
    text-align: left;
/* @noflip */
    /* @noflip */
margin-right: 0.5em;
    margin-right: 0.5em;
width: 6em;
    width: 6em;
}
 
/* Style for horizontal lists (separator following item).
  @source mediawiki.org/wiki/Snippets/Horizontal_lists
  @revision 6 (2014-05-09)
  @author [[User:Edokter]]
*/
.hlist dl,
.hlist ol,
.hlist ul {
    margin: 0;
    padding: 0;
}
/* Display list items inline */
.hlist dd,
.hlist dt,
.hlist li {
    margin: 0;
    display: inline;
}
/* Display nested lists inline */
.hlist.inline,
.hlist.inline dl,
.hlist.inline ol,
.hlist.inline ul,
.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;
}
/* 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;
}
}
/* Unbulleted lists e.g. Barack Obama page*/
#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: listitem;
}
#content .hlist ol > li {
    counter-increment: listitem;
}
#content .hlist ol > li:before {
    content: " " counter(listitem) " ";
    white-space: nowrap;
}
#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(listitem) " ";
}
/* Unbulleted lists e.g. Barack Obama page */
.plainlist ul {
.plainlist ul {
list-style: none;
    list-style: none;
padding-left: 0; /* Reset Minerva defaults */
}
 
/* CODE FOR COMPACT AMBOX */
/* 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 0 0 1.6em !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=");
}
}


.visualhide {
.visualhide {
position: absolute;
    position: absolute;
left: -10000px;
    left: -10000px;
top: auto;
    top: auto;
width: 1px;
    width: 1px;
height: 1px;
    height: 1px;
overflow: hidden;
    overflow: hidden;
}
 
/* Hatnotes and disambiguation notices */
.hatnote {
    font-style: italic;
}
.hatnote i {
    font-style: normal;
}
div.hatnote {
    /* @noflip */
    padding-left: 1.6em;
    margin-bottom: 0.5em;
}
}
div.hatnote + div.hatnote {
    margin-top: -0.5em;
}
/* 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; }


/* Geographical coordinates hidden in mobile. Any styles relating to them should be put inside
.longitude, .latitude            { white-space: nowrap; }
.[[Template:Coord/link]]
*/


/* Prevent line breaks in silly places:
/* Prevent line breaks in silly places:
سطر ۱۳۴: سطر ۲۳۶:
   4) Ref tags with group names <ref group="Note"> --> "[Note 1]"
   4) Ref tags with group names <ref group="Note"> --> "[Note 1]"
Please document here what pages use this
Please document here what pages use this
Enabled
*/
*/
.mw-parser-output .nowrap,
.nowrap,
.nowraplinks a,
.nowraplinks a,
.nowraplinks .selflink,
.nowraplinks .selflink,
sup.reference a {
sup.reference a {
white-space: nowrap;
    white-space: nowrap;
}
.mw-parser-output .infobox .nowrap {
white-space: normal !important;
}
}
/* But allow wrapping where desired: */
/* But allow wrapping where desired: */
.wrap,
.wrap,
.wraplinks a {
.wraplinks a {
white-space: normal;
    white-space: normal;
}
 
/* hidden sortkey for tablesorter */
td .sortkey,
th .sortkey {
    display: none;
    speak: none;
}
 
/* Pie chart: Transparent borders */
.transborder {
    border: solid transparent;
}
}


سطر ۱۵۴: سطر ۲۶۴:
.times-serif,
.times-serif,
span.texhtml {
span.texhtml {
font-family: serif;
    font-family: serif;
}
}
span.texhtml {
span.texhtml {
white-space: nowrap;
    white-space: nowrap;
}
}


/* Enable custom list style types for lists of references */
/* Disabling column-count for {{div col}}, {{reflist}} and {{refbegin}} */
.reflist ol.references {
.column-count,
list-style-type: inherit;
.references-column-count {
    -moz-column-count: 1 !important;
    -webkit-column-count: 1 !important;
    column-count: 1 !important;
}
}


/* Hanging indentation for Template:Refbegin */
/* Tablet and Phone */
.refbegin-hanging-indents > ul,
@media (min-width: 768px) and (max-width: 1024px) {
.refbegin-hanging-indents > dl {
#mf-section-0 > table:nth-child(2) > tbody > tr > td[style]  , #mf-section-0 > table:nth-child(2) > tbody > tr > td:nth-child(1) > table:nth-child(2) > tbody > tr > td > table > tbody > tr:nth-child(1) > td[style]  {
list-style-type: none;
width: 100% !important;
margin-left: 0;
display: block !important;
}
 
.refbegin-hanging-indents > ul > li,
}
.refbegin-hanging-indents > dl > dd {
#mf-section-0 > table:nth-child(2) > tbody > tr > td:nth-child(1) > table:nth-child(2) , #mf-section-0 > table:nth-child(2) tbody , #mf-section-0 > table:nth-child(2) tr , #mf-section-0 > table:nth-child(2) td{
margin-left: 0;
display: block;
padding-left: 1.0em;
}
text-indent: -1.0em;
 
list-style: none;
#mf-section-0 > table:nth-child(2) > tbody > tr > td:nth-child(2) > table > tbody > tr:nth-child(2) > td > table > tbody > tr > td[style] {
width:100% !important;
}
#mf-section-0 table, #mf-section-0 tbody, #mf-section-0 td, #mf-section-0 tr {
display: block !important;
}
#mw-content-text {
width:96%;
padding:2%;
}
 
}
}


/* Prevent flags in tables from collapsing
/*  
Fix for T116318
##Device = Tablets, Ipads (landscape)
##Screen = B/w 768px to 1024px
*/
*/
.flagicon img {
min-width: 25px;
}


/* Prevent unnecessary margin at the bottom of centralnotices */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
.cnotice {
 
margin-bottom: 0 !important;
#mf-section-0 > table:nth-child(2) > tbody > tr > td[style] , #mf-section-0 > table:nth-child(2) > tbody > tr > td:nth-child(1) > table:nth-child(2) > tbody > tr > td > table > tbody > tr:nth-child(1) > td[style]  {
width: 100% !important;
display: block !important;
 
}
#mf-section-0 > table:nth-child(2) > tbody > tr > td:nth-child(1) > table:nth-child(2) , #mf-section-0 > table:nth-child(2) tbody , #mf-section-0 > table:nth-child(2) tr , #mf-section-0 > table:nth-child(2) td{
display: block;
}
 
#mf-section-0 > table:nth-child(2) > tbody > tr > td:nth-child(2) > table > tbody > tr:nth-child(2) > td > table > tbody > tr > td[style] {
width:100% !important;
}
#mf-section-0 table, #mf-section-0 tbody, #mf-section-0 td, #mf-section-0 tr {
display: block !important;
}
#mw-content-text {
width:96%;
padding:2%;
}
 
}
}


/*
##Device = Low Resolution Tablets, Mobiles (Landscape)
##Screen = B/w 481px to 767px
*/


/* The message body cell(s), such as for {{Commonscat}}.
@media (min-width: 481px) and (max-width: 767px) {
* this is a very small subset of the styles from Common.css
* just to make sure the box isn't squashed without any spacing
* which looks out of place with visuals of other nearby elements
*/
.mbox-text {
/* @noflip */
padding: 0.25em 0.9em;
}


/**
#mf-section-0 > table:nth-child(2) > tbody > tr > td[style]  , #mf-section-0 > table:nth-child(2) > tbody > tr > td:nth-child(1) > table:nth-child(2) > tbody > tr > td > table > tbody > tr:nth-child(1) > td[style]  {
******************DEPRECATED STYLES ************************************
width: 100% !important;
These styles will be removed shortly. Please see inline comments.
display: block !important;
**/


}
#mf-section-0 > table:nth-child(2) > tbody > tr > td:nth-child(1) > table:nth-child(2) , #mf-section-0 > table:nth-child(2) tbody , #mf-section-0 > table:nth-child(2) tr , #mf-section-0 > table:nth-child(2) td{
display: block;
}
#mf-section-0 > table:nth-child(2) > tbody > tr > td:nth-child(2) > table > tbody > tr:nth-child(2) > td > table > tbody > tr > td[style] {
width:100% !important;
#mf-section-0 table, #mf-section-0 tbody, #mf-section-0 td, #mf-section-0 tr {
display: block !important;
}
#mw-content-text {
width:96%;
padding:2%;
}


/*
Generate interpuncts
FIXME: Move to template.
*/
/* Can be removed when T169315 is resolved */
#content .hlist-separated li:after {
font-size: 0.8em;
color: #333;
}
}
/*
 
FIXME: DUPLICATES Template:Hlist/styles.css
/*  
Note the mobile skin provides a `hlist-separated` class for this purpose. Use this class name alongside the hlist class instead as this will result in a FOUC.
##Device = Most of the Smartphones Mobiles (Portrait)
Should be removed and moved to templates.
##Screen = B/w 320px to 479px
*/
*/
/* Counter hlist indenting of Minerva*/
.mw-parser-output .hlist ul,
.mw-parser-output .hlist ol {
padding-left: 0;
}
/* reset hlist margins of Minerva */
.mw-parser-output .hlist li,
.mw-parser-output .hlist dd,
.mw-parser-output .hlist dt {
margin-right: 0;
}
.mw-parser-output .hlist li:after,
.mw-parser-output .hlist dd:after {
content: " · ";
font-weight: bold;
}
.mw-parser-output .hlist dt:after {
content: ": ";
}
/* Should be removed and moved to templates once TemplateStyles is live */


.heading-holder hlist li:after,
@media (min-width: 320px) and (max-width: 480px) {
.mw-parser-output .hlist dd:last-child:after,
 
.mw-parser-output .hlist dt:last-child:after,
#mf-section-0 > table:nth-child(2) > tbody > tr > td , #mf-section-0 > table:nth-child(2) > tbody > tr > td:nth-child(1) > table:nth-child(2) > tbody > tr > td > table > tbody > tr:nth-child(1) > td {
.mw-parser-output .hlist li:last-child:after {
width: 100% !important;
content: none;
display: block !important;
}
/* Add parentheses around nested lists */
/* Should be removed and moved to templates once TemplateStyles is live */
.mw-parser-output .hlist dd dd:first-child:before, .mw-parser-output .hlist dd dt:first-child:before, .mw-parser-output .hlist dd li:first-child:before,
.mw-parser-output .hlist dt dd:first-child:before, .mw-parser-output .hlist dt dt:first-child:before, .mw-parser-output .hlist dt li:first-child:before,
.mw-parser-output .hlist li dd:first-child:before, .mw-parser-output .hlist li dt:first-child:before, .mw-parser-output .hlist li li:first-child:before {
content: " (";
font-weight: normal;
}
/* Should be removed and moved to templates once TemplateStyles is live */
.mw-parser-output .hlist dd dd:last-child:after, .mw-parser-output .hlist dd dt:last-child:after, .mw-parser-output .hlist dd li:last-child:after,
.mw-parser-output .hlist dt dd:last-child:after, .mw-parser-output .hlist dt dt:last-child:after, .mw-parser-output .hlist dt li:last-child:after,
.mw-parser-output .hlist li dd:last-child:after, .mw-parser-output .hlist li dt:last-child:after, .mw-parser-output .hlist li li:last-child:after {
content: ") ";
font-weight: normal;
}
/* Put ordinals in front of ordered list items */
/* Should be removed and moved to templates once TemplateStyles is live */
.mw-parser-output .hlist ol {
counter-reset: listitem;
}
/* Should be removed and moved to templates once TemplateStyles is live */
.mw-parser-output .hlist ol > li {
counter-increment: listitem;
}
/* Should be removed and moved to templates once TemplateStyles is live */
.mw-parser-output .hlist ol > li:before {
content: " " counter(listitem) " ";
white-space: nowrap;
}
/* Should be removed and moved to templates once TemplateStyles is live */
.mw-parser-output .hlist dd ol > li:first-child:before,
.mw-parser-output .hlist dt ol > li:first-child:before,
.mw-parser-output .hlist li ol > li:first-child:before {
content: " (" counter(listitem) " ";
}


/* https://phabricator.wikimedia.org/T180396#5317728 */
}
#mf-section-0 table, #mf-section-0 tbody, #mf-section-0 td, #mf-section-0 tr {
display: block !important;
}
#mf-section-0 > table:nth-child(2) > tbody > tr > td:nth-child(1) > table:nth-child(2) , #mf-section-0 > table:nth-child(2) tbody , #mf-section-0 > table:nth-child(2) tr , #mf-section-0 > table:nth-child(2) td{
display: block;
}


@media print {
#mf-section-0 > table:nth-child(2) > tbody > tr > td:nth-child(2) > table > tbody > tr:nth-child(2) > td > table > tbody > tr > td[style] {
  .navbox, .hatnote, .ambox { display: none; }
width:100% !important;
}
#mw-content-text {
width:96%;
padding:2%;
}
}
}
/* zoom template */
.zoomonhoverimageabove {display: none}

نسخهٔ کنونی تا ‏۲ اکتبر ۲۰۱۹، ساعت ۱۲:۵۹

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

/* Hide the images */
.compact-ambox table .mbox-image,
.compact-ambox table .mbox-imageright,
.compact-ambox table .mbox-empty-cell,
/* Allow for hiding text in compact form */
.compact-ambox .hide-when-compact,
.geo-nondefault, .geo-multi-punct,
/* 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,
/* Copied from Common.css - allow for hiding text in compact form e.g. clean up templates */
.hide-when-compact,
/* portal pages are badly formatted. Until this changes these should be hidden. (see https://phabricator.wikimedia.org/T86495) */
.noprint.portal,
/* 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 {
	display: none;
}

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

/* 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;
}
/* Navbar styling when nested in infobox and navbox */
.infobox .navbar {
    font-size: 100%;
}
.navbox .navbar {
    display: block;
    font-size: 100%;
}
.navbox-title .navbar {
    /* @noflip */
    float: left;
    /* @noflip */
    text-align: left;
    /* @noflip */
    margin-right: 0.5em;
    width: 6em;
}

/* Style for horizontal lists (separator following item).
   @source mediawiki.org/wiki/Snippets/Horizontal_lists
   @revision 6 (2014-05-09)
   @author [[User:Edokter]]
 */
.hlist dl,
.hlist ol,
.hlist ul {
    margin: 0;
    padding: 0;
}
/* Display list items inline */
.hlist dd,
.hlist dt,
.hlist li {
    margin: 0;
    display: inline;
}
/* Display nested lists inline */
.hlist.inline,
.hlist.inline dl,
.hlist.inline ol,
.hlist.inline ul,
.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;
}
/* 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: listitem;
}
#content .hlist ol > li {
    counter-increment: listitem;
}
#content .hlist ol > li:before {
    content: " " counter(listitem) " ";
    white-space: nowrap;
}
#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(listitem) " ";
}
 
/* Unbulleted lists e.g. Barack Obama page */
.plainlist ul {
    list-style: none;
}

/* CODE FOR COMPACT AMBOX */
/* 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 0 0 1.6em !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=");
}

.visualhide {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Hatnotes and disambiguation notices */
.hatnote {
    font-style: italic;
}
.hatnote i {
    font-style: normal;
}
div.hatnote {
    /* @noflip */
    padding-left: 1.6em;
    margin-bottom: 0.5em;
}
div.hatnote + div.hatnote {
    margin-top: -0.5em;
}

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

.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;
}

/* hidden sortkey for tablesorter */
td .sortkey,
th .sortkey {
    display: none;
    speak: none;
}

/* Pie chart: Transparent borders */
.transborder {
    border: solid transparent;
}

/* Generic class for Times-based serif, texhtml class for inline math */
.times-serif,
span.texhtml {
    font-family: serif;
}
span.texhtml {
    white-space: nowrap;
}

/* Disabling column-count for {{div col}}, {{reflist}} and {{refbegin}} */
.column-count,
.references-column-count {
    -moz-column-count: 1 !important;
    -webkit-column-count: 1 !important;
    column-count: 1 !important;
}

/* Tablet and Phone */
@media (min-width: 768px) and (max-width: 1024px) {
	#mf-section-0 > table:nth-child(2) > tbody > tr > td[style]  , #mf-section-0 > table:nth-child(2) > tbody > tr > td:nth-child(1) > table:nth-child(2) > tbody > tr > td > table > tbody > tr:nth-child(1) > td[style]  {
		width: 100% !important;
		display: block !important;

	}
	#mf-section-0 > table:nth-child(2) > tbody > tr > td:nth-child(1) > table:nth-child(2) , #mf-section-0 > table:nth-child(2) tbody , #mf-section-0 > table:nth-child(2) tr , #mf-section-0 > table:nth-child(2) td{
		display: block;
	}

	#mf-section-0 > table:nth-child(2) > tbody > tr > td:nth-child(2) > table > tbody > tr:nth-child(2) > td > table > tbody > tr > td[style] {
		width:100% !important;
	} 
	#mf-section-0 table, #mf-section-0 tbody, #mf-section-0 td, #mf-section-0 tr {
		display: block !important;
	}
	#mw-content-text {
		width:96%;
		padding:2%;
	}

}

/* 
##Device = Tablets, Ipads (landscape)
##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {

	#mf-section-0 > table:nth-child(2) > tbody > tr > td[style] , #mf-section-0 > table:nth-child(2) > tbody > tr > td:nth-child(1) > table:nth-child(2) > tbody > tr > td > table > tbody > tr:nth-child(1) > td[style]  {
		width: 100% !important;
		display: block !important;

	}
	#mf-section-0 > table:nth-child(2) > tbody > tr > td:nth-child(1) > table:nth-child(2) , #mf-section-0 > table:nth-child(2) tbody , #mf-section-0 > table:nth-child(2) tr , #mf-section-0 > table:nth-child(2) td{
		display: block;
	}

	#mf-section-0 > table:nth-child(2) > tbody > tr > td:nth-child(2) > table > tbody > tr:nth-child(2) > td > table > tbody > tr > td[style] {
		width:100% !important;
	} 
	#mf-section-0 table, #mf-section-0 tbody, #mf-section-0 td, #mf-section-0 tr {
		display: block !important;
	}
	#mw-content-text {
		width:96%;
		padding:2%;
	}

}

/* 
##Device = Low Resolution Tablets, Mobiles (Landscape)
##Screen = B/w 481px to 767px
*/

@media (min-width: 481px) and (max-width: 767px) {

	#mf-section-0 > table:nth-child(2) > tbody > tr > td[style]  , #mf-section-0 > table:nth-child(2) > tbody > tr > td:nth-child(1) > table:nth-child(2) > tbody > tr > td > table > tbody > tr:nth-child(1) > td[style]  {
		width: 100% !important;
		display: block !important;

	}
	#mf-section-0 > table:nth-child(2) > tbody > tr > td:nth-child(1) > table:nth-child(2) , #mf-section-0 > table:nth-child(2) tbody , #mf-section-0 > table:nth-child(2) tr , #mf-section-0 > table:nth-child(2) td{
		display: block;
	}

	#mf-section-0 > table:nth-child(2) > tbody > tr > td:nth-child(2) > table > tbody > tr:nth-child(2) > td > table > tbody > tr > td[style] {
		width:100% !important;
	}   
	#mf-section-0 table, #mf-section-0 tbody, #mf-section-0 td, #mf-section-0 tr {
		display: block !important;
	}
	#mw-content-text {
		width:96%;
		padding:2%;
	}

}

/* 
##Device = Most of the Smartphones Mobiles (Portrait)
##Screen = B/w 320px to 479px
*/

@media (min-width: 320px) and (max-width: 480px) {

	#mf-section-0 > table:nth-child(2) > tbody > tr > td , #mf-section-0 > table:nth-child(2) > tbody > tr > td:nth-child(1) > table:nth-child(2) > tbody > tr > td > table > tbody > tr:nth-child(1) > td {
		width: 100% !important;
		display: block !important;

	}
	#mf-section-0 table, #mf-section-0 tbody, #mf-section-0 td, #mf-section-0 tr {
		display: block !important;
	}
	#mf-section-0 > table:nth-child(2) > tbody > tr > td:nth-child(1) > table:nth-child(2) , #mf-section-0 > table:nth-child(2) tbody , #mf-section-0 > table:nth-child(2) tr , #mf-section-0 > table:nth-child(2) td{
		display: block;
	}

	#mf-section-0 > table:nth-child(2) > tbody > tr > td:nth-child(2) > table > tbody > tr:nth-child(2) > td > table > tbody > tr > td[style] {
		width:100% !important;
	} 
	#mw-content-text {
		width:96%;
		padding:2%;
	}
}

/* zoom template */
.zoomonhoverimageabove {display: none}