Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Mobile.css: Difference between revisions

MediaWiki interface page
No edit summary
Tags: Mobile edit Mobile web edit
No edit summary
Tags: Mobile edit Mobile web edit
 
(22 intermediate revisions by the same user not shown)
Line 145: Line 145:
/* preferences */
/* preferences */
:root {--color-primary: #E69710;}
:root {--color-primary: #E69710;}
/* infobox */
@media screen and (max-width: 1280px) {
  table.infobox {
    width: 100% !important;
    margin: 0;
    padding: 0 0.5em;
    box-sizing: border-box;
    table-layout: auto !important;
    overflow-x: hidden !important;
  }
  table.infobox > tbody {
    display: block;
    min-width: 100%;
  }
  table.infobox th,
  table.infobox td {
    text-align: center !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 0.5em;
  }
  table.infobox img {
    display: block;
    width: 100% !important;
    height: auto !important;
    margin: 0;
  } 
}
/* section dropdown */
.section-heading.collapsible-heading {
  display: block !important;
}
.section-heading.collapsible-heading > .mw-ui-icon,
.section-heading.collapsible-heading > .mw-headline,
.section-heading.collapsible-heading > .mw-editsection {
  display: block !important;
  /* optional spacing if you want a little gap between icon/headline/edit link */
  margin-bottom: 0.25em;
}
.section-heading.collapsible-heading > .mw-ui-icon {
  float: left;
  margin-right: 0.5em;
}