-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathstyles.css
More file actions
48 lines (42 loc) · 1.06 KB
/
styles.css
File metadata and controls
48 lines (42 loc) · 1.06 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
/* =========================
Text Selection Highlight
========================= */
::selection {
background: rgba(239, 18, 55, 0.25); /* brand red at 25% */
}
::-moz-selection {
background: rgba(239, 18, 55, 0.25);
}
/* =========================
Animated Gradient
- Apply .animated-gradient to hero sections, cards, etc.
========================= */
@keyframes gradient-shift {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
.animated-gradient {
background: linear-gradient( -45deg, #ef1237, /* brand red */
#9333ea, /* purple */
#3b82f6, /* blue */
#f43f5e /* pink/red */
);
background-size: 400% 400%;
animation: gradient-shift 15s ease infinite;
}
/* =========================
Respect Reduced Motion
========================= */
@media (prefers-reduced-motion: reduce) {
.animated-gradient {
animation: none !important;
background-position: 50% 50%; /* freeze at center */
}
}