Project

General

Profile

Download (680 Bytes) Statistics
| Branch: | Tag: | Revision:

haketilo / html / table.css @ 4b59dced

1
.table_wrapper {
2
    display: block;
3
    background-color: #f0f0f0;
4
    margin: 6px 0;
5
}
6

    
7
.table_wrapper table {
8
    border-collapse: unset;
9
    width: 100%;
10
}
11

    
12
.table_wrapper.tight_table,
13
.table_wrapper.tight_table>*,
14
.table_wrapper.tight_table>*>table {
15
    width: -moz-min-content;
16
    width: min-content;
17
}
18

    
19
tr:nth-child(odd) {
20
    background-color: #e5e5e5;
21
}
22

    
23
td {
24
    vertical-align: middle;
25
    min-width: fit-content;
26
    min-width: -moz-fit-content;
27
}
28

    
29
.tight_table td {
30
    width: 1%;
31
}
32

    
33
td:first-child {
34
    padding: 3px 10px 6px;
35
}
36

    
37
.tight_table td:first-child {
38
    width: 100%;
39
}
40

    
41
td>div.button {
42
    margin-right: 4px;
43
    white-space: nowrap;
44
    float: right;
45
}
(11-11/11)