-
Notifications
You must be signed in to change notification settings - Fork 2
/
styles.css
73 lines (65 loc) · 1.37 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
#screen {
box-sizing: border-box;
padding: 0;
margin: 0;
}
html,
body {
height: 100%;
overflow: hidden;
position: relative;
}
#cursor-container {
position: absolute;
pointer-events: none; /* Make the cursor container non-interactive */
z-index: 10; /* Ensure the cursor is on top */
}
#cursor-image {
width: 90px;
position: absolute;
top: 0;
left: 0;
pointer-events: none; /* Make the cursor image non-interactive */
}
#item {
width: 75px;
position: absolute;
top: 0;
left: 0;
z-index: 5; /* Ensure the item is in front of the background but behind the cursor */
/* Make the item non-interactive */
pointer-events: auto;
}
#hazard {
width: 75px;
position: absolute;
top: 0;
left: 0;
z-index: 5; /* Ensure the item is in front of the background but behind the cursor */
}
#theme-options {
padding: 5px;
width: 50px;
position: relative;
top: 0;
left: 10px;
-ms-text-justify: distribute-all-lines;
text-justify: distribute-all-lines;
/* pointer-events: none; Make the cursor image non-interactive */
}
#start-game-button {
width: 100px;
height: 50px;
position: relative;
top: 0;
left: 7px;
/* pointer-events: none; Make the cursor image non-interactive */
}
#score {
color: white;
font-size: large;
position: relative;
top: 0;
left: 15px;
/* pointer-events: none; Make the cursor image non-interactive */
}