MediaWiki:Common.css

From Argonath RPG Wiki
Jump to navigation Jump to search

Note: After saving, 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: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* Common classes and styles, keeping it DRY. */

/* multiple columns */
.columns {
  -webkit-column-gap: 20px;
     -moz-column-gap: 20px;
          column-gap: 20px;
}
.columns ul,
.columns ol,
.columns p {
  margin-top:    0 !important;
  margin-bottom: 0 !important;
}
.columns.two-col {
  -webkit-column-count: 2;
     -moz-column-count: 2;
          column-count: 2;
}
.columns.three-col {
  -webkit-column-count: 3;
     -moz-column-count: 3;
          column-count: 3;
}
.columns.four-col {
  -webkit-column-count: 4;
     -moz-column-count: 4;
          column-count: 4;
}

/* fix images so they scale */
img {
  max-width: 100% !important;
  height: auto !important;
}