MediaWiki:Vector-2022.css

Revision as of 03:03, 22 May 2025 by TheRoman (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* Hide indicators only while they're in the original container */
.vector-body-before-content > .mw-indicators {
    display: none;
}

@media screen and (max-width: 720px) {
  .infobox {
    float: none !important;
    margin: 1em auto !important; /* adds spacing above/below and centers horizontally */
    width: 80% !important;
    text-align: center; /* centers text inside the infobox */
  }

  .infobox img {
    display: block;
    margin: 0 auto; /* centers image */
    max-width: 100%;
    height: auto;
  }

  .infobox .infobox-caption {
    text-align: center;
    font-style: italic;
    font-size: 90%;
  }
  
    .mw-header,
  .vector-header,
  .vector-header-container {
    flex-wrap: wrap;
    overflow-x: hidden;
    max-width: 100vw;
  }

  .vector-search-box {
    width: 100%;
    box-sizing: border-box;
  }

  .mw-logo {
    max-width: 120px;
    height: auto;
  }

  .vector-user-links {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}