mediawiki-skins-Citizen/resources/components/wikitable.less

44 lines
885 B
Plaintext
Raw Normal View History

2019-08-10 04:28:35 +00:00
//
// Citizen - Wikitable Styles
// https://starcitizen.tools
//
table.wikitable {
2019-08-10 04:36:33 +00:00
margin-top: @content-margin-top * 2!important;
2019-08-10 04:28:35 +00:00
background-color: transparent;
color: @base-20;
border: 0;
2019-08-10 04:36:33 +00:00
// TEMP solution to fix overflow
display: block;
max-width: 100vw;
overflow: auto;
2019-08-10 04:28:35 +00:00
tr {
vertical-align: top;
th {
padding: @margin-side / 2 @margin-side @margin-side 0;
border: 0;
2019-08-10 14:13:32 +00:00
border-top: 2px solid currentColor;
2019-08-10 04:28:35 +00:00
color: @base-30;
background-color: transparent;
font-size: @content-caption-size;
letter-spacing: 1px;
text-transform: uppercase;
text-align: left;
}
td {
border: 0;
border-bottom: 1px solid @base-80;
padding: @margin-side / 2 @margin-side @margin-side / 2 0;
2019-08-10 14:13:32 +00:00
font-size: @content-monospace-size;
2019-08-10 04:28:35 +00:00
}
&:hover {
background-color: @base-90;
}
}
}