-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
39 lines (35 loc) · 792 Bytes
/
style.css
File metadata and controls
39 lines (35 loc) · 792 Bytes
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
body {
margin: 0;
height: 100vh;
background: #000;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
}
#ui {
position: relative;
width: 60vmin; /* responsive width */
height: 55vmin; /* responsive height */
animation: beat 1.5s ease-in-out infinite;
}
.love_word {
position: absolute;
color: #ea80b0;
font-size: 1.2rem;
text-shadow: 0 0 10px #fff;
letter-spacing: 2px;
white-space: nowrap;
transform: translate(-50%, -50%);
}
@keyframes beat {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.1); }
}
/* Make text smaller on small screens */
@media (max-width: 600px) {
.love_word {
font-size: 0.9rem;
letter-spacing: 1px;
}
}