MediaWiki:Common.css

From Elections Wiki
Revision as of 00:14, 26 January 2025 by Dartz (talk | contribs) (Created page with "CSS placed here will be applied to all skins: .election-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; padding: 10px; } .election-card { background-color: #1C408C; color: white; text-align: center; border: 1px solid #1C408C; padding: 10px; font-family: Arial, sans-serif; display: flex; flex-direction: column; justify-content: center; align-items: center; height: 250px; } .card-number {...")
(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 */
.election-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  padding: 10px;
}

.election-card {
  background-color: #1C408C;
  color: white;
  text-align: center;
  border: 1px solid #1C408C;
  padding: 10px;
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 250px;
}

.card-number {
  font-size: 2em;
  font-weight: bold;
  line-height: 1.5;
}

.card-divider {
  border-top: 2px solid white;
  width: 80%;
  margin: 10px 0;
}

.card-text {
  font-size: 1em;
  text-transform: uppercase;
  line-height: 1.5;
}