2022-11-15 18:08:00 +00:00
|
|
|
/*
|
|
|
|
* Citizen
|
|
|
|
*
|
|
|
|
* Module: mediawiki.skinning.content.tables
|
|
|
|
* Version: REL1_39
|
|
|
|
*
|
2024-02-26 22:48:21 +00:00
|
|
|
* Date: 2024-02-26
|
2022-11-15 18:08:00 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
.wikitable {
|
|
|
|
margin: var( --space-md ) 0;
|
2024-02-26 23:47:44 +00:00
|
|
|
border: 1px solid var( --border-color-base );
|
|
|
|
border-radius: var( --border-radius--medium );
|
2024-02-26 22:48:21 +00:00
|
|
|
border-spacing: 0;
|
2024-02-26 22:52:20 +00:00
|
|
|
font-size: var( --font-size-small );
|
2022-11-15 18:08:00 +00:00
|
|
|
|
|
|
|
caption {
|
|
|
|
padding-right: var( --space-sm );
|
|
|
|
padding-left: var( --space-sm );
|
|
|
|
font-weight: var( --font-weight-semibold );
|
2023-07-28 01:19:27 +00:00
|
|
|
color: var( --color-base--emphasized );
|
2022-11-15 18:08:00 +00:00
|
|
|
text-align: start;
|
|
|
|
}
|
2023-05-07 20:29:45 +00:00
|
|
|
|
2023-05-07 20:28:38 +00:00
|
|
|
thead + tbody {
|
|
|
|
border-top: 1px solid var( --border-color-base );
|
|
|
|
}
|
2022-11-15 18:08:00 +00:00
|
|
|
|
2023-07-17 00:25:04 +00:00
|
|
|
tbody tr {
|
2022-11-15 18:08:00 +00:00
|
|
|
&:hover {
|
|
|
|
background-color: var( --background-color-quiet--hover );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
th {
|
|
|
|
font-weight: var( --font-weight-normal );
|
2023-07-28 01:19:27 +00:00
|
|
|
color: var( --color-base--subtle );
|
2022-11-15 18:16:39 +00:00
|
|
|
text-align: start;
|
2023-07-28 01:19:27 +00:00
|
|
|
letter-spacing: 0.05em;
|
2022-11-15 18:08:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
th,
|
|
|
|
td {
|
|
|
|
padding: var( --space-xs ) var( --space-sm );
|
|
|
|
}
|
2024-02-26 22:48:21 +00:00
|
|
|
|
|
|
|
tr {
|
|
|
|
th,
|
|
|
|
td {
|
|
|
|
border-top: 1px solid var( --border-color-base );
|
|
|
|
}
|
|
|
|
|
|
|
|
&:first-of-type {
|
|
|
|
th,
|
|
|
|
td {
|
|
|
|
border-top: 0;
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
border-top-left-radius: var( --border-radius--medium );
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-top-right-radius: var( --border-radius--medium );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-of-type {
|
|
|
|
th,
|
|
|
|
td {
|
|
|
|
&:first-child {
|
|
|
|
border-bottom-left-radius: var( --border-radius--medium );
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-bottom-right-radius: var( --border-radius--medium );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-11-15 18:08:00 +00:00
|
|
|
}
|