-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
64 lines (62 loc) · 1.12 KB
/
Copy pathstyle.css
File metadata and controls
64 lines (62 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
background-color: rgba(245, 74, 74, 0.906);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100vw;
height: 100vh;
overflow: hidden; /* Prevent scrolling */
}
h1{
font-size: 50px;
color: white;
background-color: rgb(254, 114, 114);
padding: 25px 35px;
margin-bottom: 20px;
border-radius: 15px;
}
#maze-container{
border: 10px solid rgb(248, 248, 248);
position: relative;
display: flex;
flex-direction: column;
width: max-content;
height: max-content;
border-radius: 10px;
}
.row{
display: flex;
}
.cell{
width: 50px;
height: 50px;
/* border: 1px solid black; */
background-color: whitesmoke;
}
.wall{
background-color: black;
border: 1px solid black;
}
#rat{
position:absolute;
top: 0px;
left: 0px;
}
#food{
position: absolute;
bottom: 0px;
right: 0px;
}
#levelselect{
margin-bottom: 20px;
border-radius: 15px;
font-size: 20px;
padding: 10px 20px;
font-weight: bolder;
}