MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
.election-grid { | .election-grid { | ||
display: grid; | |||
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); | |||
gap: 20px; | |||
padding: 10px; | |||
} | } | ||
.election- | .election-grid-results { | ||
display: grid; | |||
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); | |||
gap: 0.5em; | |||
margin: 0.5em 0; | |||
} | } | ||
. | .candidate-box { | ||
border: 1px solid #ccc; | |||
background: #fff; | |||
} | } | ||
. | .candidate-header { | ||
height: 3px; | |||
width: 100%; | |||
} | } | ||
. | .candidate-content { | ||
padding: 0.25em; | |||
text-align: center; | |||
font-size: 0.9em; | |||
} | |||
.candidate-name { | |||
margin: 0.25em 0; | |||
} | |||
.candidate-name-winner { | |||
font-weight: bold; | |||
margin: 0.25em 0; | |||
} | |||
.candidate-results { | |||
color: #666; | |||
} | } |
Latest revision as of 00:09, 27 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-grid-results {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 0.5em;
margin: 0.5em 0;
}
.candidate-box {
border: 1px solid #ccc;
background: #fff;
}
.candidate-header {
height: 3px;
width: 100%;
}
.candidate-content {
padding: 0.25em;
text-align: center;
font-size: 0.9em;
}
.candidate-name {
margin: 0.25em 0;
}
.candidate-name-winner {
font-weight: bold;
margin: 0.25em 0;
}
.candidate-results {
color: #666;
}