-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
76 lines (65 loc) · 1.4 KB
/
index.css
File metadata and controls
76 lines (65 loc) · 1.4 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
@import "tailwindcss";
@layer base {
body {
@apply bg-[#fcfaf8] text-[#37352f] antialiased;
font-family: 'Inter', system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}
}
::selection {
background: rgba(55, 53, 47, 0.1);
color: #37352f;
}
/* Motion only (no opacity) — opacity animations delay LCP for text inside the block. */
@keyframes fadeInUp {
from {
transform: translateY(10px);
}
to {
transform: translateY(0);
}
}
.animate-fade-in-up {
animation: fadeInUp 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.text-balance {
text-wrap: balance;
}
@keyframes marqueeLeft {
from {
transform: translateX(0);
}
to {
transform: translateX(-50%);
}
}
@keyframes marqueeRight {
from {
transform: translateX(-50%);
}
to {
transform: translateX(0);
}
}
.cover-marquee {
overflow: hidden;
width: 100%;
mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
-webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.cover-marquee-track {
display: flex;
gap: 1rem;
width: max-content;
animation: marqueeLeft 80s linear infinite;
}
.cover-marquee-track-reverse {
animation: marqueeRight 85s linear infinite;
}
.cover-marquee-card {
width: 170px;
height: 230px;
overflow: hidden;
border: 1px solid rgba(55, 53, 47, 0.1);
background: #f3f1ee;
flex: 0 0 auto;
}