Difference between revisions of "MediaWiki:Timeless.css"

From Rare Gaming Dump
(Fix page content width)
(Fix page content width - attempt 2)
Line 4: Line 4:
 
     .ts-inner { max-width: none; }
 
     .ts-inner { max-width: none; }
 
}
 
}
 +
 +
/* One-sided navigation menu */
 +
@media (min-width: 1340px) {
 +
  #mw-content-block {
 +
    display: block;
 +
  }
 +
  #mw-content,
 +
  #content-bottom-stuff {
 +
    margin-left: 14em;
 +
  }
 +
  #mw-content-wrapper {
 +
    float: right;
 +
    margin-left: -14em;
 +
    width: 100%;
 +
  }
 +
  #mw-related-navigation {
 +
    width: 14em;
 +
    padding: 0 1em 0 0;
 +
  }
 +
  div.color-middle {
 +
    margin-right: 0;
 +
  }
 +
}
 +
 +
/* Align top colour bar with page columns */
 +
.ts-inner {
 +
  padding: 0 0 0 1em;
 +
}
 +
 +
/* Re-aligning bottom logos */
 +
#footer { padding-right: 1em; }

Revision as of 06:35, 6 May 2021

/* Indefinite content width */
@media screen and (min-width: 851px) {
    .color-middle-container,
    .ts-inner { max-width: none; }
}

/* One-sided navigation menu */
@media (min-width: 1340px) {
  #mw-content-block {
    display: block;
  }
  #mw-content,
  #content-bottom-stuff {
    margin-left: 14em;
  }
  #mw-content-wrapper {
    float: right;
    margin-left: -14em;
    width: 100%;
  }
  #mw-related-navigation {
    width: 14em;
    padding: 0 1em 0 0;
  }
  div.color-middle {
    margin-right: 0;
  }
}

/* Align top colour bar with page columns */
.ts-inner {
  padding: 0 0 0 1em;
}

/* Re-aligning bottom logos */
#footer { padding-right: 1em; }