-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbasis.css
More file actions
79 lines (66 loc) · 1.33 KB
/
basis.css
File metadata and controls
79 lines (66 loc) · 1.33 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
* {
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 A */
.basis-card {
display: none;
width: 100%;
margin-bottom: 20px;
}
.basis-header {
background-color: rebeccapurple;
color: white;
border-radius: 5px 5px 0 0;
padding: 10px;
font-weight: bold;
}
.basis-card div {
padding: 10px;
border-bottom: 1px solid #ccc;
}
.basis-card div:last-of-type {
border-bottom: 2px solid rebeccapurple;
}
.basis-card div > span {
color: rebeccapurple;
font-weight: bold;
}
@media screen and (max-width: 578px) {
table.basis-table {
display: none;
}
.basis-card {
display: block;
}
}