-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
103 lines (87 loc) · 1.63 KB
/
style.css
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
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #222; /* Dark theme background */
color: #fff; /* Light text color */
}
.container {
max-width: 800px;
margin: 0 auto;
text-align: center;
padding: 30px;
}
.header {
padding-bottom: 20px;
}
h1 {
font-size: 2.5em;
margin-bottom: 10px;
}
#countdown {
font-size: 1.8em;
font-weight: bold;
}
.content {
display: flex;
flex-direction: column;
align-items: center;
}
.love-animation-container {
position: relative;
margin-bottom: 20px;
}
.love {
font-size: 3em;
color: #e74c3c; /* Red color for "Love" */
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-shadow: 0 0 5px rgba(255, 0, 0, 0.5); /* Text shadow effect */
}
.hearts {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100px;
height: 100px;
overflow: hidden;
}
.heart {
width: 50%;
height: 100%;
position: absolute;
border-radius: 50%;
background-color: #e74c3c; /* Red color for hearts */
animation: heartbeat 1.5s infinite alternate ease-in-out;
}
.heart-1 {
left: 0;
animation-delay: 0.2s;
}
.heart-2 {
right: 0;
animation-delay: 0.4s;
}
@keyframes heartbeat {
0% {
transform: scale(1);
}
50% {
transform: scale(1.1);
}
100% {
transform: scale(1);
}
}
/* Media queries for mobile responsiveness */
@media only screen and (max-width: 768px) {
.container {
padding: 20px;
}
h1 {
font-size: 2em;
}
}