-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
83 lines (70 loc) · 1.08 KB
/
styles.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
* {
box-sizing: border-box;
padding: 0;
margin: 0;
}
body {
cursor: url(./images/cursor.png), default;
background-color: #c0c86d;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
text-align: center;
height: 100vh;
width: 100vw;
}
.bg {
background-image: url(./images/background.png);
background-repeat: no-repeat;
width: 1800px;
height: 980px;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
}
.hole {
background: black;
border-radius: 50%;
overflow: visible;
width: 240px;
height: 240px;
}
.hole-container {
width: 25%;
display: flex;
justify-content: center;
align-items: center;
}
.mole {
position: relative;
bottom: 5px;
right: 47px;
}
.hungry {
cursor: url(./images/cursor-worm.png), pointer;
}
.gone {
display: none;
}
.worm {
width: 1660px;
}
.worm-container {
overflow: hidden;
transition: width 0.5s ease-in-out;
}
.worm-box {
width: 1660px;
}
.win {
max-width: 90vw;
max-height: 90vh;
}
.hide {
display: none;
}
.show {
display: block;
}