-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgame.css
More file actions
87 lines (82 loc) · 1.54 KB
/
game.css
File metadata and controls
87 lines (82 loc) · 1.54 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
img{
image-rendering: optimizeSpeed; /* STOP SMOOTHING, GIVE ME SPEED */
image-rendering: -moz-crisp-edges; /* Firefox */
image-rendering: -o-crisp-edges; /* Opera */
image-rendering: -webkit-optimize-contrast; /* Chrome (and eventually Safari) */
image-rendering: pixelated; /* Universal support since 2021 */
image-rendering: optimize-contrast; /* CSS3 Proposed */
-ms-interpolation-mode: nearest-neighbor;
}
@media screen and (min-width: 1224px){
body
{
display: flex;
align-items: center;
justify-content: center;
padding-top: 25rem;
height: 100%;
overflow: hidden;
background-color: rgba(0,0,0,1);
}
#bgimage
{
position: absolute;
top: 0;
right: 0;
height: 100%;
width: 100%;
opacity: 0.5;
}
#kebap
{
position: absolute;
z-index: 1;
}
#points
{
position: absolute;
top: 0px;
left: 20px;
color: white;
}
.change-food{
position: absolute;
right: 0;
top: 0;
display: grid;
}
.food-button img{
height: 100px;
z-index: -1;
}
.food-button{
background-color: black;
}
#hide{
position: absolute;
right: 0;
top: 50px;
display:none;
}
#hideButton{
position: absolute;
padding: 10px;
height: 50px;
width: 150px;
right: 0;
background-color: black;
color: white;
}
#timer{
position:absolute;
top:0;
color: white;
}
#addedMoney{
position: absolute;
top: 72%;
z-index: 2;
}
}
@media screen and (min-width: 320px){
}