mediawiki-skins-Citizen/resources/skins.citizen.styles/common/wikitable.less

44 lines
752 B
Plaintext
Raw Normal View History

2019-08-15 17:40:13 +00:00
table.wikitable {
2019-12-26 10:21:50 +00:00
border: 0;
background-color: transparent;
border-collapse: collapse;
color: var( --wikitable-color );
2019-08-15 17:40:13 +00:00
2020-06-10 02:59:54 +00:00
caption {
margin-top: @content-margin-top;
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;
color: var( --wikitable-tr-th-color );
2019-12-26 10:21:50 +00:00
font-size: @content-caption-size;
text-align: left;
}
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;
border-bottom: 1px solid var( --wikitable-tr-th-border-color );
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 {
background-color: var( --wikitable-tr-hover-background-color );
2019-12-26 10:21:50 +00:00
}
}
2019-08-15 17:40:13 +00:00
}
2019-10-07 23:28:16 +00:00
2020-06-10 05:17:49 +00:00
@media ( max-width: @screen2 ) {
2019-12-26 10:21:50 +00:00
table.wikiatble {
white-space: nowrap;
}
2020-06-10 03:00:57 +00:00
}