-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyle.css
107 lines (94 loc) · 1.72 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
* {
box-sizing: border-box;
overflow: hidden;
}
body {
margin: 0;
padding: 0;
color: white;
font-family: "Press Start 2P", cursive;
background: #171241; /* fallback for old browsers */
background: -webkit-linear-gradient(
to right,
#24243e,
#302b63,
#0f0c29
); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(
to right,
#24243e,
#302b63,
#0f0c29
); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
text-align: center;
}
.fontload {
display: none;
}
h1 {
font-family: "Pacifico", cursive;
font-size: 64px;
position: absolute;
}
canvas {
font-smooth: never;
-webkit-font-smoothing: none;
margin-bottom: 2rem;
}
.game {
display: flex;
height: 100vh;
justify-content: center;
align-items: center;
flex-direction: column;
padding: 6rem;
}
.instructions {
display: flex;
width: 70vw;
flex-direction: row;
align-items: center;
justify-content: space-between;
margin-left: 1rem;
margin-right: 1rem;
}
.instructions-1,
.instructions-2 {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
span {
font-size: 0.7rem;
}
img {
margin: 1rem;
}
.arrows,
.space,
.algae,
.turtle {
display: flex;
justify-content: center;
align-items: center;
}
.turtle img,
.algae img {
margin-top: 0;
margin-bottom: 1.2rem;
}
#preload-pacifico-font {
font-family: "Pacifico";
opacity: 0;
height: 0;
width: 0;
display: inline-block;
}
#preloadfont {
font-family: "Press Start 2P";
opacity: 0;
height: 0;
width: 0;
display: inline-block;
}