forked from RohanChacko/Subway-Surfers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
109 lines (99 loc) · 1.52 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
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
#glcanvas {
padding: 0;
margin: auto;
display: flex;
width: 1024px;
height: 800px;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
.score {
padding: 0;
margin: auto;
position: absolute;
top: 0;
bottom: 75%;
left: 0;
right: 1%;
display: none;
z-index: 1;
width: 12%;
height: 31%;
}
.score_box {
width: 115px;
height: 35px;
background: white;
text-align: center;
opacity: 0.6;
filter: alpha(opacity=60);
}
.score_content {
position: relative;
margin: auto;
}
.modal {
display: none;
position: absolute;
z-index: 1;
margin: auto;
padding: 0;
top: 0;
bottom: 0;
left: 0;
right: 0;
overflow: auto;
background-color: rgb(0, 0, 0);
background-color: rgba(0, 0, 0, 0.4);
}
.modal-content {
position: relative;
margin: auto;
padding: 0;
width: 19%;
height: 25%;
background-color: white;
opacity: 0.6;
-webkit-animation-name: animatetop;
-webkit-animation-duration: 0.8s;
animation-name: animatetop;
animation-duration: 0.8s
}
.modal-header {
padding: 0px 16px;
text-align: center;
}
.modal-header p {
font-weight: bold;
color: black;
font-size: 32px;
}
.modal-footer {
border-top: 25px solid transparent;
border-left: 50px solid black;
border-bottom: 25px solid transparent;
margin-left: 42%;
}
@keyframes animatetop {
from {
top: -500px;
opacity: 0
}
to {
top: 0;
opacity: 0.6
}
}
@-webkit-keyframes animatetop {
from {
top: -500px;
opacity: 0
}
to {
top: 0;
opacity: 1
}
}