-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
80 lines (70 loc) · 1.23 KB
/
style.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
body {
margin: 0;
display: flex;
flex-direction: column;
align-items: center;
background-color: #333;
}
#menu {
text-align: center;
color: white;
}
#score {
color: white;
font-size: 20px;
margin-bottom: 10px;
}
#gameCanvas {
background-color: black;
}
.overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8);
display: flex;
justify-content: center;
align-items: center;
display: none;
}
.overlay-content {
text-align: center;
color: white;
}
button {
padding: 10px 20px;
font-size: 16px;
margin-top: 20px;
cursor: pointer;
}
/* Стиль для модального окна */
.modal {
display: none; /* Скрыто по умолчанию */
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5); /* Полупрозрачный фон */
}
.modal-content {
background-color: white;
margin: 15% auto;
padding: 20px;
border: 1px solid #888;
width: 80%;
max-width: 600px;
}
#leaderboardTable {
width: 100%;
border-collapse: collapse;
}
#leaderboardTable th,
#leaderboardTable td {
border: 1px solid black;
padding: 8px;
text-align: center;
}