-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
71 lines (61 loc) · 1.32 KB
/
style.css
File metadata and controls
71 lines (61 loc) · 1.32 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
70
71
.sour-gummy-neel{
font-family: "Sour Gummy", sans-serif;
font-optical-sizing: auto;
font-weight: 100;
font-style: normal;
font-variation-settings:
"wdth" 100;
}
body {
font-family: "Sour Gummy", sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
margin: 0;
background-color:rgb(181,215,168);
}
h1 {
margin-bottom: 20px;
}
#gameContainer {
display: grid;
grid-template-columns: repeat(8, 50px);
gap: 0.5px;
}
.tile {
width: 50px;
height: 50px;
background-image: url('./images/grass1.png');
background-size: cover;
display: flex;
align-items: center;
justify-content: center;
}
.player {
background-image: url('./images/player1.png');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
.wall {
background-image: url('./images/wall.png');
background-size: cover;
}
.box {
background-image: url('./images/block1.png');
background-size: cover;
}
.block_on_target {
background-image: url('./images/block2.png');
background-size: cover;
}
.target {
background-image: url('./images/grass2.png');
background-size: cover;
}
.grass {
background-image: url('./images/grass1.png');
background-size: cover;
}