MediaWiki:Timeless.css

From Inkipedia, the Splatoon wiki
Revision as of 02:33, 23 July 2018 by Heddy (talk | contribs) (reduced padding for content area)

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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
#mw-content-container {
  background-image: url("//cdn.wikimg.net/en/splatoonwiki/images/d/d4/S2_background_stripe_pattern.svg");
  background-repeat: repeat;
}

#mw-content {
  padding: 1em 1.5em 1.5em 1.5em;
}

#mw-footer-container {
  background-image: url("//cdn.wikimg.net/splatoonwiki/images/b/b4/Featured-bg.png");
  background-repeat: repeat;
}

#mw-footer-container li,
#mw-footer-container a {
  color: #333;
}

/* for displaying mobile-only content.
850px is the width that timeless stops displaying .nomobile classes content. */
@media screen and (max-width: 850px) {
  .onlymobile {
    display: initial;
  }
}

/* fixes the default behavior of collapsing all table borders together. */
table {
  border-collapse: initial;
}

/* fixes issue of header bottom border covering elements such as infoboxes. */
h1, h2, h3, h4, h5, h6 {
  overflow: hidden;
}

/* hides the wiki title when there is not enough width to display it. */
@media screen and (max-width: 460px) {
  #p-banner.mw-wiki-title {
    display: none;
  }
}