-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdata.html
172 lines (145 loc) · 5.42 KB
/
data.html
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Latest update on COVID-19. Mady by Khanh Luu">
<meta name="author" content="Khanh Luu">
<meta property="og:url" content="https://kkhanhluu.github.io/covid19">
<meta property="og:title" content="COVID19 - Data Visualization">
<meta property="og:description" content="Latest update on COVID-19. Mady by Khanh Luu">
<meta property="og:type" content="website">
<meta property="og:image" content="https://kkhanhluu.github.io/assets/icons/android-chrome-192x192.png">
<meta property="og:image:secure_url"
content="https://kkhanhluu.github.io/assets/icons/android-chrome-192x192.png">
<meta property="og:image:type" content="image/png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.20/css/dataTables.bootstrap4.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.css">
<script src="https://code.jquery.com/jquery-3.3.1.js"></script>
<script src="https://cdn.datatables.net/1.10.20/js/jquery.dataTables.min.js"></script>
<script src="https://cdn.datatables.net/1.10.20/js/dataTables.bootstrap4.min.js"></script>
<title>Document</title>
<style>
@import url('https://fonts.googleapis.com/css?family=Abel');
html {
font-size: 62.5%;
}
body {
font-family: Abel, Arial, Verdana, sans-serif !important;
background-color: #0A182E;
color: #8892b0;
}
.table-container {
font-size: 1.6rem;
padding: 4rem;
}
table.table-dark {
font-family: Abel, Arial, Verdana, sans-serif !important;
background-color: #172A44;
color: #8892b0;
}
.flag {
display: inline-block;
width: 6rem;
margin: 0 2rem;
float: right;
}
.row {
margin: 2rem 0 !important;
}
select {
font-size: 0.9rem !important;
}
.title-container {
text-align: center;
}
.title-container h1 {
font-size: 3.5rem;
margin: 1.5rem 0;
}
.title-desc {
font-size: 1.6rem;
}
.title-desc a {
color: #1ae021;
text-decoration: none;
}
.left-container {
position: absolute;
top: 3.5rem;
left: 3rem;
z-index: 100;
width: 20%;
}
.left-container a {
color: #339900;
font-size: 1.6rem;
text-decoration: none;
border: 1px solid #308804;
padding: 1rem;
border-radius: 5px;
}
.left-container a:hover {
color: #fff;
background-color: #308804;
border-color: #205c03;
}
@media screen and (max-width: 600px) {
.table-container {
font-size: 1.4rem;
padding: 0;
margin: 1.5rem 0;
}
.flag {
width: 3rem;
margin: 0 1rem;
}
.col-sm-12 {
padding-left: 0 !important;
margin: 1rem 0;
}
.col-sm-12 div {
text-align: left !important;
padding-left: 2rem !important;
float: left;
}
.row {
margin: 0 !important;
}
.left-container {
top: 3.2rem;
left: 0.5rem;
}
}
</style>
</head>
<body>
<div class="title-container">
<h1 class="title">COVID19 - Data Visualization</h1>
<div class="title-desc">Latest update on COVID-19. Made by <a rel="noopener noreferrer" target="_BLANK"
href="https://kkhanhluu.github.io/">Khanh
Luu</a></div>
</div>
<div class="table-container table-responsive">
<table id="example" class="table table-striped table-hover table-dark" style="width:100%">
<thead>
<tr>
<th>Country</th>
<th>Total cases</th>
<th>Total deaths</th>
<th>Total recovered</th>
<th>Today Cases</th>
<th>Today Deaths</th>
</tr>
</thead>
<tbody id="table-body"></tbody>
</table>
</div>
<div class="left-container">
<a href="./index.html">Back</a>
</div>
<script src="./dist/datatable.b92c6a0e.js"></script>
</body>
</html>