MediaWiki:Common.css

From WikiPhone
Revision as of 04:44, 19 August 2025 by CaptainChris (talk | contribs) (Created page with "CSS placed here will be applied to all skins: Container for left + right sections: .mp-container { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; space between main and sidebar: } Left content: .mp-left { flex: 1; take up remaining space: } Sidebar on right: .mp-right { width: 250px; adjust sidebar width: }")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
/* Container for left + right sections */
.mp-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px; /* space between main and sidebar */
}

/* Left content */
.mp-left {
  flex: 1; /* take up remaining space */
}

/* Sidebar on right */
.mp-right {
  width: 250px; /* adjust sidebar width */
}