<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.minr.org/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AMobile.css</id>
	<title>MediaWiki:Mobile.css - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.minr.org/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AMobile.css"/>
	<link rel="alternate" type="text/html" href="https://wiki.minr.org/index.php?title=MediaWiki:Mobile.css&amp;action=history"/>
	<updated>2026-04-07T05:33:40Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.0</generator>
	<entry>
		<id>https://wiki.minr.org/index.php?title=MediaWiki:Mobile.css&amp;diff=478&amp;oldid=prev</id>
		<title>Rickyboy320: Stolen from wikipedia</title>
		<link rel="alternate" type="text/html" href="https://wiki.minr.org/index.php?title=MediaWiki:Mobile.css&amp;diff=478&amp;oldid=prev"/>
		<updated>2017-08-10T15:28:50Z</updated>

		<summary type="html">&lt;p&gt;Stolen from wikipedia&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;/**&lt;br /&gt;
You are editing the global css file for all mobile site users.&lt;br /&gt;
With Great Power Comes Great Responsibility.&lt;br /&gt;
&lt;br /&gt;
Some words of caution:&lt;br /&gt;
* Avoid any changes which impact layout on a mobile device.&lt;br /&gt;
** Please be careful not to introduce any margin / padding rules. These should be done inside the template itself via an inline style.&lt;br /&gt;
** 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)&lt;br /&gt;
* Do not use display:none. Instead edit the template and markup the element you want to hide with the `nomobile` class.&lt;br /&gt;
* 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&lt;br /&gt;
* For big changes consult the [https://grafana.wikimedia.org/dashboard/db/mobile-2g grafana dashboard] to ensure you don't introduce any performance regressions.&lt;br /&gt;
* Group common css rules together where possible.&lt;br /&gt;
*/&lt;br /&gt;
&lt;br /&gt;
/* Mobile template hacks (see bug 54176) */&lt;br /&gt;
.mobile-float-reset {&lt;br /&gt;
    float: none !important;&lt;br /&gt;
    width: 100% !important;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Hide the images */&lt;br /&gt;
.geo-nondefault, .geo-multi-punct,&lt;br /&gt;
/* Hide stuff meant for accounts with special permissions. Made visible again in&lt;br /&gt;
   [[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-accountcreator.css]] and&lt;br /&gt;
   [[MediaWiki:Group-autoconfirmed.css]]. */&lt;br /&gt;
.sysop-show,&lt;br /&gt;
.accountcreator-show,&lt;br /&gt;
.autoconfirmed-show,&lt;br /&gt;
/* Copied from Common.css - allow for hiding text in compact form e.g. clean up templates */&lt;br /&gt;
.hide-when-compact,&lt;br /&gt;
/* portal pages are badly formatted. Until this changes these should be hidden. (see https://phabricator.wikimedia.org/T86495) */&lt;br /&gt;
.noprint.portal {&lt;br /&gt;
	display: none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* For linked citation numbers and document IDs, where&lt;br /&gt;
   the number need not be shown on a screen or a handheld,&lt;br /&gt;
   but should be included in the printed version&lt;br /&gt;
TODO: Move to Citation template when templates have stylesheets&lt;br /&gt;
See https://www.mediawiki.org/wiki/Requests_for_comment/Allow_styling_in_templates&lt;br /&gt;
*/&lt;br /&gt;
@media screen, handheld {&lt;br /&gt;
    .citation *.printonly {&lt;br /&gt;
        display: none;&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
/* Styling for citations (CSS3). Breaks long urls, etc., rather than overflowing box&lt;br /&gt;
*/&lt;br /&gt;
.citation {&lt;br /&gt;
    word-wrap: break-word;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* override default center aligning of th cells in some browsers,&lt;br /&gt;
 * most th cells in infoboxes are row headers and left aligned */&lt;br /&gt;
.infobox &amp;gt; th {&lt;br /&gt;
	/* @noflip */&lt;br /&gt;
	text-align: left;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.content .infobox caption {&lt;br /&gt;
	text-align: center;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Default styling for Navbar template&lt;br /&gt;
TODO: Move to Navbar template when templates have stylesheets&lt;br /&gt;
See https://www.mediawiki.org/wiki/Requests_for_comment/Allow_styling_in_templates&lt;br /&gt;
*/&lt;br /&gt;
.navbar {&lt;br /&gt;
    display: inline;&lt;br /&gt;
    font-size: 88%;&lt;br /&gt;
    font-weight: normal;&lt;br /&gt;
}&lt;br /&gt;
.navbar ul {&lt;br /&gt;
    display: inline;&lt;br /&gt;
    white-space: nowrap;&lt;br /&gt;
}&lt;br /&gt;
.navbar li {&lt;br /&gt;
    word-spacing: -0.125em;&lt;br /&gt;
}&lt;br /&gt;
.navbar.mini li span {&lt;br /&gt;
  font-variant: small-caps;&lt;br /&gt;
}&lt;br /&gt;
/* Navbar styling when nested in infobox and navbox */&lt;br /&gt;
.navbox .navbar,&lt;br /&gt;
.infobox .navbar {&lt;br /&gt;
    font-size: 100%;&lt;br /&gt;
}&lt;br /&gt;
.navbox .navbar {&lt;br /&gt;
    display: block;&lt;br /&gt;
}&lt;br /&gt;
.navbox-title .navbar {&lt;br /&gt;
    /* @noflip */&lt;br /&gt;
    float: left;&lt;br /&gt;
    /* @noflip */&lt;br /&gt;
    text-align: left;&lt;br /&gt;
    /* @noflip */&lt;br /&gt;
    margin-right: 0.5em;&lt;br /&gt;
    width: 6em;&lt;br /&gt;
}&lt;br /&gt;
/* Unbulleted lists e.g. Barack Obama page */&lt;br /&gt;
.plainlist ul {&lt;br /&gt;
    list-style: none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.visualhide {&lt;br /&gt;
    position: absolute;&lt;br /&gt;
    left: -10000px;&lt;br /&gt;
    top: auto;&lt;br /&gt;
    width: 1px;&lt;br /&gt;
    height: 1px;&lt;br /&gt;
    overflow: hidden;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/*&lt;br /&gt;
Hatnotes and disambiguation notices&lt;br /&gt;
Please review the default hatnote styles provided by MobileFrontend before adding here.&lt;br /&gt;
*/&lt;br /&gt;
.hatnote i {&lt;br /&gt;
    font-style: normal;&lt;br /&gt;
}&lt;br /&gt;
div.hatnote {&lt;br /&gt;
    /* @noflip */&lt;br /&gt;
    /*padding-left: 1.6em;&lt;br /&gt;
    margin-bottom: 0.5em;&lt;br /&gt;
    commented out until https://phabricator.wikimedia.org/T130846 is resolved*/&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Geographical coordinates defaults. See [[Template:Coord/link]]&lt;br /&gt;
   for how these are used. The classes &amp;quot;geo&amp;quot;, &amp;quot;longitude&amp;quot;, and&lt;br /&gt;
   &amp;quot;latitude&amp;quot; are used by the [[Geo microformat]]. */&lt;br /&gt;
.geo-default, .geo-dms, .geo-dec  { display: inline; }&lt;br /&gt;
&lt;br /&gt;
.longitude, .latitude             { white-space: nowrap; }&lt;br /&gt;
&lt;br /&gt;
/* Prevent line breaks in silly places:&lt;br /&gt;
   1) Where desired&lt;br /&gt;
   2) Links when we don't want them to&lt;br /&gt;
   3) Bold &amp;quot;links&amp;quot; to the page itself&lt;br /&gt;
   4) Ref tags with group names &amp;lt;ref group=&amp;quot;Note&amp;quot;&amp;gt; --&amp;gt; &amp;quot;[Note 1]&amp;quot;&lt;br /&gt;
Please document here what pages use this&lt;br /&gt;
*/&lt;br /&gt;
.mw-parser-output table:not(.infobox) .nowrap,&lt;br /&gt;
.nowraplinks a,&lt;br /&gt;
.nowraplinks .selflink,&lt;br /&gt;
sup.reference a {&lt;br /&gt;
	white-space: nowrap;&lt;br /&gt;
}&lt;br /&gt;
/* But allow wrapping where desired: */&lt;br /&gt;
.wrap,&lt;br /&gt;
.wraplinks a {&lt;br /&gt;
    white-space: normal;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* hidden sortkey for tablesorter */&lt;br /&gt;
td .sortkey,&lt;br /&gt;
th .sortkey {&lt;br /&gt;
    display: none;&lt;br /&gt;
    speak: none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Pie chart: Transparent borders */&lt;br /&gt;
.transborder {&lt;br /&gt;
    border: solid transparent;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Generic class for Times-based serif, texhtml class for inline math */&lt;br /&gt;
.times-serif,&lt;br /&gt;
span.texhtml {&lt;br /&gt;
    font-family: serif;&lt;br /&gt;
}&lt;br /&gt;
span.texhtml {&lt;br /&gt;
    white-space: nowrap;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/*&lt;br /&gt;
Enable custom list style types for lists of references&lt;br /&gt;
*/&lt;br /&gt;
.reflist ol.references {&lt;br /&gt;
    list-style-type: inherit;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Hanging indentation for Template:Refbegin */&lt;br /&gt;
.refbegin-hanging-indents &amp;gt; ul,&lt;br /&gt;
.refbegin-hanging-indents &amp;gt; dl {&lt;br /&gt;
	list-style-type: none;&lt;br /&gt;
	margin-left: 0;&lt;br /&gt;
}&lt;br /&gt;
.refbegin-hanging-indents &amp;gt; ul &amp;gt; li,&lt;br /&gt;
.refbegin-hanging-indents &amp;gt; dl &amp;gt; dd {&lt;br /&gt;
	margin-left: 0;&lt;br /&gt;
	padding-left: 1.0em;&lt;br /&gt;
	text-indent: -1.0em;&lt;br /&gt;
	list-style: none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Prevent flags in tables from collapsing */&lt;br /&gt;
.flagicon img {&lt;br /&gt;
    min-width: 25px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* Prevent unnecessary margin at the bottom of centralnotices */&lt;br /&gt;
.cnotice {&lt;br /&gt;
	margin-bottom: 0 !important;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/**&lt;br /&gt;
******************DEPRECATED STYLES ************************************&lt;br /&gt;
These styles will be removed shortly. Please see inline comments.&lt;br /&gt;
**/&lt;br /&gt;
&lt;br /&gt;
/* Display list items inline&lt;br /&gt;
These rules can be removed once https://gerrit.wikimedia.org/r/#/c/366892/ is live.&lt;br /&gt;
*/&lt;br /&gt;
.hlist dd,&lt;br /&gt;
.hlist dt,&lt;br /&gt;
.hlist li {    display: inline;&lt;br /&gt;
}&lt;br /&gt;
/* Display nested lists inline */&lt;br /&gt;
/*&lt;br /&gt;
These rules can be removed once https://gerrit.wikimedia.org/r/#/c/366892/ is live.&lt;br /&gt;
.hlist.inline,&lt;br /&gt;
.hlist.inline dl,&lt;br /&gt;
.hlist.inline ol,&lt;br /&gt;
.hlist.inline ul,*/&lt;br /&gt;
.hlist dl dl, .hlist dl ol, .hlist dl ul,&lt;br /&gt;
.hlist ol dl, .hlist ol ol, .hlist ol ul,&lt;br /&gt;
.hlist ul dl, .hlist ul ol, .hlist ul ul {&lt;br /&gt;
    display: inline;&lt;br /&gt;
}&lt;br /&gt;
/*&lt;br /&gt;
Generate interpuncts &lt;br /&gt;
Should be removed and moved to templates once TemplateStyles is live&lt;br /&gt;
*/&lt;br /&gt;
#content .hlist dt:after {&lt;br /&gt;
    content: &amp;quot;: &amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
/* Can be removed when T169315 is resolved */&lt;br /&gt;
#content .hlist-separated li:after {&lt;br /&gt;
  font-size: 0.8em;&lt;br /&gt;
  color: #333;&lt;br /&gt;
}&lt;br /&gt;
/*&lt;br /&gt;
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.&lt;br /&gt;
Should be removed and moved to templates once TemplateStyles is live&lt;br /&gt;
*/&lt;br /&gt;
#content .hlist dd:after {&lt;br /&gt;
    content: &amp;quot; · &amp;quot;;&lt;br /&gt;
    font-weight: bold;&lt;br /&gt;
}&lt;br /&gt;
/* Should be removed and moved to templates once TemplateStyles is live */&lt;br /&gt;
#content .hlist dd:last-child:after,&lt;br /&gt;
#content .hlist dt:last-child:after,&lt;br /&gt;
#content .hlist li:last-child:after {&lt;br /&gt;
    content: none;&lt;br /&gt;
}&lt;br /&gt;
/* Add parentheses around nested lists */&lt;br /&gt;
/* Should be removed and moved to templates once TemplateStyles is live */&lt;br /&gt;
#content .hlist dd dd:first-child:before, #content .hlist dd dt:first-child:before, #content .hlist dd li:first-child:before,&lt;br /&gt;
#content .hlist dt dd:first-child:before, #content .hlist dt dt:first-child:before, #content .hlist dt li:first-child:before,&lt;br /&gt;
#content .hlist li dd:first-child:before, #content .hlist li dt:first-child:before, #content .hlist li li:first-child:before {&lt;br /&gt;
    content: &amp;quot; (&amp;quot;;&lt;br /&gt;
    font-weight: normal;&lt;br /&gt;
}&lt;br /&gt;
/* Should be removed and moved to templates once TemplateStyles is live */&lt;br /&gt;
#content .hlist dd dd:last-child:after, #content .hlist dd dt:last-child:after, #content .hlist dd li:last-child:after,&lt;br /&gt;
#content .hlist dt dd:last-child:after, #content .hlist dt dt:last-child:after, #content .hlist dt li:last-child:after,&lt;br /&gt;
#content .hlist li dd:last-child:after, #content .hlist li dt:last-child:after, #content .hlist li li:last-child:after {&lt;br /&gt;
    content: &amp;quot;) &amp;quot;;&lt;br /&gt;
    font-weight: normal;&lt;br /&gt;
}&lt;br /&gt;
/* Put ordinals in front of ordered list items */&lt;br /&gt;
/* Should be removed and moved to templates once TemplateStyles is live */&lt;br /&gt;
#content .hlist ol {&lt;br /&gt;
    counter-reset: listitem;&lt;br /&gt;
}&lt;br /&gt;
/* Should be removed and moved to templates once TemplateStyles is live */&lt;br /&gt;
#content .hlist ol &amp;gt; li {&lt;br /&gt;
    counter-increment: listitem;&lt;br /&gt;
}&lt;br /&gt;
/* Should be removed and moved to templates once TemplateStyles is live */&lt;br /&gt;
#content .hlist ol &amp;gt; li:before {&lt;br /&gt;
    content: &amp;quot; &amp;quot; counter(listitem) &amp;quot; &amp;quot;;&lt;br /&gt;
    white-space: nowrap;&lt;br /&gt;
}&lt;br /&gt;
/* Should be removed and moved to templates once TemplateStyles is live */&lt;br /&gt;
#content .hlist dd ol &amp;gt; li:first-child:before,&lt;br /&gt;
#content .hlist dt ol &amp;gt; li:first-child:before,&lt;br /&gt;
#content .hlist li ol &amp;gt; li:first-child:before {&lt;br /&gt;
    content: &amp;quot; (&amp;quot; counter(listitem) &amp;quot; &amp;quot;;&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>Rickyboy320</name></author>
		
	</entry>
</feed>