MediaWiki:Timeless.css: Difference between revisions

From Inkipedia, the Splatoon wiki
(reduced padding for content area)
(That fix is no longer needed. The current version of Timeless displays the title correctly on all screen sizes.)
Line 34: Line 34:
h1, h2, h3, h4, h5, h6 {
h1, h2, h3, h4, h5, h6 {
   overflow: hidden;
   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;
  }
}
}

Revision as of 02:19, 8 February 2019

#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;
}