MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
gap: 20px; | gap: 20px; | ||
padding: 10px; | padding: 10px; | ||
} | } | ||
Line 18: | Line 16: | ||
display: flex; | display: flex; | ||
flex-direction: column; | flex-direction: column; | ||
height: 250px; | height: 250px; | ||
} | } |
Revision as of 00:17, 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;
}
.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;
}