summaryrefslogtreecommitdiff
path: root/themes/theme/source/css/post/table.styl
blob: 405e24333ec1021a5972f521f96d89a42534bc35 (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
.post-content
    table
        border $color-text-primary solid $line-third 
        width 100%
        text-align left
        border-collapse collapse
        table-layout fixed

        td, th
            padding $margin-m-1

        th
            font-weight 400

        td
            font-weight 400

        table, tboby, tr, td
            background-color inherit

.highlight>table
    width auto
    min-width fit-content
    border none
    
    td
        padding 0
        border none

@media (max-width: 480px)
    .block-table
        display block
        overflow-x auto