-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathspecial.css
More file actions
66 lines (55 loc) · 1.21 KB
/
special.css
File metadata and controls
66 lines (55 loc) · 1.21 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
* {
box-sizing: border-box;
font-size: 1rem;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
/* Basis Tabelle */
table.basis-table {
border-collapse: collapse;
width: 100%;
max-width: 600px;
border-radius: 5px 5px 0 0;
overflow: hidden;
}
table.basis-table thead tr {
background-color: rebeccapurple;
color: white;
text-align: left;
font-weight: bold;
}
table.basis-table th,
table.basis-table td {
padding: 12px 16px;
}
table.basis-table tbody tr {
border-bottom: 1px solid #ccc;
}
table.basis-table tbody tr:last-of-type {
border-bottom: 2px solid rebeccapurple;
}
table.basis-table tbody tr.active {
font-weight: bold;
color: rebeccapurple;
}
/* Variante C */
@media screen and (max-width: 578px) {
table.basis-table thead {
display: none;
}
table.basis-table tbody tr {
display: block;
margin-bottom: 20px;
}
table.basis-table tbody tr:last-of-type {
border-bottom: 1px solid #ccc;
}
table.basis-table tbody td {
display: block;
}
table.basis-table tbody td::before {
content: attr(data-label) ": ";
display: inline-block;
min-width: 200px;
}
}