mediawiki-skins-Citizen/resources/skins.citizen.styles/skinning/content.tables.less
github-actions b0b91e55d3 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-05-07 20:29:45 +00:00

54 lines
876 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;
}
thead + tbody {
border-top: 1px solid var( --border-color-base );
}
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 );
}
}