-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle2.css
More file actions
135 lines (124 loc) · 2.42 KB
/
style2.css
File metadata and controls
135 lines (124 loc) · 2.42 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
body
{
background-color: rgba(240, 63, 93, 0.508);
padding: 0;
margin: 0;
height: 100vh;
}
.header
{
margin-top: 10%;
margin-left: 30%;
color: #fff8dc;
font-weight: 800;
font-size: 60px;
}
.time
{
margin-top: 5%;
margin-left: 28%;
display: flex;
gap: 2%;
font-size: 30px;
color: #f5f2f2;
}
#clock
{
font-size: 35px;
margin-top: 2.5%;
animation-delay: 3s;
color: #c4042a;
}
.heart {
font-size: 6rem;
animation: pump 1s infinite ease-in-out;
transform-origin: center;
display: inline-block;
margin-left: 45%;
margin-top: 3%;
z-index: 10;
}
@keyframes pump {
0%, 100% {
transform: scale(1);
}
50% {
transform: scale(1.3);
}
}
#confetti-canvas {
position: fixed;
top: 0;
left: 0;
pointer-events: none;
width: 100%;
height: 100%;
z-index: 0;
}
.memories
{
margin-left: 10%;
margin-top: 7%;
font-size: 50px;
color:#ffffff;
font-weight: 600;
}
.gallery {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
margin-top: 8%;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.gallery img {
width: 400px;
height: 300px;
object-fit: cover; /* keeps the aspect ratio and crops if needed */
}
.gallery img {
border-radius: 12px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
transition: opacity 0.4s ease;
animation: fadeIn 0.6s ease;
z-index: 10;
}
@keyframes typing {
from { width: 0; }
to { width: 60ch; } /* Adjust this to match character count */
}
@keyframes blink {
50% { border-color: transparent; }
}
.cake {
position: relative;
top: 10%; /* move up */
margin-left: 40%;
padding-bottom: 3%;
z-index: 10;
}
button
{
display: flex;
justify-content: center;
align-items: center; /* this line centers text vertically */
width: 20vw;
height: 10vh;
font-size: 2rem;
border: 1px solid #999;
color: #fdf6e3;
font-weight: bold;
border-radius: 50px;
background: linear-gradient(135deg, #ff7eb9, #ff758c);
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: transform 0.2s ease;
cursor: pointer;font-size: 30px;
border-radius: 50px;
}
button:hover {
transform: scale(1.05);
box-shadow: 0 0 5px #ff69b4, 0 0 30px #ff69b4;
}