Spaces:
Running
Running
cutechicken
commited on
Commit
โข
b5b0c77
1
Parent(s):
be5d96a
Update index.html
Browse files- index.html +52 -32
index.html
CHANGED
@@ -87,41 +87,61 @@
|
|
87 |
}
|
88 |
|
89 |
#crosshair {
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
102 |
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
|
|
109 |
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
height: 2px;
|
115 |
-
transform: translateY(-50%);
|
116 |
-
}
|
117 |
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
125 |
|
126 |
#healthBar {
|
127 |
position: absolute;
|
|
|
87 |
}
|
88 |
|
89 |
#crosshair {
|
90 |
+
position: fixed;
|
91 |
+
top: 25%;
|
92 |
+
left: 50%;
|
93 |
+
transform: translate(-50%, -50%);
|
94 |
+
width: 40px;
|
95 |
+
height: 40px;
|
96 |
+
border: 2px solid rgba(255,0,0,0.7);
|
97 |
+
border-radius: 50%;
|
98 |
+
z-index: 1001;
|
99 |
+
pointer-events: none;
|
100 |
+
mix-blend-mode: difference;
|
101 |
+
transition: all 0.2s ease; /* ๋ถ๋๋ฌ์ด ์ ํ ํจ๊ณผ ์ถ๊ฐ */
|
102 |
+
}
|
103 |
+
/* ์กฐ์ค ๊ฐ๋ฅ ์ํ์ ํฌ๋ก์คํค์ด ์คํ์ผ */
|
104 |
+
#crosshair.target-locked {
|
105 |
+
border: 4px solid rgba(0,255,0,0.9);
|
106 |
+
box-shadow: 0 0 10px rgba(0,255,0,0.5);
|
107 |
+
}
|
108 |
|
109 |
+
#crosshair::before,
|
110 |
+
#crosshair::after {
|
111 |
+
content: '';
|
112 |
+
position: absolute;
|
113 |
+
background: rgba(255,0,0,0.7);
|
114 |
+
transition: all 0.2s ease;
|
115 |
+
}
|
116 |
|
117 |
+
#crosshair.target-locked::before,
|
118 |
+
#crosshair.target-locked::after {
|
119 |
+
background: rgba(0,255,0,0.9);
|
120 |
+
}
|
|
|
|
|
|
|
121 |
|
122 |
+
#crosshair::before {
|
123 |
+
top: 50%;
|
124 |
+
left: -10px;
|
125 |
+
right: -10px;
|
126 |
+
height: 2px;
|
127 |
+
transform: translateY(-50%);
|
128 |
+
}
|
129 |
+
|
130 |
+
#crosshair::after {
|
131 |
+
left: 50%;
|
132 |
+
top: -10px;
|
133 |
+
bottom: -10px;
|
134 |
+
width: 2px;
|
135 |
+
transform: translateX(-50%);
|
136 |
+
}
|
137 |
+
|
138 |
+
#crosshair.target-locked::before {
|
139 |
+
height: 4px;
|
140 |
+
}
|
141 |
+
|
142 |
+
#crosshair.target-locked::after {
|
143 |
+
width: 4px;
|
144 |
+
}
|
145 |
|
146 |
#healthBar {
|
147 |
position: absolute;
|