mediawiki-skins-Citizen/resources/skins.citizen.styles/skinning/content.tables.less
2022-11-21 17:47:09 -05:00

56 lines
906 B
Plaintext

/*
* Citizen
*
* Module: mediawiki.skinning.content.tables
* Version: REL1_39
*
* Date: 2022-11-14
*/
.wikitable {
margin: var( --space-md ) 0;
border-collapse: collapse;
caption {
padding-right: var( --space-sm );
padding-left: var( --space-sm );
color: var( --color-base--emphasized );
font-weight: var( --font-weight-semibold );
text-align: start;
}
tr {
// Divider
+ tr {
border-top: 1px solid var( --border-color-base );
}
&:hover {
background-color: var( --background-color-quiet--hover );
}
}
th {
color: var( --color-base--subtle );
font-size: 0.8125rem;
font-weight: var( --font-weight-normal );
letter-spacing: 0.05em;
text-align: start;
}
td {
font-size: 0.875rem;
}
th,
td {
padding: var( --space-xs ) var( --space-sm );
}
}
@media ( max-width: @width-breakpoint-desktop-wide ) {
table.wikiatble {
white-space: nowrap;
}
}