Predefinição:Casos de infecção por COVID-19 por município no Brasil/styles.css
Aspeto
.covid-por-municipio {
max-height: 80vh;
overflow-y: auto;
border: 1px solid #a2a9b1;
border-left: none;
float: left;
margin: .5em 0 .5em 1em;
clear: both;
box-sizing: border-box;
}
/* For mobile devices */
@media only screen and (max-width: 500px) {
.covid-por-municipio {
font-size: 85%;
width: 100% !important;
}
.tablenotelist {
width: inherit !important;
}
}
.covid-por-municipio > .wikitable {
margin: 0;
border-top: none;
border-bottom: none;
font-size: 85%;
}
.covid-por-municipio > .wikitable td {
padding: 1px 5px;
}
.covid-por-municipio > .wikitable tr:nth-child(1) > th {
border-top: none;
border-bottom: none;
}
.covid-por-municipio > .wikitable tr:nth-child(2) > th {
position: sticky;
top: -2px;
box-shadow: inset 0 1px 0 #a2a9b1, inset 0 -1px 0 #a2a9b1;
border-top: none;
border-bottom: none;
}
.covid-por-municipio > .wikitable tr:nth-child(3) td {
border-top: none;
}
.covid-por-municipio > .wikitable td:nth-child(1) {
text-align: left;
}
/* Caso seja usado o parametro |ocultar=sim */
.covid-por-municipio > .mw-collapsed .sticky {
display: none;
}
.covid-por-municipio > .wikitable:not(.mw-collapsed) .sticky {
display: table-row !important;
}