MediaWiki:Common.css
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;
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;
}