Skip to content

Commit 153573f

Browse files
authored
Fix bugs in API Section
1 parent 4430680 commit 153573f

1 file changed

Lines changed: 13 additions & 83 deletions

File tree

index.html

Lines changed: 13 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -312,69 +312,6 @@
312312
.svg_back {
313313
transform: scaleX(-1);
314314
}
315-
.about-terminal {
316-
background: #1e1e2f;
317-
color: #ffffff;
318-
padding: 2rem;
319-
border-radius: 12px;
320-
box-shadow: 0 8px 20px rgba(0,0,0,0.25);
321-
max-width: 700px;
322-
margin: 2rem auto;
323-
font-family: 'Courier New', Courier, monospace;
324-
line-height: 1.6;
325-
border-left: 5px solid #d8b4fe;
326-
position: relative;
327-
}
328-
329-
.about-terminal h2 {
330-
color: #d8b4fe;
331-
font-size: 1.75rem;
332-
margin-bottom: 1rem;
333-
background: linear-gradient(90deg, #7e22ce, #0ea5e9);
334-
-webkit-background-clip: text;
335-
-webkit-text-fill-color: transparent;
336-
}
337-
338-
.about-terminal a {
339-
color: #d8b4fe;
340-
text-decoration: underline;
341-
transition: color 0.3s ease, text-shadow 0.3s ease;
342-
}
343-
344-
.about-terminal a:hover {
345-
color: #7e22ce;
346-
text-shadow: 0 0 8px rgba(126,34,206,0.7);
347-
}
348-
349-
.prompt {
350-
color: #0ea5e9;
351-
font-weight: bold;
352-
margin-right: 0.5rem;
353-
}
354-
355-
.about-terminal p {
356-
position: relative;
357-
}
358-
359-
.about-terminal p::after {
360-
content: "";
361-
display: inline-block;
362-
width: 8px;
363-
height: 1em;
364-
background-color: #0ea5e9;
365-
margin-left: 4px;
366-
animation: blink 1s steps(1) infinite;
367-
}
368-
369-
.highlight {
370-
color: #38bdf8;
371-
font-weight: bold;
372-
}
373-
374-
@keyframes blink {
375-
0%, 50%, 100% { opacity: 1; }
376-
25%, 75% { opacity: 0; }
377-
}
378315
.wheel-and-hamster {
379316
--dur: 1s;
380317
position: relative;
@@ -688,6 +625,7 @@
688625
position: relative;
689626
overflow: hidden;
690627
transition: transform 0.4s ease, box-shadow 0.4s ease;
628+
z-index: 1;
691629
}
692630

693631
.about-cosmic:hover {
@@ -711,9 +649,9 @@
711649
rgba(236, 72, 153, 0.6),
712650
rgba(126, 34, 206, 0.6)
713651
);
714-
animation: rotate 18s linear infinite;
652+
animation: rotate 30s linear infinite;
715653
z-index: 0;
716-
filter: blur(100px);
654+
filter: blur(80px);
717655
}
718656

719657
.about-cosmic h2 {
@@ -726,6 +664,7 @@
726664
letter-spacing: 1px;
727665
position: relative;
728666
z-index: 1;
667+
background-size: 200%;
729668
}
730669

731670
.about-cosmic p {
@@ -762,13 +701,11 @@
762701
100% { transform: rotate(360deg);}
763702
}
764703

765-
/* rainbow loader */
766704
.loader {
767705
position: absolute;
768706
top: 50%;
769707
left: 50%;
770-
transform: scale(0.22) translate(-50%, -50%);
771-
708+
transform: translate(-50%, -50%) scale(0.22);
772709
--from: 200px;
773710
--to: 40px;
774711
--size: 32px;
@@ -779,8 +716,8 @@
779716

780717
.circle {
781718
position: absolute;
782-
--delay: calc(var(--time) / var(--count) * -1 * var(--i));
783-
rotate: calc(var(--turns) * 1turn / var(--count) * var(--i));
719+
--delay: calc(var(--time) / var(--count) * -1 * var(--i, 0));
720+
rotate: calc(var(--turns) * 1turn / var(--count) * var(--i, 0));
784721
animation: circle var(--time) var(--delay) ease-in-out infinite;
785722
}
786723

@@ -797,25 +734,18 @@
797734

798735
.rainbow .circle::before {
799736
background-color: hsl(
800-
calc(1turn / (var(--count) / var(--turns)) * var(--i)) 100% 70%
737+
calc(1turn / (var(--count) / var(--turns)) * var(--i, 0)) 100% 70%
801738
);
802739
}
803740

804741
@keyframes circle {
805-
from {
806-
transform: translate(0, var(--from));
807-
}
808-
to {
809-
transform: translate(0, var(--to));
810-
}
742+
from { transform: translate(0, var(--from)); }
743+
to { transform: translate(0, var(--to)); }
811744
}
745+
812746
@keyframes circleSize {
813-
0%, 100% {
814-
transform: scale(0);
815-
}
816-
25%, 50% {
817-
transform: scale(1);
818-
}
747+
0%, 100% { transform: scale(0); }
748+
25%, 50% { transform: scale(1); }
819749
}
820750
</style>
821751
<title>UmbrioX (᪣UBX) - New cryptocurrency of the future</title>

0 commit comments

Comments
 (0)