-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
154 lines (137 loc) ยท 2.65 KB
/
styles.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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200&display=swap');
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
user-select: none;
font-family: 'Poppins', sans-serif;
}
.places-container-scroll {
max-height: 300px; /* Adjust the maximum height as needed */
overflow-y: auto;
}
#popup {
width: 20vw;
height: 23vh;
text-align: center;
display: none;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: white;
padding: 20px;
border: 1px solid #ccc;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
z-index: 9999;
}
#popup p{
font-size: 14px;
color: green;
}
.game-container {
display: flex;
justify-content: space-between;
width: 800px;
}
.places-container {
top: 0;
display: flex;
flex-direction: column;
left: 0;
position: absolute;
padding-left: 10px;
background-color: #FCE09B;
height: 100vh;
width: 23vh;
}
.place {
width: 10vw;
height: 40px;
background-color: #B2533E;
margin: 10px 0;
text-align: center;
line-height: 40px;
color: white;
cursor: pointer;
border-radius: 10px;
padding: 3px;
border: #e0c275 solid 4px;
}
.map-container {
padding-left: 20%;
}
/* Style the drop areas on the map */
.drop-area {
fill: transparent;
stroke: #e74c3c;
stroke-width: 2;
cursor: pointer;
}
#score{
position: absolute;
top: 0;
right: 0;
background-color: #186F65;
padding: 15px;
color: white;
font-size: 30px;
border-radius: 10px;
margin-top: 10px;
margin-right: 10px;
}
#timer{
position: absolute;
top: 0;
right: 0;
background-color: #445D48;
padding: 15px;
color: white;
font-size: 30px;
border-radius: 10px;
margin-top: 10px;
margin-right: 12%;
}
/* CSS for the custom popup */
#custom-popup {
display: none;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: white;
padding: 20px;
border: 1px solid #ccc;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
z-index: 9999;
}
#custom-popup h2 {
margin-top: 0;
}
#custom-popup button {
display: block;
margin-top: 10px;
}
#ybtn,#nbtn{
background-color: #3085C3;
padding: 10px;
border-radius: 10px;
width: 40%;
border: none;
}
#good{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
display: none;
}
#bad{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
display: none;
}