-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathstyles.css
More file actions
38 lines (34 loc) · 906 Bytes
/
Copy pathstyles.css
File metadata and controls
38 lines (34 loc) · 906 Bytes
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
html, body {
height: 100%;
margin: 0;
padding: 0;
user-select: none; /* Prevents text and elements from being selected */
-webkit-touch-callout: none; /* Prevents callout, like the long-press menu */
-webkit-user-select: none; /* Prevents text selection on iOS */
-webkit-tap-highlight-color: transparent; /* Prevents the blue highlight on touch */
}
body {
background: url('./img/koyuki_background.png') center center repeat;
background-size: contain;
cursor: pointer;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
}
#bgm-toggle {
position: absolute;
top: 10px;
right: 10px;
z-index: 9999; /* Ensures the icon is on the top layer */
}
#bgm-icon {
width: 36px;
height: 36px;
}
img.icon {
position: absolute;
width: 120px;
height: 120px;
transform: translate(-50%, -50%);
}