-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
133 lines (114 loc) · 2.54 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
@font-face{
font-family: Railway;
src: url(./fonts/Raleway-VariableFont_wght.ttf);
}
@font-face{
font-family: Komikax;
src: url(./fonts/KOMIKAX_.ttf);
}
body{
margin: 0;
display: flex;
flex-direction: column;
align-items: center;
background-image: url(./img/desert-background.jpg);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
height: 100vh;
font-family: Railway, 'Arial Narrow', Arial, sans-serif;
}
canvas {
background: black;
border-radius: 20px;
}
h1{
font-family: Komikax, 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
font-size: 64px;
color: yellow;
margin-bottom: 32px;
margin-top: 32px;
}
.main-div{
position: relative;
width: 720px;
height: 480px;
}
.game-over{
display: flex;
align-items: center;
justify-content: center;
background-image: url(./img/9_intro_outro_screens/game_over/game\ over.png);
background-size: cover;
background-position: center;
border-radius: 20px;
position: absolute;
top: 0;
bottom: -6px;
left: 0;
right: -6px;
opacity: 1;
}
.you-lost{
display: flex;
align-items: center;
justify-content: center;
background-image: url(./img/9_intro_outro_screens/game_over/you\ lost.png);
background-size: cover;
background-position: center;
border-radius: 20px;
position: absolute;
top: 0;
bottom: -6px;
left: 0;
right: -6px;
opacity: 1;
}
.start{
display: flex;
align-items: center;
justify-content: center;
background-image: url(./img/9_intro_outro_screens/start/startscreen_2.png);
background-size: cover;
background-position: center;
border-radius: 20px;
position: absolute;
top: 6px;
bottom: -6px;
left: 6px;
right: -6px;
opacity: 1;
z-index: 99;
}
.start-botton{
margin-bottom: 350px;
display: flex;
justify-content: center;
align-items: center;
width: 250px;
height: 50px;
background: yellow;
border-radius: 10px;
border: 2px solid black;
font-family: Komikax, 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
font-size: 32px;
}
.d-none{
display: none;
}
.explanations{
margin-top: 24px;
display: flex;
justify-content: space-between;
}
.explain-button{
height: 32px;
width: 32px;
}
.button-and-text{
display: flex;
gap: 8px;
align-items: center;
font-size: 24px;
font-weight: 500;
}