MediaWiki:Common.css: Difference between revisions

From Elections Wiki
Jump to navigation Jump to search
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 {..."
 
No edit summary
Line 5: Line 5:
   gap: 20px;
   gap: 20px;
   padding: 10px;
   padding: 10px;
  justify-content: center;
  align-items: center;
}
}



Revision as of 00:15, 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;
  justify-content: center;
  align-items: center;
}

.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;
}