-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcss_table.css
More file actions
107 lines (85 loc) · 1.5 KB
/
css_table.css
File metadata and controls
107 lines (85 loc) · 1.5 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
table {
border: none;
table-layout: auto;
}
table td {
padding: .75em;
vertical-align: top;
}
table td:nth-child(1) {
width: 20%;
}
table td:nth-child(2) {
padding: .75em 1.5em;
width: 65%;
}
table td:nth-child(3) {
text-align: right;
width: 15%;
}
.two-c {
margin-top: .75em;
}
.two-c td p {
margin-top: 0;
margin-bottom: 0;
}
table.collapse, table.collapse tbody {
display: block;
}
table.collapse td {
padding: 0 .75em;
}
table.collapse td:nth-child(1) {
width: 100%;
}
table.collapse td:nth-child(2) {
text-align: left;
order: 3;
width: 100%;
padding: .75em;
}
table.collapse td:nth-child(3) {
text-align: left;
order: 2;
width: 100%;
}
table.collapse td:nth-child(3) p {
margin: 0;
}
table.collapse tr {
display: flex;
flex-flow: column nowrap;
margin-bottom: 3em;
}
@media (min-width: 700px) {
table.collapse {
display: table;
}
table.education {
width: 100%;
}
table.collapse tbody {
display: table-row-group;
}
table.collapse tr {
display: table-row;
}
table.collapse td {
padding: .75em;
}
table.collapse td:nth-child(3) {
text-align: right;
width: 15%;
}
table.collapse td:nth-child(3) p {
margin: 1em 0;
}
table.collapse td:nth-child(1) {
width: 20%;
}
table.collapse td:nth-child(2) {
width: 65%;
padding: .75em 1.5em;
}
}