/
_table.scss
82 lines (67 loc) · 1.22 KB
/
_table.scss
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
.table-container {
margin: 0 auto;
padding: 0 $s-size;
max-width: 90%;
}
.table-container__title {
background: $fcc-green;
color: white;
font-size: $m-size;
font-weight: 300;
text-align: centre;
border-radius: 5px 5px 0 0;
}
.table-container__table {
border-collapse: collapse;
}
.table-container__headings {
font-size: $s-size;
color: black;
margin: 0;
// text-align: left;
}
.table-container__button {
border: none;
background-color: #f2f2f2;
}
.table-container__button:focus {
outline: 0;
}
.table-container__text {
font-size: $s-size;
text-align: left;
}
.table-container__text--center {
text-align: center;
}
.table-container__text--id {
text-align: center;
}
.table-container__img {
border-radius: 50%;
border: solid $fcc-green;
}
td:first-child {
width: 6%;
}
td:nth-child(2) {
width: 13%;
word-break: break-all;
}
td:nth-child(4),
td:nth-child(5) {
width: 35%;
}
tr:nth-child(even) {background-color: #f2f2f2}
tr:nth-child(odd) {background-color: white}
@media (min-width: $desktop-breakpoint) {
.table-container__title {
font-size: $l-size;
}
.table-container__headings {
font-size: $l-size;
}
.table-container__text {
font-size: $m-size;
}
}