2019-08-15 17:40:13 +00:00
|
|
|
table.wikitable {
|
2021-01-12 19:31:35 +00:00
|
|
|
border: 0; // Override core MW styles
|
|
|
|
background-color: transparent; // Override core MW styles
|
2020-02-16 01:49:32 +00:00
|
|
|
border-collapse: collapse;
|
2021-01-12 19:31:35 +00:00
|
|
|
color: var( --color-base ); // Override core MW styles
|
2021-04-28 14:37:36 +00:00
|
|
|
text-align: left; // So that it can be overrided from table element
|
2019-08-15 17:40:13 +00:00
|
|
|
|
2020-06-10 02:59:54 +00:00
|
|
|
caption {
|
|
|
|
margin-top: @content-margin-top;
|
2021-04-28 14:37:36 +00:00
|
|
|
font-weight: 600;
|
2020-06-10 02:59:54 +00:00
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
2019-12-26 10:21:50 +00:00
|
|
|
tr {
|
|
|
|
vertical-align: top;
|
2019-08-15 17:40:13 +00:00
|
|
|
|
2019-12-26 10:21:50 +00:00
|
|
|
th {
|
|
|
|
background-color: transparent;
|
2021-01-12 19:31:35 +00:00
|
|
|
color: var( --color-base--subtle );
|
2019-12-26 10:21:50 +00:00
|
|
|
font-size: @content-caption-size;
|
2021-04-28 14:37:36 +00:00
|
|
|
font-weight: 500;
|
2019-12-26 10:21:50 +00:00
|
|
|
}
|
2019-11-12 20:40:11 +00:00
|
|
|
|
2019-12-26 10:21:50 +00:00
|
|
|
td {
|
|
|
|
font-size: @content-monospace-size;
|
|
|
|
}
|
2019-08-15 17:40:13 +00:00
|
|
|
|
2019-12-26 10:21:50 +00:00
|
|
|
th,
|
|
|
|
td {
|
|
|
|
padding: @margin-side / 2 @margin-side @margin-side / 2 0;
|
|
|
|
border: 0;
|
2021-01-12 19:31:35 +00:00
|
|
|
border-bottom: 1px solid var( --border-color-base );
|
2019-12-26 10:21:50 +00:00
|
|
|
}
|
2019-11-12 20:40:11 +00:00
|
|
|
|
2019-12-26 10:21:50 +00:00
|
|
|
&:hover {
|
2021-01-12 19:31:35 +00:00
|
|
|
background-color: var( --background-color-quiet--hover );
|
2019-12-26 10:21:50 +00:00
|
|
|
}
|
|
|
|
}
|
2019-08-15 17:40:13 +00:00
|
|
|
}
|
2019-10-07 23:28:16 +00:00
|
|
|
|
2021-04-11 21:57:50 +00:00
|
|
|
@media ( max-width: @width-breakpoint-desktop-wide ) {
|
2019-12-26 10:21:50 +00:00
|
|
|
table.wikiatble {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2020-06-10 03:00:57 +00:00
|
|
|
}
|