MediaWiki:Common.css: Difference between revisions

From Elections Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
   gap: 20px;
   gap: 20px;
   padding: 10px;
   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;
  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;
}
}

Revision as of 00:27, 26 January 2025

/* 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;
}