mediawiki-skins-Citizen/resources/skins.citizen.styles/common/wikitable.less
2021-01-12 14:31:35 -05:00

44 lines
810 B
Plaintext

table.wikitable {
border: 0; // Override core MW styles
background-color: transparent; // Override core MW styles
border-collapse: collapse;
color: var( --color-base ); // Override core MW styles
caption {
margin-top: @content-margin-top;
text-align: left;
}
tr {
vertical-align: top;
th {
background-color: transparent;
color: var( --color-base--subtle );
font-size: @content-caption-size;
text-align: left;
}
td {
font-size: @content-monospace-size;
}
th,
td {
padding: @margin-side / 2 @margin-side @margin-side / 2 0;
border: 0;
border-bottom: 1px solid var( --border-color-base );
}
&:hover {
background-color: var( --background-color-quiet--hover );
}
}
}
@media ( max-width: @screen2 ) {
table.wikiatble {
white-space: nowrap;
}
}