MediaWiki:Common.css

MediaWiki interface page
Revision as of 05:16, 22 October 2021 by Camo Yoshi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.
* {
  box-sizing: border-box;
}

body {
  margin: 0;
}


/* Create two equal columns that floats next to each other */
.main_page_column {
  float: left;
  width: 50%;
  padding: 15px;
}

/* Clear floats after the columns */
.main_page_row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width:600px) {
  .main_page_column {
    width: 100%;
  }
}