-
Notifications
You must be signed in to change notification settings - Fork 681
Expand file tree
/
Copy pathstyle.css
More file actions
115 lines (99 loc) · 1.87 KB
/
style.css
File metadata and controls
115 lines (99 loc) · 1.87 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
body {
font-family: 'Comic Sans MS', cursive;
background-color: #eaf6ff;
text-align: center;
padding: 20px;
}
#game-ui {
display: flex;
justify-content: center;
align-items: center;
gap: 20px;
margin-top: 20px;
}
#timer {
font-size: 18px;
font-weight: bold;
color: #333;
}
#resetBtn {
background-color: #ff6961;
color: white;
padding: 8px 16px;
font-size: 16px;
border: none;
border-radius: 8px;
cursor: pointer;
}
#resetBtn:hover {
background-color: #e60000;
}
#grid {
display: grid;
grid-template-columns: repeat(15, 60px);
gap: 5px;
justify-content: center;
margin: 20px auto;
}
.tile {
width: 60px;
height: 60px;
border: 2px solid #ccc;
display: flex;
justify-content: center;
align-items: center;
background-color: #fffdf0;
font-size: 36px;
}
.wall {
background-color: #cce0ff;
border-radius: 10px;
box-shadow: inset 0 0 10px #7bb0f7;
}
.dragon {
font-size: 36px;
animation: flap 0.5s infinite alternate;
}
@keyframes flap {
0% { transform: translateY(0); }
100% { transform: translateY(-5px); }
}
.goal {
background-color: gold;
border-radius: 50%;
box-shadow: 0 0 12px 3px #ffdf00;
}
#popup {
position: fixed;
top: 0; left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.6);
display: flex;
justify-content: center;
align-items: center;
z-index: 999;
}
.popup-content {
background: white;
padding: 30px;
border-radius: 12px;
font-size: 20px;
box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.hidden {
display: none !important;
}
#popup-close {
margin-top: 15px;
padding: 10px 20px;
font-size: 16px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 8px;
cursor: pointer;
}
#popup-close:hover {
background-color: #388e3c;
}