-
Notifications
You must be signed in to change notification settings - Fork 200
Expand file tree
/
Copy pathFooter.module.css
More file actions
70 lines (62 loc) · 1.26 KB
/
Footer.module.css
File metadata and controls
70 lines (62 loc) · 1.26 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
.footer {
background-color: #333;
color: white;
text-align: center;
padding: 20px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.footer-message {
margin: 0;
}
.footer-message-link {
color: #fff
}
.codeIcon {
display: inline-flex;
align-items: center;
justify-content: center;
color: #feea3a; /* code icon color */
font-size: 18px;
font-weight: 600;
font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
letter-spacing: 0.5px;
padding: 2px 6px;
border-radius: 4px;
cursor: pointer;
outline: none;
}
.codeIcon:focus {
box-shadow: 0 0 0 3px rgba(254, 234, 58, 0.25);
border-radius: 4px;
}
.emoji {
display: inline-block;
font-size: 24px;
}
/* Heartbeat animation */
@keyframes heartbeat {
0% {
transform: scale(1); /* Initial size */
}
25% {
transform: scale(1.3); /* Slightly larger */
}
50% {
transform: scale(1); /* Back to normal size */
}
75% {
transform: scale(1.3); /* Slightly larger */
}
100% {
transform: scale(1); /* Back to normal size */
}
}
.emoji:hover {
animation: heartbeat 1.5s infinite; /* Apply the heartbeat animation on hover */
}
.codeIcon:hover {
transform: translateY(-2px);
}