-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
95 lines (74 loc) · 1.26 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
:root {
--clr-dark-bg: #010101;
}
body {
overflow-x: hidden;
background-color: var(--clr-dark-bg);
}
.transition-fade {
transition: 0.5s;
opacity: 1;
}
html.is-animating .transition-fade {
opacity: 0;
animation: zoomin 3s ease-out;
transition: 0.5s;
}
@keyframes zoomin {
0% {transform: scale(1);}
25% {transform: scale(1.5);}
50% {transform: scale(2);}
75% {transform: scale(2.5);}
100% {transform: scale(3);}
}
html.is-leaving .transition-fade {
opacity: 0.5;
transform: scale(3);
}
svg {
height: 95vh;
width: auto;
}
.landing-svg {
width: 100%;
display: flex;
justify-content: center;
max-width: 800px;
margin: 0 auto;
position: relative;
/* min-width: 500px; */
}
.play {
color: transparent;
height: 8rem;
position: absolute;
bottom: 45px;
right: 28%;
}
@media screen and (max-width: 700px) {
.play {
bottom: 10%;
}
}
@media screen and (max-width: 600px) {
.play {
bottom: 12%;
}
}
@media screen and (max-width: 500px) {
.play {
bottom: 15%;
}
}
.container {
position: relative;
}
h3 {
color: white;
}
.score {
position: absolute;
right: 70px;
top: 160px;
color: white;
}