-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
233 lines (211 loc) · 4.67 KB
/
Copy pathstyle.css
File metadata and controls
233 lines (211 loc) · 4.67 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
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
/* Body styles */
body {
font-family: 'Roboto', sans-serif;
line-height: 1.6;
margin: 0;
padding: 0;
background: radial-gradient(circle at 50%, #1e1f29, #2a2e38);
color: #e0e0e0;
display: flex;
flex-direction: column;
min-height: 100vh;
overflow-x: hidden; /* Hide horizontal overflow */
position: relative;
}
/* Animated background */
body::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: radial-gradient(circle at 50%, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8));
z-index: -1;
animation: backgroundAnimation 20s infinite alternate;
}
/* Header styles */
header {
text-align: center;
padding: 40px;
background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
border-bottom: 4px solid #00BFFF;
border-radius: 0 0 30px 30px;
margin-bottom: 20px;
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6);
position: relative;
overflow: hidden;
}
header::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: radial-gradient(circle, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3));
opacity: 0.5;
animation: pulse 3s infinite;
}
h1 {
font-size: 4rem;
color: #00BFFF;
margin: 0;
text-shadow: 0 6px 15px rgba(0, 191, 255, 0.8);
animation: glow 1.5s ease-in-out infinite alternate;
}
/* Paragraph styles */
p {
font-size: 1.3rem;
color: #ddd;
margin: 10px 0;
font-style: italic;
line-height: 1.8;
}
/* Main content styles */
main {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
background: rgba(0, 0, 0, 0.3);
border-radius: 15px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
overflow-y: auto; /* Allow vertical scrolling */
max-height: calc(100vh - 120px); /* Adjust for header and margin */
position: relative;
}
/* List styles */
ul {
list-style: none;
padding: 0;
max-width: 1000px;
margin: 0;
display: flex;
flex-wrap: wrap;
gap: 20px;
}
/* List item styles */
li {
background: rgba(255, 255, 255, 0.1); /* Near transparent background */
padding: 20px;
text-align: center;
border-radius: 20px;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
backdrop-filter: blur(20px); /* Strong glass effect */
flex: 1 1 calc(25% - 30px); /* Four columns layout */
min-width: 250px; /* Adjust for better responsiveness */
overflow: hidden;
position: relative;
cursor: pointer;
}
li::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(45deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2));
opacity: 0.2;
transition: opacity 0.4s ease;
}
li:hover::before {
opacity: 0.3;
}
li:hover {
transform: scale(1.05);
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
background: rgba(255, 255, 255, 0.2); /* Enhanced glass effect on hover */
animation: liPulse 1s infinite;
}
/* Link styles */
a {
text-decoration: none;
color: #00BFFF;
font-weight: 500;
transition: color 0.3s ease, transform 0.3s ease;
display: inline-block;
position: relative;
font-size: 1.1rem;
padding: 5px 0;
}
a::after {
content: '';
display: block;
width: 0;
height: 3px;
background: #00BFFF;
position: absolute;
bottom: -5px;
left: 0;
transition: width 0.3s ease;
}
a:hover::after {
width: 100%;
}
a:hover {
color: #1E90FF;
transform: translateY(-3px);
}
/* Add this to your CSS file */
#particles-js {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1; /* Ensure particles are behind other content */
}
/* Animations */
@keyframes glow {
from {
text-shadow: 0 0 8px rgba(0, 191, 255, 0.9);
}
to {
text-shadow: 0 0 20px rgba(0, 191, 255, 1);
}
}
@keyframes pulse {
0% {
opacity: 0.5;
}
50% {
opacity: 0.7;
}
100% {
opacity: 0.5;
}
}
@keyframes backgroundAnimation {
0% {
background-position: 0% 0%;
}
100% {
background-position: 100% 100%;
}
}
@keyframes liPulse {
0% {
transform: scale(1);
}
50% {
transform: scale(1.05);
}
100% {
transform: scale(1);
}
}
/* Responsive adjustments */
@media (max-width: 768px) {
li {
flex: 1 1 calc(50% - 20px); /* Two columns on smaller screens */
}
}
@media (max-width: 480px) {
li {
flex: 1 1 100%; /* Single column on very small screens */
}
}