forked from uchenna23/Project-3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfacts.html
198 lines (148 loc) · 6.21 KB
/
facts.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
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-F3w7mX95PdgyTmZZMECAngseQB83DfGTowi0iMjiWaeVhAn4FJkqJByhZMI3AhiU" crossorigin="anonymous">
<!-- Styles CSS -->
<link rel="stylesheet" href="./static/styles.css">
<!-- Countdown CSS -->
<link rel="stylesheet" href="./static/flip.min.css">
<title>Fun Facts</title>
<link rel="shortcut icon" type="image/jpg" href="./static/olympic_favicon.png" />
</head>
<body>
<!-- Navbar -->
<nav class="navbar navbar-expand-lg navbar-dark sticky-top" style="background-color: rgb(28, 37, 153);">
<div class="container-fluid">
<a class="navbar-brand" href="index.html">
<img src="./static/olympic_logo.png" alt="" width="35">
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link" href="index.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="athletes.html">Athletes</a>
</li>
<li class="nav-item">
<a class="nav-link" aria-current="page" href="medals.html">Medals</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="facts.html">Fun Facts</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- PAGE TITLE -->
<div>
<style>
/* Container holding the image and the text */
.container {
position: relative;
text-align: center;
color: white;
text-shadow: 2px 2px rgb(158, 168, 175);
}
/* Centered text */
.centered {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
</style>
<div class="container">
<div class="row">
<div class="col-md-12 jumbotron text-center">
<img src="./static/brain.png" alt="fun facts" width="150">
<h1 class="centered" style="font-size:4rem; color:black">Fun Facts</h1>
</div>
</div>
</div>
</div>
<br><br>
<!-- STYLING FOR VISUALIZATION NAME -->
<div class="container-fluid">
<div class="row">
<div>
<style>
h3 {
text-align: center;
/* font-family: 'Segoe UI', cursive; */
font-size: 3rem;
padding-bottom: 0.2em;
}
</style>
<h3 style="color:rgb(28, 37, 153);">Countdown to 2024 Paris Summer Olympics</h3>
<!-- START OF FLIP EXAMPLE PRESET -->
<style>
.tick {
padding-top: 0.1em;
padding-bottom: 0.1em;
font-size:4rem;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
.tick-label {
font-size:.375em;
text-align:center;
}
.tick-group {
margin:0.25em;
text-align:center;
}
</style>
<div class="tick"
data-did-init="handleTickInit">
<div data-repeat="true"
data-layout="horizontal center"
data-transform="preset(d, h, m, s) -> delay">
<div class="tick-group">
<div data-key="value"
data-repeat="true"
data-transform="pad(00) -> split -> delay">
<span data-view="flip"></span>
</div>
<span data-key="label"
data-view="text"
class="tick-label"></span>
</div>
</div>
</div>
</div>
<script>
function handleTickInit(tick) {
// Enter Paris Olympics Start Date
Tick.count.down('2024-07-26').onupdate = function(value) {
tick.value = value;
};
}
</script>
</div>
</div>
<!-- END OF FLIP EXAMPLE PRESET -->
<p style="text-align:center;">
<img src="https://upload.wikimedia.org/wikipedia/en/thumb/d/d1/2024_Summer_Olympics_logo.svg/1200px-2024_Summer_Olympics_logo.svg.png" alt="Paris Olympics" width="20%" height="20%" class="center">
</p>
<script src=".//static/flip.min.js"></script>
<!-- JavaScript: Bootstrap Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/js/bootstrap.bundle.min.js"
integrity="sha384-/bQdsTh/da6pkI1MST/rWKFNjaCP5gBSY4sEBT38Q/9RBh9AH40zEOg7Hlq2THRZ"
crossorigin="anonymous"></script>
<main class="flex-fill"></main>
<footer class="footer">
<div class="container-fluid opacity-50" style="background-color:rgb(0, 0, 0)">
<div style="color:rgb(255, 255, 255); text-align:center"><b>CREATED BY:</b> <a href="https://github.com/brbbrb" style="color:rgb(81, 166, 177)">Bradley Barker</a> • <a href="https://github.com/Connelito" style="color:rgb(253, 178, 96)">Darryl Connelly II</a> • <a href="https://github.com/uchenna23"style="color:rgb(114, 180, 139)">Uchenna Nwagbara</a> • <a href="https://github.com/Yingying-Li-Data"style="color:rgb(242, 97, 94)">Yingying Li</a></div>
</div>
</footer>
</body>
</html>