-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
45 lines (39 loc) · 1.45 KB
/
main.css
File metadata and controls
45 lines (39 loc) · 1.45 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
:root {
--glass-bg: rgba(255, 255, 255, 0.05);
--glass-border: rgba(255, 255, 255, 0.15);
}
body {
background: #05070a;
background-image: radial-gradient(circle at center, #0f172a 0%, #05070a 100%);
min-height: 100vh;
color: white;
}
/* Restoring the Frosted Glass Structure */
.glass-card {
background: var(--glass-bg);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid var(--glass-border);
border-radius: 24px;
transition: all 0.3s ease;
}
.glass-card:hover {
background: rgba(255, 255, 255, 0.08);
border-color: rgba(96, 165, 250, 0.4);
transform: translateY(-5px);
}
/* Background Stars */
#stars, #stars2 {
position: fixed;
top: 0; left: 0; width: 100%; height: 100%;
z-index: 0;
pointer-events: none;
}
#stars { background: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/123163/stars.png') repeat; animation: pan 200s linear infinite; }
#stars2 { background: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/123163/twinkling.png') repeat; animation: pan 100s linear infinite; }
@keyframes pan { from { background-position: 0 0; } to { background-position: 10000px 5000px; } }
.pulse-green {
box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
animation: pulse 2s infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }