Spaces:
Running
Running
cutechicken
commited on
Commit
β’
e44b683
1
Parent(s):
2cd9fd9
Update index.html
Browse files- index.html +23 -29
index.html
CHANGED
@@ -87,38 +87,34 @@
|
|
87 |
}
|
88 |
|
89 |
#crosshair {
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
/*
|
104 |
-
#crosshair.target-
|
105 |
-
border:
|
106 |
-
|
|
|
107 |
}
|
108 |
|
109 |
#crosshair::before,
|
110 |
#crosshair::after {
|
111 |
content: '';
|
112 |
position: absolute;
|
113 |
-
background:
|
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;
|
@@ -135,12 +131,10 @@
|
|
135 |
transform: translateX(-50%);
|
136 |
}
|
137 |
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
#crosshair.target-locked::after {
|
143 |
-
width: 4px;
|
144 |
}
|
145 |
|
146 |
#healthBar {
|
|
|
87 |
}
|
88 |
|
89 |
#crosshair {
|
90 |
+
position: fixed;
|
91 |
+
top: 50%;
|
92 |
+
left: 50%;
|
93 |
+
transform: translate(-50%, -50%);
|
94 |
+
width: 40px;
|
95 |
+
height: 40px;
|
96 |
+
border: 2px solid #00ff00;
|
97 |
+
border-radius: 50%;
|
98 |
+
z-index: 1001;
|
99 |
+
pointer-events: none;
|
100 |
+
transition: all 0.2s ease;
|
101 |
+
}
|
102 |
+
|
103 |
+
/* λ¬Όμ²΄κ° κ°μ§λμμ λμ μ€νμΌ */
|
104 |
+
#crosshair.target-detected {
|
105 |
+
border-color: #ff0000;
|
106 |
+
border-width: 3px;
|
107 |
+
box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
|
108 |
}
|
109 |
|
110 |
#crosshair::before,
|
111 |
#crosshair::after {
|
112 |
content: '';
|
113 |
position: absolute;
|
114 |
+
background: #00ff00;
|
115 |
transition: all 0.2s ease;
|
116 |
}
|
117 |
|
|
|
|
|
|
|
|
|
|
|
118 |
#crosshair::before {
|
119 |
top: 50%;
|
120 |
left: -10px;
|
|
|
131 |
transform: translateX(-50%);
|
132 |
}
|
133 |
|
134 |
+
/* λ¬Όμ²΄κ° κ°μ§λμμ λμ ν¬λ‘μ€ λΌμΈ μ€νμΌ */
|
135 |
+
#crosshair.target-detected::before,
|
136 |
+
#crosshair.target-detected::after {
|
137 |
+
background: #ff0000;
|
|
|
|
|
138 |
}
|
139 |
|
140 |
#healthBar {
|