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
Line 148: Line 148:
/* infobox */
/* infobox */
@media screen and (max-width: 1280px) {
@media screen and (max-width: 1280px) {
  table.infobox {
  table.infobox {
    width: 100% !important;
    width: 100% !important;
    margin: 0;
    margin: 0;
    padding: 0 0.5em;
    padding: 0 0.5em;
    box-sizing: border-box;
    box-sizing: border-box;
  }
    table-layout: auto !important;
  table.infobox > tbody {
    overflow-x: hidden !important;
    display: block;
  }
    min-width: 100%;
  table.infobox > tbody {
  }
    display: block;
  table.infobox th,
    min-width: 100%;
  table.infobox td {
  }
    text-align: center !important;
  table.infobox th,
    white-space: normal;  }
  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;
  }  
}
}