-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
105 lines (92 loc) · 1.65 KB
/
style.css
File metadata and controls
105 lines (92 loc) · 1.65 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Pacifico', cursive;
}
body {
background-color: #ffe6f0;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
padding: 1rem;
text-align: center;
gap: 1rem;
}
h1 {
color: #ff3399;
font-size: 2rem;
min-height: 2em;
}
img {
width: 60vw;
max-width: 250px;
height: auto;
border-radius: 20px;
transition: 0.3s;
}
.button-group {
display: flex;
justify-content: center;
gap: 1rem;
flex-wrap: wrap;
}
.btn {
font-size: 1rem;
padding: 0.7rem 1.5rem;
border: none;
border-radius: 10px;
cursor: pointer;
transition: 0.3s;
}
.btn-yes {
background-color: #66ff99;
color: #006600;
}
.btn-no {
background-color: #ff6666;
color: #800000;
}
.btn:hover {
transform: scale(1.1);
}
.emoji-effect {
position: fixed;
animation: popFade 1s ease-out forwards;
pointer-events: none;
user-select: none;
z-index: 9999;
}
@keyframes popFade {
0% {
opacity: 1;
transform: scale(1) translateY(0);
}
50% {
transform: scale(1.5) translateY(-30px);
opacity: 0.7;
}
100% {
transform: scale(0.5) translateY(-60px);
opacity: 0;
}
}
@media (max-width: 600px) {
h1 {
font-size: 1.5rem;
}
.btn {
font-size: 0.9rem;
padding: 0.6rem 1.2rem;
}
}
@keyframes shakeHard {
0%, 100% { transform: translateX(0); }
10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
20%, 40%, 60%, 80% { transform: translateX(5px); }
}
.shake {
animation: shakeHard 0.6s ease;
}