summaryrefslogtreecommitdiff
path: root/css/post/table.css
blob: bfefa58c307cceb68cb5ac20e1940c399fefc336 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
table,
td,
th {
  border: $color-text-primary solid $line-third;
  width: 100%;
  text-align: left;
}
table {
  border-collapse: collapse;
  table-layout: fixed;
}
td,
th {
  padding: $margin-m-1;
}
th {
  font-variation-settings: 'wght' $font-weight-medium;
}
td {
  font-variation-settings: 'wght' $font-weight-light;
}
table,
tboby,
tr,
td {
  background-color: inherit;
}
.highlight>table {
  min-width: fit-content;
}
@media (max-width: 480px) {
  .block-table {
    display: block;
    overflow-x: auto;
  }
}