-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
150 lines (129 loc) · 3.68 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
<!DOCTYPE html>
<html>
<head>
<title>Time Travel</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<style>
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&display=swap');
html {
scroll-behavior: smooth;
font-family: 'Cinzel', serif;
}
body {
margin: 0;
background-color: black;
background-attachment: fixed;
overflow: auto;
animation: fadeIn 2s ease-in-out;
}
/* Add keyframes for fadeIn animation */
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
element {
-ms-overflow-style: none; /* for Internet Explorer, Edge */
scrollbar-width: none; /* for Firefox */
overflow-y: scroll;
}
element::-webkit-scrollbar {
display: none; /* for Chrome, Safari, and Opera */
}
/*Remove the below line to show scrollbar on page*/
::-webkit-scrollbar {
width: 1px;
}
#container
{
position:relative;
width:900px;
padding:0px;
margin:0px auto;
height:703px;
z-index:10;
}
/*Virtual exhibitions and events & Virtual visit*/
.card {
max-width: 230px;
text-align: center;
font-family: sans-serif;
display: inline-block;
padding: 15px;
background-color: rgba(255, 255, 255, 0.8);
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
transition: transform 0.3s ease-in-out;
}
.card:hover {
transform: translateY(-5px);
}
.price {
color: darkblue;
font-size: 22px;
}
h1 {
color: red; /* Ancient gold color */
font-size: 32px;
text-transform: uppercase;
}
hr {
border: 1px solid #ffd700; /* Ancient gold color */
width: 50%;
margin: 10px auto;
}
/* Image hover effect */
.i:hover {
opacity: 0.9;
transform: scale(1.05);
transition: transform 0.3s ease-in-out;
}
</style>
</head>
<body>
<div style="background-color: rgba(0, 0, 0, 0.7);">
<br>
<p style="color: #ffd700; text-align: center; border-radius: 4px; font-size: 200%;">Discover one Million years of Animal History</p>
<hr style="height: 2px; width: 75%; border-width: 0; color: gray; background-color: gray">
<br><br>
<h1>Extinct animals</h1>
<br><br>
<br><br>
<a href="category/jurassic.html" style="color: black; text-decoration: none;">
<div class="card" style="margin-left: 5%;">
<img src="images/Dino/dracorex.jpg" class="i" height="254" width="240">
<h1>JURASSIC-AGE</h1>
<hr>
<p class="price">65-155 M years ago</p>
</div>
</a>
<a href="category/flying.html" style="color: black;">
<div class="card" style="margin-left: 5%;">
<img src="images/Birds/flyingsquirell.jpg" class="i" height="274" width="240">
<h1>FLYING-ANIMALS</h1>
<hr>
<p class="price">300-10,000 years Ago</p>
</div>
</a>
<a href="category/marine animals.html" style="color: black;"><div class="card" style="margin-left: 5%;">
<img src="images/Marine/Dunkleosteus.jpg" class="i" height="274" width="240">
<h1>MARINE-ANIMALS</h1>
<hr>
<p class="price">358-382 M years</p></div></a>
<a href="category/animals.html" style="color: black;"><div class="card" style="margin-left: 5%;">
<img src="images/Animals/mammoth.jpg" class="i" height="274" width="240">
<h1>LAND-ANIMALS</h1>
<hr>
<p class="price">Extincted & About to Extinct</p></div></a>
<br><br><br><br>
</div>
<br><br><br>
</div>
</body>
</html>