Skip to content

Commit 6f8f2eb

Browse files
committed
feat: enhance node typography and upgrade discovery lock to cyber-vault
1 parent e8c1162 commit 6f8f2eb

3 files changed

Lines changed: 96 additions & 82 deletions

File tree

.editorconfig

Lines changed: 0 additions & 60 deletions
This file was deleted.

index.html

Lines changed: 47 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -91,29 +91,60 @@
9191
</svg>
9292

9393
<div id="intro-layer">
94-
<svg id="lock-icon" viewBox="0 0 100 100" width="150" height="150">
94+
<svg id="lock-icon" viewBox="0 0 200 200" width="250" height="250">
95+
<!-- Outer rotating ring -->
9596
<circle
96-
cx="50"
97-
cy="50"
98-
r="40"
97+
cx="100"
98+
cy="100"
99+
r="90"
99100
stroke="var(--accent-2)"
100101
stroke-width="2"
102+
stroke-dasharray="20 10"
101103
fill="none"
102-
class="lock-ring"
104+
class="vault-ring-outer"
103105
/>
104-
<rect
105-
x="35"
106-
y="40"
107-
width="30"
108-
height="30"
109-
rx="3"
110-
fill="var(--accent)"
111-
/>
112-
<path
113-
d="M 40 40 V 30 A 10 10 0 0 1 60 30 V 40"
114-
fill="none"
106+
<!-- Middle counter-rotating segmented ring -->
107+
<circle
108+
cx="100"
109+
cy="100"
110+
r="70"
115111
stroke="var(--accent)"
116112
stroke-width="4"
113+
stroke-dasharray="40 20"
114+
fill="none"
115+
class="vault-ring-middle"
116+
/>
117+
<!-- Inner spinning reticle -->
118+
<g class="vault-reticle">
119+
<circle
120+
cx="100"
121+
cy="100"
122+
r="45"
123+
stroke="var(--accent-2)"
124+
stroke-width="1"
125+
stroke-dasharray="2 4"
126+
fill="none"
127+
/>
128+
<path
129+
d="M 100 45 V 55 M 100 145 V 155 M 45 100 H 55 M 145 100 H 155"
130+
stroke="var(--accent-2)"
131+
stroke-width="2"
132+
/>
133+
</g>
134+
<!-- Glowing central core -->
135+
<circle
136+
cx="100"
137+
cy="100"
138+
r="15"
139+
fill="var(--accent)"
140+
class="vault-core"
141+
/>
142+
<circle
143+
cx="100"
144+
cy="100"
145+
r="10"
146+
fill="white"
147+
class="vault-core-inner"
117148
/>
118149
</svg>
119150
<div class="intro-text">INITIATING DISCOVERY</div>

src/style.css

Lines changed: 49 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,21 @@ body {
7878

7979
.node text {
8080
font-family: var(--font-mono);
81-
font-size: 13px;
81+
font-size: 14px;
82+
font-weight: 600;
8283
fill: var(--fg);
8384
stroke: none;
85+
text-shadow:
86+
0 0 4px rgba(0, 0, 0, 0.9),
87+
0 0 8px rgba(0, 0, 0, 0.8),
88+
0 0 2px var(--bg);
8489
}
8590

8691
.node:hover text {
8792
fill: var(--accent);
93+
text-shadow:
94+
0 0 8px var(--accent),
95+
0 0 2px var(--bg);
8896
}
8997

9098
path.link {
@@ -256,15 +264,50 @@ a:hover {
256264
opacity 1.5s ease-out,
257265
visibility 1.5s;
258266
}
259-
.lock-ring {
260-
animation: pulse-ring 2s infinite alternate;
267+
.vault-ring-outer {
268+
transform-origin: center;
269+
animation: vault-spin-cw 8s linear infinite;
261270
}
262-
@keyframes pulse-ring {
271+
.vault-ring-middle {
272+
transform-origin: center;
273+
animation: vault-spin-ccw 6s linear infinite;
274+
}
275+
.vault-reticle {
276+
transform-origin: center;
277+
animation: vault-spin-cw 3s linear infinite;
278+
}
279+
.vault-core {
280+
animation: vault-pulse 2s ease-in-out infinite alternate;
281+
filter: drop-shadow(0 0 10px var(--accent));
282+
}
283+
.vault-core-inner {
284+
animation: vault-pulse 1s ease-in-out infinite alternate-reverse;
285+
}
286+
287+
@keyframes vault-spin-cw {
288+
from {
289+
transform: rotate(0deg);
290+
}
291+
to {
292+
transform: rotate(360deg);
293+
}
294+
}
295+
@keyframes vault-spin-ccw {
296+
from {
297+
transform: rotate(360deg);
298+
}
299+
to {
300+
transform: rotate(0deg);
301+
}
302+
}
303+
@keyframes vault-pulse {
263304
from {
264-
stroke-width: 1;
305+
opacity: 0.4;
306+
transform: scale(0.9);
265307
}
266308
to {
267-
stroke-width: 4;
309+
opacity: 1;
310+
transform: scale(1.1);
268311
}
269312
}
270313
.intro-text {

0 commit comments

Comments
 (0)