forked from ghostmkg/programming-language
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSimpleWebpage.html
248 lines (221 loc) · 6.26 KB
/
SimpleWebpage.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
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cyber Robotics Hub</title>
<style>
/* Reset some default styling */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Arial, sans-serif;
}
/* Background and overall layout */
body {
background: linear-gradient(135deg, #ff0080, #000000, #00d4ff);
color: #e0e0e0;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
padding: 20px;
overflow-x: hidden;
}
/* Glitch effect */
.glitch {
position: relative;
color: #fff;
font-size: 2.8em;
animation: glitch-animation 2s infinite;
display: inline-block;
}
.glitch::before,
.glitch::after {
content: attr(data-text);
position: absolute;
top: 0;
left: 0;
color: #ff0080;
overflow: hidden;
clip: rect(0, 900px, 0, 0);
animation: glitch-effect 2s infinite;
}
.glitch::after {
color: #00d4ff;
animation-delay: -0.5s;
}
/* Glitch animation */
@keyframes glitch-effect {
0% {
clip: rect(42px, 9999px, 44px, 0);
transform: translate(-3px, -3px);
}
20% {
clip: rect(22px, 9999px, 28px, 0);
transform: translate(3px, 3px);
}
40% {
clip: rect(12px, 9999px, 24px, 0);
transform: translate(-3px, -1px);
}
60% {
clip: rect(42px, 9999px, 48px, 0);
transform: translate(3px, 1px);
}
80% {
clip: rect(12px, 9999px, 20px, 0);
transform: translate(-3px, -3px);
}
100% {
clip: rect(22px, 9999px, 28px, 0);
transform: translate(3px, 3px);
}
}
@keyframes glitch-animation {
0%, 100% {
text-shadow: 1px 1px 2px rgba(255, 0, 128, 0.8), -1px -1px 2px rgba(0, 212, 255, 0.8);
}
50% {
text-shadow: -1px -1px 2px rgba(255, 0, 128, 0.8), 1px 1px 2px rgba(0, 212, 255, 0.8);
}
}
/* Header styling */
header {
padding: 20px;
margin-bottom: 40px;
}
h1 {
font-size: 2.8em;
margin-bottom: 10px;
}
/* Navbar styling */
nav {
margin: 20px 0;
}
nav a {
text-decoration: none;
color: #e0e0e0;
font-size: 1.1em;
margin: 0 15px;
transition: color 0.3s;
}
nav a:hover {
color: #ff0080;
}
/* Main content */
.content {
max-width: 800px;
padding: 30px;
border-radius: 10px;
background: rgba(25, 35, 55, 0.85);
box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
margin-bottom: 20px;
}
h2 {
font-size: 2.2em;
margin-bottom: 20px;
color: #e0e0e0;
}
p {
font-size: 1.15em;
line-height: 1.6;
color: #c5e0f7;
}
/* Button styling */
.cyber-button {
display: inline-block;
margin-top: 20px;
padding: 12px 24px;
color: #0f0f0f;
background: #ff0080;
border: none;
cursor: pointer;
font-size: 1.2em;
font-weight: bold;
border-radius: 5px;
transition: background 0.3s, transform 0.2s;
}
.cyber-button:hover {
background: #00d4ff;
transform: scale(1.05);
}
/* Robotics Section */
.robotics-section {
color: #c5e0f7;
background: rgba(25, 35, 55, 0.9);
padding: 20px;
margin-top: 20px;
border-radius: 10px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}
.robotics-section h3 {
color: #ff0080;
}
.robotics-section ul {
list-style-type: none;
margin-top: 10px;
}
.robotics-section ul li {
margin: 10px 0;
font-size: 1.05em;
}
/* Gallery Section */
.gallery {
display: flex;
flex-wrap: wrap;
gap: 20px;
margin-top: 30px;
justify-content: center;
}
.gallery img {
width: 250px;
height: 170px;
border-radius: 8px;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
transition: transform 0.3s, box-shadow 0.3s;
}
.gallery img:hover {
transform: scale(1.05);
box-shadow: 0 0 25px rgba(255, 0, 128, 0.8);
}
/* Footer */
footer {
margin-top: 40px;
font-size: 0.9em;
color: #888;
text-shadow: 0 0 5px #ff0080;
}
</style>
</head>
<body>
<!-- Header -->
<header>
<h1 class="glitch" data-text="Cyber Robotics Hub">Cyber Robotics Hub</h1>
<nav>
<a href="#home">Home</a>
<a href="#about">About</a>
<a href="#robotics">Robotics</a>
<a href="#gallery">Gallery</a>
<a href="#contact">Contact</a>
</nav>
</header>
<!-- Main content area -->
<div class="content" id="home">
<h2>Welcome to Cyber Robotics Hub</h2>
<img src="https://images.pexels.com/photos/29054365/pexels-photo-29054365/free-photo-of-futuristic-ai-robot-with-metal-arm-in-black-and-white.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750" alt="Futuristic AI Robot">
<p>Explore the intersection of technology and robotics with a futuristic, glitch-inspired twist. Our platform dives into the latest trends, innovations, and applications in the robotics world, presented in an immersive cyberpunk theme.</p>
<button class="cyber-button">Explore Now</button>
</div>
<!-- Robotics Section -->
<div class="robotics-section" id="robotics">
<h3>Robotics Innovations</h3>
<img src="https://images.pexels.com/photos/6153739/pexels-photo-6153739.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750" alt="Advanced Robotics">
<p>Dive into the exciting developments in robotics that are shaping the future. From AI-driven automation to collaborative robots, discover what's making waves in this field:</p>
<ul>
<li><strong>AI-Powered Robotics:</strong> Machines that can learn and adapt, improving their tasks over time.</li>
<li><strong>Collaborative Robots:</strong> Robots designed to work alongside humans safely and efficiently.</li>
<li><strong>Biomimetic Robots:</strong> Robotics inspired by animal and human biology, mimicking real-life movement.</li>
<li><strong>Swarm Robotics:</strong> Systems of robots working together like an organized team to accomplish complex tasks.</li>
</ul