-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
58 lines (52 loc) · 1.03 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
body {
margin: 0;
min-height: 100vh;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
'Open Sans', 'Helvetica Neue', sans-serif;
display: flex;
font-weight: 300;
font-size: 0.9rem;
letter-spacing: 2px;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: #252525;
color: #fff;
}
canvas {
transition: 0.8s;
}
.modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.3);
backdrop-filter: blur(5px);
display: none;
}
.modal-box {
position: relative;
text-align: center;
width: 300px;
background-color: #252525;
margin: 0 auto;
padding: 1em;
box-shadow: 0 0 5px 2px rgba(255, 86, 86, 0.8);
}
.modal.active {
display: block;
animation: animate-modal 0.3s forwards;
}
@keyframes animate-modal {
from {
padding-top: 0;
}
to {
padding-top: 30px;
}
}
.score-container {
display: flex;
}