MediaWiki:Mobile.css

/* All CSS here will be loaded for users of the mobile site */ /* From Module:Portal navigation/styles.css */

.portal-navigation::after { content: ""; display: block; clear: both; } .portal-navigation-header { font-size: 1.6875em; border-radius: 2px; font-weight: bold; padding: .25em; } .portal-navigation-portalicon { display: inline-block; padding: .3em; margin: 0 0 0 .5em; } .portal-navigation[dir="ltr"] .portal-navigation-portalicon, .portal-navigation-force-ltr .portal-navigation-portalicon { /* @noflip */ margin: 0 0 0 .5em; } .portal-navigation[dir="rtl"] .portal-navigation-portalicon, .portal-navigation-force-rtl .portal-navigation-portalicon { /* @noflip */ margin: 0 .5em 0 0; } ul.portal-navigation-body { font-size: 1.125em; margin: 0 0 1.125em; padding: 0; } .portal-navigation[dir="ltr"] .portal-navigation-header, .portal-navigation-force-ltr .portal-navigation-header, .portal-navigation[dir="ltr"] .portal-navigation-body, .portal-navigation-force-ltr .portal-navigation-body { /* @noflip */ text-align: left; } .portal-navigation[dir="rtl"] .portal-navigation-header, .portal-navigation-force-rtl .portal-navigation-header, .portal-navigation[dir="rtl"] .portal-navigation-body, .portal-navigation-force-rtl .portal-navigation-body { /* @noflip */ text-align: right; } .portal-navigation-body > li { display: inline-block; position: relative; vertical-align: top; } .portal-navigation[dir="ltr"] .portal-navigation-body > li, .portal-navigation-force-ltr .portal-navigation-body > li { /* @noflip */ float: left; } .portal-navigation[dir="rtl"] .portal-navigation-body > li, .portal-navigation-force-rtl .portal-navigation-body > li { /* @noflip */ float: right; } .portal-navigation-entry { display: inline-block; margin: 1em; padding-bottom: .5em; font-weight: bold; border-bottom: .3em solid #c8ccd1; } .portal-navigation-entry-has-subtabs { margin-bottom: 0; border-bottom: none; } .portal-navigation-tabicon { margin: 0 .75em 0 0; } .portal-navigation[dir="ltr"] .portal-navigation-tabicon, .portal-navigation-force-ltr .portal-navigation-tabicon { /* @noflip */ margin: 0 .75em 0 0; } .portal-navigation[dir="rtl"] .portal-navigation-tabicon, .portal-navigation-force-rtl .portal-navigation-tabicon { /* @noflip */ margin: 0 0 0 .75em; } ul.portal-navigation-subtabs { list-style: none; font-size: 95%; margin: 0 1em; padding: 1.125em 0; border-style: solid; border-width: .35em 0; } .portal-navigation-subtabs > li { margin: 0; padding: 0; }

/* CSS used on MediaWiki.org */ .mainpage_row { display: flex; flex-direction: row; flex-flow: row wrap; justify-content: space-between; padding: 0; margin: 0 -5px 0 -5px; } .mainpage_box { flex: 1; margin: 5px; min-width: 210px; border: 1px solid #CCC; padding: 0 10px 10px 10px; box-shadow: 0 2px 2px rgba(0,0,0,0.1); } .mainpage_box h3 { /* Reset padding so is equal across skins */ padding-right: 0; padding-top: 0; padding-bottom: 0; /* Padding left gets overridden by headanchor gadget */ margin: 0.5em 0; } /* Set padding left only if headanchor gadget is not enabled */ .mainpage_box h3:not(.tpl-vheadanchor-heading) { padding-left: 0; } .mainpage_box h3 .header_icon { float: left; margin-right: 5px; } .mainpage_box .items { border-top: 1px solid #CCC; padding-top: 0.5em; } .mainpage_box p:last-child { margin-bottom: 0; } .mainpage_boxcontents_small { font-size: 95%; } /* Style the "other languages" box the same way as other boxes on the main page */ .mw-pt-languages { display: block; background: none; border: 1px solid #CCC; box-shadow: 0 2px 2px rgba(0,0,0,0.1); width: auto; } .mw-pt-languages-label { background: none; border-right: none; }

@media screen and (max-width: 719px) { .thumb { float: none; }	.thumb, .thumbinner { margin-left: auto; margin-right: auto; } }

.mw-parser-output .shortcut { display: block; background: none; border: 1px solid #CCC; box-shadow: 0 2px 2px rgba(0,0,0,0.1); width: auto; }