Jump to content

MediaWiki:Common.css

From AOWIS
Revision as of 04:26, 16 March 2026 by Samuel (talk | contribs) (Created page with "CSS placed here will be applied to all skins: Modern wiki boxes: .wiki-box { border: 1px solid #d0d7de; border-radius: 8px; background: #ffffff; margin: 10px 0; box-shadow: 0 1px 2px rgba(0,0,0,0.05); overflow: hidden; } .wiki-box-header { padding: 8px 12px; font-weight: bold; font-size: 1.1em; } .wiki-box-content { padding: 12px; } Color variants: .wiki-blue .wiki-box-header { background: #e7f3ff; border-bottom: 1px solid #c6...")
(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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */

/* Modern wiki boxes */

.wiki-box {
  border: 1px solid #d0d7de;
  border-radius: 8px;
  background: #ffffff;
  margin: 10px 0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  overflow: hidden;
}

.wiki-box-header {
  padding: 8px 12px;
  font-weight: bold;
  font-size: 1.1em;
}

.wiki-box-content {
  padding: 12px;
}

/* Color variants */

.wiki-blue .wiki-box-header {
  background: #e7f3ff;
  border-bottom: 1px solid #c6e0ff;
}

.wiki-green .wiki-box-header {
  background: #e6f6ec;
  border-bottom: 1px solid #b7e3c6;
}

.wiki-yellow .wiki-box-header {
  background: #fff8e5;
  border-bottom: 1px solid #f1e0a6;
}

.wiki-red .wiki-box-header {
  background: #fdeaea;
  border-bottom: 1px solid #f5c2c2;
}