MediaWiki:Common.css

From Rise of Agon Wiki
Revision as of 08:48, 25 January 2026 by Admin (talk | contribs) (Add Leaflet CSS and map viewer)
(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.
/* Append to existing Common.css */

/* Leaflet Map Container */
.agon-map-container {
  width: 100%;
  height: 600px;
  border: 2px solid #d8a657;
  border-radius: 8px;
  margin: 20px 0;
  position: relative;
  background: #1b2941;
}

#agon-world-map {
  width: 100%;
  height: 100%;
}

.leaflet-container {
  background: #1b2941;
  font-family: 'Source Sans 3', sans-serif;
}

.leaflet-popup-content-wrapper {
  background: #fffaf0;
  border: 1px solid #d8a657;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(15, 27, 44, 0.4);
}

.leaflet-popup-content {
  font-family: 'Source Sans 3', sans-serif;
  color: #0f1b2c;
}

.leaflet-popup-content h3 {
  font-family: 'Playfair Display', serif;
  color: #0f1b2c;
  margin-top: 0;
  border-bottom: 1px solid rgba(216, 166, 87, 0.45);
  padding-bottom: 5px;
}

.leaflet-popup-tip {
  background: #fffaf0;
}

.marker-info {
  max-width: 300px;
}

.marker-info strong {
  color: #c48b2e;
}