-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
78 lines (66 loc) · 1.13 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
*{
margin : 0;
padding : 0;
}
body{
background-color : skyblue;
overflow : hidden;
}
.sky{
padding : 0;
margin : 0;
bottom : 0px;
width : 200%;
height : 750px;
background : url("assets/sky.png");
position :absolute;
animation : skyAnimation 50s linear infinite;
}
@keyframes skyAnimation{
100%{ transform : translatex(-50%)}
}
.flexContainer{
width : 80%;
height : 600px;
margin : 20px auto;
border : 3px black solid;
display : flex;
overflow : hidden;
position : relative;
justify-content :space-between;
}
.gameScreen{
height : 100%;
width : 100%;
display : flex;
flex-direction: column;
align-items : center;
justify-content : center;
}
button{
margin : 25% auto;
background-color : rgba(0, 0, 0, .5);
}
a{
color : black;
text-decoration: none;
}
.howTo{
height : 100%;
width : 100%;
margin-left : 3%;
display : flex;
flex-direction : column;
justify-content :center;
align-items : center;
}
.highScore{
height : 100%;
width : 100%;
}
audio{
display : none;
}
p{
color : black;
}