-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
162 lines (138 loc) · 3.67 KB
/
index.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
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>NFC Home Page</title>
<link rel="stylesheet" href="styles.css">
<style>
body {
margin: 0;
padding: 0;
overflow: hidden;
}
canvas {
position: absolute;
top: 0;
left: 0;
z-index: -1;
}
header {
background-color: #333;
color: #fff;
text-align: center;
padding: 10px 0;
}
nav {
display: flex;
justify-content: center;
}
nav a {
color: #fff;
text-decoration: none;
margin: 0 20px;
font-weight: bold;
}
.content {
text-align: center;
padding: 50px;
}
.research-content {
padding: 50px;
text-align: left;
}
</style>
<style>
@import url('https://fonts.googleapis.com/css?family=Patrick+Hand&display=swap');
.button-container {
text-align: center;
}
.cartoon-button {
font-family: 'Patrick Hand', cursive;
border: 2px solid #000;
padding: 15px 30px;
background-color: #fff;
text-decoration: none;
display: inline-block;
margin: 10px;
border-radius: 5px;
cursor: pointer;
text-align: center;
font-size: 24px;
}
.cartoon-button:hover {
background-color: #f2f2f2;
}
</style>
<style>
video {
position: fixed;
top: 0;
left: 0;
min-width: 100%;
min-height: 100%;
z-index: -1;
}
.content {
position: relative;
z-index: 1;
text-align: center;
padding: 50px;
}
h1 {
color: #fff;
font-size: 36px;
}
p {
color: #fff;
font-size: 18px;
}
</style>
<style>
.styled-text {
font-size: 6rem;
font-family: 'Arial', sans-serif;
color: #fff;
text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
}
@keyframes gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
</style>
</head>
</head>
<body>
<video autoplay loop muted>
<source src="background.mp4" type="video/mp4">
</video>
<header>
<nav>
<a href="HOME.html">HOME</a>
<a href="data.html">PERSONAL DATA</a>
<a href="about.html">ABOUT US</a>
<a href="ability.html">ABILITY DIMENSION</a>
<a href="explore.html">EXPLORE</a>
</nav>
</header>
<main>
<div class="button-container">
<a href="healthRecord.html" class="cartoon-button">Health Record</a>
<a href="healthTracking.html" class="cartoon-button">Health Tracking</a>
<a href="healthAdvisor.html" class="cartoon-button">Health Advisor</a>
</div>
</main>
<div class="gradient-background">
<h1 class="styled-text">Nutrition Factory</h1>
</div>
<script src="script.js"></script>
</body>
</html>