-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
130 lines (106 loc) · 1.85 KB
/
style.css
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Helvetica';
background: #016A3E;
}
h2 {
padding: 30px 0;
text-align: center;
font-size: 18px;
text-transform: uppercase;
letter-spacing: 1px;
color: #fefefe;
}
.container {
margin: 80px 70px 70px;
box-shadow: 0px 35px 50px rgba(0,0,0,.2);
}
table {
width: 100%;
max-width: 100%;
font-size: 12px;
font-weight: normal;
border-radius: 5px;
border-collapse: collapse;
white-space: nowrap;
background-color: #fefefe;
border: 1px solid #1A2929;
}
td, th {
text-align: center;
padding: 6px;
border-right: 1px solid #1A2929;
}
td {
font-size: 12px;
}
thead th {
color: #fefefe;
background: #1A2929;
}
tr:nth-child(even) {
background: #9EDFD3;
}
@media (max-width: 767px) {
.container {
margin: 30px 30px 30px;
box-shadow: 5px 43px 59px rgb(0 0 0 / 50%);
}
table {
display: block;
width: 100%;
}
thead, tbody, thead th {
display: block;
}
thead th:last-child {
border-bottom: none;
}
thead {
float: left;
}
tbody {
width: auto;
position: relative;
overflow-x: auto;
}
td, th {
padding: 20px .625em .625em .625em
height: 60px;
vertical-align: middle;
overflow-x: hidden;
overflow-y: auto;
width: 120px;
font-size: 13px;
text-overflow: ellipsis;
}
thead th {
text-align: left;
border-bottom: 1px solid #f7f7f9;
}
tbody tr {
display: table-cell;
}
tbody tr:nth-child(odd) {
background: none;
}
tr:nth-child(even) {
background: transparent;
}
tr td:nth-child(odd) {
background: #F8F8F8;
border-right: 1px solid #1A2929;
}
tr td:nth-child(event) {
background-color: #9EDFD3
border-right: 1px solid #1A2929;
}
tbody td {
display: block;
text-align: center;
}
}