Spaces:
Running
Running
Update index.html
Browse files- index.html +16 -1
index.html
CHANGED
@@ -7,9 +7,24 @@
|
|
7 |
body {
|
8 |
margin: 0;
|
9 |
overflow: hidden;
|
10 |
-
background:
|
|
|
11 |
font-family: Arial, sans-serif;
|
12 |
cursor: crosshair;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
}
|
14 |
|
15 |
#score {
|
|
|
7 |
body {
|
8 |
margin: 0;
|
9 |
overflow: hidden;
|
10 |
+
background: url('back1.webp') repeat; /* 배경 이미지 타일형태로 설정 */
|
11 |
+
background-size: auto; /* 원본 크기 유지 */
|
12 |
font-family: Arial, sans-serif;
|
13 |
cursor: crosshair;
|
14 |
+
image-rendering: pixelated; /* 픽셀 이미지 선명도 유지 */
|
15 |
+
}
|
16 |
+
|
17 |
+
/* 배경 이미지 위에 어두운 오버레이 추가 */
|
18 |
+
body::before {
|
19 |
+
content: '';
|
20 |
+
position: fixed;
|
21 |
+
top: 0;
|
22 |
+
left: 0;
|
23 |
+
width: 100%;
|
24 |
+
height: 100%;
|
25 |
+
background: rgba(0, 0, 0, 0.3); /* 어두운 오버레이 */
|
26 |
+
pointer-events: none; /* 마우스 이벤트 통과 */
|
27 |
+
z-index: 1;
|
28 |
}
|
29 |
|
30 |
#score {
|