-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
305 lines (267 loc) · 6.51 KB
/
styles.css
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
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
/* General Body Styling */
body {
margin: 0;
font-family: 'Roboto', sans-serif;
background: url('background.jpg') no-repeat center center fixed;
background-size: cover;
color: #fff;
display: flex;
flex-direction: column;
min-height: 100vh;
position: relative;
}
/* Header Styling */
header {
position: relative;
width: 95%;
max-width: 1200px; /* Restricting max width */
margin: 10px auto;
padding: 10px 0;
background: rgba(255, 255, 255, 0.1); /* Transparent background */
backdrop-filter: blur(10px); /* Glass effect */
border-radius: 15px;
box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
z-index: 1;
}
/* Navigation Styling */
nav ul {
display: flex;
justify-content: center;
list-style: none;
padding: 0;
margin: 0;
}
nav ul li {
margin: 0 10px; /* Reduced margin for better fit on smaller screens */
}
nav ul li a {
text-decoration: none;
color: white;
font-size: 1.1rem;
font-weight: 500;
padding: 8px 16px;
border-radius: 10px;
transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
position: relative;
}
nav ul li a:hover {
background: rgba(0, 255, 0, 0.3);
box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
}
nav ul li a:active {
background: rgba(0, 255, 0, 0.5);
transform: scale(0.98);
}
/* Middle Section Styling */
.middle-section {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 5vh; /* Responsive vertical spacing */
}
.typing-text {
font-size: 2.5rem;
font-weight: bold;
text-align: center;
overflow: hidden;
white-space: nowrap;
border-right: 3px solid;
width: 0;
animation: typing 4s steps(22) 1s forwards, blink-caret 0.75s step-end infinite;
}
@keyframes typing {
from { width: 0; }
to { width: 16em; }
}
@keyframes blink-caret {
from, to { border-color: transparent; }
50% { border-color: white; }
}
/* Option Bars Styling */
.option-bars {
display: flex;
justify-content: space-between;
width: 90%;
max-width: 1200px;
padding: 0 20px;
margin: 20px auto;
position: relative;
z-index: 2;
}
.option-bar {
width: 48%; /* Adjusted width for better responsiveness */
backdrop-filter: blur(10px);
border-radius: 20px;
background: rgba(255, 255, 255, 0.2);
}
.option-bar select {
width: 100%;
padding: 12px;
font-size: 1.2rem;
font-weight: bold;
border: none;
border-radius: 20px;
background: rgba(255, 255, 255, 0.3);
color: rgba(0, 0, 0, 0.9);
cursor: pointer;
}
.option-bar select option {
background: rgba(255, 255, 255, 0.9);
color: black;
}
/* Search Bar Styling */
.search-bar {
display: flex;
justify-content: center;
width: 90%;
max-width: 1200px;
padding: 10px;
backdrop-filter: blur(10px);
border-radius: 20px;
background: rgba(255, 255, 255, 0.2);
margin: 20px auto 0 auto;
z-index: 1;
transition: transform 0.3s ease, margin-top 0.3s ease; /* Smooth movement */
position: relative;
}
.search-bar.move-down {
margin-top: 60px; /* Move search bar down */
}
.search-bar input[type="text"] {
width: 70%;
padding: 15px;
font-size: 1.1rem;
border: none;
border-radius: 20px;
margin-right: 20px;
background: rgba(255, 255, 255, 0.2);
color: white;
}
.search-bar button {
padding: 15px 30px;
font-size: 1.1rem;
border: none;
border-radius: 20px;
background: rgba(0, 255, 0, 0.3);
color: white;
cursor: pointer;
transition: background 0.3s;
}
.search-bar button:hover {
background: rgba(0, 255, 0, 0.5);
}
/* Terminal Box Styling */
.terminal-box {
width: 90%;
max-width: 800px;
height: 300px;
padding: 20px;
margin: 20px auto;
background: rgba(0, 0, 0, 0.4); /* Semi-transparent background */
border-radius: 20px;
backdrop-filter: blur(10px); /* Glass effect */
box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
overflow-y: auto;
color: #00ff00; /* Terminal green text */
font-family: 'Courier New', Courier, monospace;
white-space: pre-wrap; /* Preserve whitespace for better formatting */
line-height: 1.5; /* Line spacing for readability */
}
/* Terminal Line Styling */
.terminal-line {
color: #00ff00; /* Green color */
font-family: monospace;
white-space: pre-wrap;
}
.terminal-line a {
color: #00ff00; /* Green color */
text-decoration: none;
}
.terminal-line a:hover {
text-decoration: underline;
}
/* Live Update Styling */
.option-bars select:disabled {
color: rgba(255, 255, 255, 0.5); /* Disabled state color */
}
/* About Section Styling */
.about-section {
width: 90%;
max-width: 1000px;
margin: 40px auto;
padding: 20px;
background: rgba(255, 255, 255, 0.1); /* Transparent background */
backdrop-filter: blur(10px); /* Glass effect */
border-radius: 15px;
box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
color: white;
}
.about-content h1 {
text-align: center;
font-size: 2.5rem;
font-weight: bold;
margin-bottom: 20px;
}
.about-content p {
font-size: 1.1rem;
line-height: 1.8;
text-align: justify;
margin-bottom: 15px;
color: #fff; /* White text color */
}
.about-content p:last-of-type {
margin-bottom: 0;
}
/* Responsive for Smaller Devices */
@media (max-width: 768px) {
nav ul {
flex-direction: column;
align-items: center;
}
nav ul li {
margin: 5px 0;
}
.option-bars {
flex-direction: column;
}
.option-bar {
width: 100%; /* Full width on small screens */
margin-bottom: 10px;
}
.search-bar input[type="text"] {
width: 100%;
margin-bottom: 10px; /* Stack elements */
}
.search-bar button {
width: 100%; /* Full width button */
}
.about-content h1 {
font-size: 2rem;
}
.about-content p {
font-size: 1rem;
}
}
/* Main Content Styling */
main {
margin-top: 70px; /* Space for fixed header */
padding: 20px;
max-width: 1000px;
margin: 40px auto;
width: 90%; /* Added width */
background: rgba(255, 255, 255, 0.1); /* Transparent background */
backdrop-filter: blur(10px); /* Glass effect */
border-radius: 15px;
box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
color: white; /* Added text color */
line-height: 1.8;
}
/* Footer Styling */
footer {
text-align: center;
padding: 10px 0;
font-size: 0.9rem;
color: #fff;
margin-top: auto;
background: rgba(255, 255, 255, 0.1);
}