-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmaps.html
More file actions
104 lines (85 loc) · 2.47 KB
/
maps.html
File metadata and controls
104 lines (85 loc) · 2.47 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
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
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="author" content="Annan Zhang">
<!-- Search engine indexing off -->
<meta name="robots" content="noindex, nofollow">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-C79S7G27J7"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-C79S7G27J7');
</script>
<title>Visited Places</title>
<!-- Inline stylesheet -->
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
width: 100%;
box-sizing: border-box;
}
.container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 20px;
box-sizing: border-box;
}
h1 {
text-align: center;
margin-bottom: 40px;
}
h2 {
text-align: center;
margin-bottom: 20px;
}
.iframe-container {
position: relative;
width: 100%;
max-width: 1200px;
padding-top: 56.25%;
/* 16:9 aspect ratio (divide 9 by 16 = 0.5625 = 56.25%) */
margin: 0 auto 40px;
/* Center the container */
}
.iframe-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none;
}
@media (max-width: 768px) {
h1,
h2 {
font-size: 1.5em;
}
}
</style>
<link rel="icon" href="images/MIT_seal.svg" sizes="any" type="image/svg+xml">
</head>
<body>
<div class="container">
<h1>Visited Places</h1>
<h2>US States</h2>
<div class="iframe-container">
<iframe src="data/maps/visited_states.html"></iframe>
</div>
<h2>US National Parks</h2>
<div class="iframe-container">
<iframe src="data/maps/visited_parks.html"></iframe>
</div>
<h2>Countries</h2>
<div class="iframe-container">
<iframe src="data/maps/visited_countries.html"></iframe>
</div>
</div>
</body>
</html>