-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
69 lines (61 loc) · 1.12 KB
/
Copy pathstyle.css
File metadata and controls
69 lines (61 loc) · 1.12 KB
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Press Start 2P';
}
body {
height: 100vh;
width: 100vw;
}
#game-container {
display: flex;
/* flex-direction: column; */
justify-content: center;
align-items: center;
height: 100%;
background-color: lightgrey;
}
#game {
background-color: skyblue;
overflow: hidden;
height: 100%;
}
#score-card {
position: absolute;
top: 0;
left: 0;
display: flex;
flex-direction: row;
height: 100%;
width: 100%;
justify-content: center;
align-items: center;
backdrop-filter: blur(5px);
}
#game-info {
height: 100%;
max-width: 100vw;
aspect-ratio: auto 288 / 512;
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
justify-content: center;
gap: 50px;
background-color: #FFFFFFaa;
}
#high-score {
color: red;
}
button {
padding: 10px 20px;
border-radius: 8px;
background-color: green;
color: white;
cursor: pointer;
}
select, ::picker(select), select div {
padding: 10px 20px;
border-radius: 8px;
}