forked from alphagov/table-editor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgeneric-tables.css
More file actions
58 lines (48 loc) · 981 Bytes
/
generic-tables.css
File metadata and controls
58 lines (48 loc) · 981 Bytes
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
/* how it appears in production - ish */
table {
border-collapse: collapse;
border-spacing: 0;
margin-bottom: 60px;
width: 100%;
font-weight: 400;
line-height: 1.31579;
}
table caption {
margin-bottom: 0.5em;
text-align: left;
}
table td,
table th {
line-height: 1.42857;
border-bottom: 1px solid #bfc1c3;
padding: 10px 10px 10px 5px;
text-align: left;
vertical-align: top;
font-weight: 400;
/* the following needs to be repeated to be more specific than TinyMCE's own content styling */
font-size: 14px;
font-family: Arial,sans-serif;
}
thead th {
font-weight: bold;
}
table .numeric {
text-align: right;
font-variant-numeric: tabular-nums;
}
/* making things look different to clarify various elements */
table th {
position: relative;
}
table th::before {
content: '';
width: 3px;
height: 20px;
background-color: #28a197;
position: absolute;
left: 0;
}
span.visuallyhidden {
color: #999;
border: 1px dotted;
}