website fixes

This commit is contained in:
Priec
2026-06-02 17:01:36 +02:00
parent 0f897354ec
commit 1032d20080
2 changed files with 2 additions and 23 deletions

View File

@@ -204,7 +204,7 @@
<h1 class="mt-6 text-4xl sm:text-5xl lg:text-6xl font-bold tracking-tight text-zinc-50 leading-[1.05]">
A framework for<br>
building <span class="text-accent">TUIs</span> in Rust<span class="tp-cursor" aria-hidden="true"></span>
building <span class="text-accent">TUIs</span> in Rust
</h1>
<p class="mt-6 text-lg text-zinc-300 max-w-xl leading-relaxed">

View File

@@ -87,9 +87,7 @@ body {
}
.tp-hero h1,
.tp-hero p,
.tp-hero a,
.tp-hero code {
.tp-hero p {
text-shadow:
-1px -1px 0 var(--tp-text-outline),
1px -1px 0 var(--tp-text-outline),
@@ -98,10 +96,6 @@ body {
0 2px 12px rgba(0, 0, 0, 0.75);
}
.tp-hero h1 {
-webkit-text-stroke: 0.35px var(--tp-text-outline);
}
.tp-hero::before {
content: "";
position: absolute;
@@ -130,21 +124,6 @@ body {
radial-gradient(circle at 85% 70%, rgba(126, 231, 135, 0.05), transparent 35%);
}
/* ---------- Cursor caret animation --------------------------------------- */
@keyframes tp-blink {
0%, 49% { opacity: 1; }
50%, 100% { opacity: 0; }
}
.tp-cursor {
display: inline-block;
width: 0.55em;
height: 1em;
background: var(--tp-accent);
margin-left: 0.15em;
vertical-align: -0.12em;
animation: tp-blink 1.1s steps(1) infinite;
}
/* ---------- Soft float for the hero terminal ----------------------------- */
@keyframes tp-float {
0%, 100% { transform: translateY(0); }