-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
217 lines (194 loc) · 4.91 KB
/
index.html
File metadata and controls
217 lines (194 loc) · 4.91 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
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
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Home page</title>
<link rel="icon" href="/home-icon.png" type="image/png" sizes="1000" />
<style>
body {
background: linear-gradient(-45deg, #ff6ec4, #7873f5, #4ade80, #facc15);
background-size: 400% 400%;
animation: gradientShift 10s ease infinite;
color: white;
margin: 0;
font-family: 'Segoe UI', sans-serif;
}
@keyframes gradientShift {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
header {
background-color: #333;
color: rgb(28, 7, 7);
padding: 40px 0;
text-align: center;
}
nav ul {
display: flex;
list-style: none;
padding: 0;
}
nav ul li {
display: inline;
margin: 0 15px;
}
nav ul li a {
color: rgb(239, 238, 238);
text-decoration: none;
}
main {
background: rgba(226, 206, 206, 0.1);
backdrop-filter: blur(10px);
border-radius: 12px;
padding: 20px;
margin: 20px auto;
width: 80%;
color: white;
}
footer {
background-color: #333;
color: rgb(204, 199, 199);
text-align: center;
padding: 10px 0;
position: fixed;
width: 100%;
bottom: 0;
}
.home{
background-color: rgb(244, 244, 241);
align-items: center;
}
.website {
text-align: center;
font-size: 46px;
color:rgb(23, 40, 136);
margin-top: 20px;
;
}
.div{
padding: 10px;
padding-left: 10%;
}
.classification-links {
display: flex;
justify-content:center;
gap: 15px;
margin-top: 10px;
}
.classification-links a {
text-decoration: none;
padding: 10px 10px;
border-radius: 20px;
font-weight: bold;
color: white;
}
.alkali {
background-color: #ff6666;
}
.alkaline {
background-color: #ffcc66;
}
.transition {
background-color: #37b9fa;
}
.halogens {
background-color: #247e24;
}
.noble {
background-color: #a76de1;
}
.icons{
padding-top:10px;
padding-bottom:30px;
}
.info-bar {
display: flex;
justify-content: center;
gap: 30px;
margin-top: 20px;
/* <!-- just to make the top to be separate out --> */
}
.info-bar a {
display: flex;
align-items: center;
gap: 8px;
text-decoration: none;
font-weight: bold;
color: #e3dada;
background-color:rgba(226, 206, 206, 0.1);;
padding: 10px 15px;
}
.info-bar a:hover {
background-color: #d0d0ff;
}
.icon {
width: 24px;
height: 24px;
}
.intro p {
margin: 30px 0;
font-size: 18px;
text-align: center;
}
.periodic-image {
width: 80%;
max-width: 1000px;
display: block;
margin: 20px auto;
border-radius: 12px;
box-shadow: 0 0 10px rgba(0,0,0,0.3);
}
.last part{margin: 30px 0;
font-size: 18px;
text-align: center
}
</style>
</head>
<body>
<h1 class="website"> Welcome...</h1>
<pre>
to the periodic table simulation
</pre>
<main>
<nav class="classification-links">
<a href="alkali.html" class="alkali">Alkali Metals</a>
<a href="alkaline.html" class="alkaline">Alkaline Earth Metals</a>
<a href="transition.html" class="transition">Transition Metals</a>
<a href="halogens.html" class="halogens">Halogens</a>
<a href="noble.html" class="noble">Noble Gases</a>
</nav>
<div class="intro">
<p>Welcome to the periodic table simulation.</p>
</div>
<div>
<img src="/PeriodicTable.png" class="periodic-image" />
</div>
<div class="intro">
<p>Explore different element groups by clicking the buttons above.</p>
<p>Each group opens a new page with detailed information. Click below on each element to find their detailed review .
</p>
<main>
<iframe id="content-frame" src="https://periodictab.com/periodic-table" width="100%" height="500px" style="border: none;"></iframe>
</main>
</div>
</header>
<nav class="info-bar">
<a href="about.txt">
<img src="info icon.jpg" alt="About Icon" height="20px" width="20px" class="icon" />
</a>
<a href="contact.txt">
<img src="https://static.vecteezy.com/system/resources/previews/007/149/389/original/phone-icon-suitable-for-design-element-of-contact-customer-service-and-telephone-call-icon-free-vector.jpg" alt="Contact" width="20" />
</a>
</nav class="last part">
<h2>About This Site</h2>
<p>This is a simple website built using only HTML and CSS. No JavaScript involved!</p>
</section>
</main>
</nav>
<footer>
<p>© 2025 My Website</p>
</footer>
</body>
</html>