Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed images/bkg.png
Binary file not shown.
Binary file removed images/blacktocat.png
Binary file not shown.
252 changes: 143 additions & 109 deletions index.html

Large diffs are not rendered by default.

19 changes: 18 additions & 1 deletion javascripts/main.js
Original file line number Diff line number Diff line change
@@ -1 +1,18 @@
console.log('This would be the main JS file.');
var status = document.getElementById("copy-status");

document.querySelectorAll(".copy").forEach(function (btn) {
btn.addEventListener("click", function () {
var code = btn.parentElement.querySelector("code");
var text = code.innerText.replace(/^\$ /gm, "");
navigator.clipboard.writeText(text).then(function () {
btn.classList.add("ok");
btn.setAttribute("aria-label", "Copied");
if (status) status.textContent = "Copied to clipboard";
setTimeout(function () {
btn.classList.remove("ok");
btn.setAttribute("aria-label", "Copy to clipboard");
if (status) status.textContent = "";
}, 1400);
});
});
});
1 change: 0 additions & 1 deletion params.json

This file was deleted.

68 changes: 0 additions & 68 deletions stylesheets/pygment_trac.css

This file was deleted.

172 changes: 172 additions & 0 deletions stylesheets/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,172 @@
:root {
--bg: #121212;
--bg-2: #171717;
--panel: #0d0d0d;
--line: rgba(255,255,255,0.09);
--green: #b5e853;
--green-dim: #7d9e42;
--green-glow: rgba(181,232,83,0.16);
--ink: #eaeaea;
--muted: #8c8c8c;
--link: #63c0f5;
--mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Monaco, "Cascadia Mono", Consolas, monospace;
--max: 940px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
margin: 0;
background:
radial-gradient(900px 460px at 50% -8%, var(--green-glow), transparent 62%),
var(--bg);
color: var(--ink);
font: 16px/1.6 var(--mono);
-webkit-font-smoothing: antialiased;
letter-spacing: -0.01em;
}
body::before {
content: "";
position: fixed; inset: 0; pointer-events: none; z-index: 0;
background: repeating-linear-gradient(rgba(255,255,255,0.014) 0 1px, transparent 1px 3px);
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 3px; }

.container { width: 90%; max-width: var(--max); margin: 0 auto; position: relative; z-index: 1; }

/* ---- top nav ---- */
nav {
display: flex; align-items: center; justify-content: space-between;
padding: 1.2rem 0; font-size: 0.85rem;
}
.brand { color: var(--green); font-weight: 700; letter-spacing: -0.03em; }
.brand::before { content: "./"; color: var(--green-dim); margin-right: 0.3ch; }
.nav-links { display: flex; gap: 1.4rem; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--green); text-decoration: none; }

/* ---- hero ---- */
.hero { padding: 3.5rem 0 3rem; display: grid; gap: 2.4rem; grid-template-columns: 1.05fr 1fr; align-items: center; }
.hero > *, .card { min-width: 0; }
.hero-copy h1 {
margin: 0 0 1rem;
font-size: clamp(2.1rem, 5.5vw, 3.2rem);
line-height: 1.08;
font-weight: 700;
color: var(--ink);
letter-spacing: -0.04em;
text-wrap: balance;
}
.hero-copy h1 b { color: var(--green); font-weight: 700; text-shadow: 0 0 16px var(--green-glow); }
.hero-copy p { color: var(--muted); font-size: 1.05rem; max-width: 42ch; margin: 0 0 1.8rem; text-wrap: balance; }
.cta { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.btn {
display: inline-flex; align-items: center; gap: 0.5ch;
padding: 0.65rem 1.25rem; border-radius: 7px; font-size: 0.88rem; font-weight: 600;
border: 1px solid var(--line); background: var(--bg-2); color: var(--ink);
transition: border-color .15s, background .15s, transform .05s;
}
.btn:hover { border-color: var(--green); background: #202020; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #0e1200; border-color: var(--green); }
.btn-primary:hover { background: #c5f56a; }

/* ---- terminal window ---- */
.term {
border: 1px solid var(--line);
border-radius: 10px;
background: var(--panel);
overflow: hidden;
box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(181,232,83,0.05);
}
.term-bar {
display: flex; align-items: center; gap: 0.5ch;
padding: 0.7rem 0.9rem; background: #161616; border-bottom: 1px solid var(--line);
}
.dot { width: 11px; height: 11px; border-radius: 50%; background: #333; }
.dot.g { background: var(--green-dim); }
.term-title { margin-left: 0.8ch; color: var(--muted); font-size: 0.75rem; }
.term-body { padding: 1.1rem 1.2rem; font-size: 0.86rem; line-height: 1.8; overflow-x: auto; }
.term-body .p { color: var(--green-dim); user-select: none; }
.term-body .c { color: var(--green); }
.term-body .o { color: var(--muted); }
.cursor { display: inline-block; width: 0.6ch; height: 1em; background: var(--green); vertical-align: -0.15em; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---- feature cards ---- */
section { padding: 2.6rem 0; }
.eyebrow { color: var(--green-dim); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 0.5rem; }
h2 { margin: 0 0 1.6rem; font-size: 1.55rem; font-weight: 600; color: var(--green); letter-spacing: -0.03em; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.card {
border: 1px solid var(--line); border-radius: 9px; background: var(--bg-2);
padding: 1.2rem 1.3rem; transition: border-color .15s, transform .15s;
}
.card:hover { border-color: var(--green-dim); transform: translateY(-2px); }
.card h3 { margin: 0 0 0.5rem; color: var(--green); font-size: 1rem; }
.card h3::before { content: ">> "; color: var(--green-dim); }
.card p { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.55; }

/* ---- code ---- */
.code { position: relative; margin: 0 0 1rem; }
.code + .code { margin-top: -0.2rem; }
pre {
margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 8px;
padding: 1rem 1.1rem; overflow-x: auto; font-size: 0.85rem; color: var(--green); line-height: 1.65;
}
pre .prompt { color: var(--green-dim); user-select: none; }
.copy {
position: absolute; top: 0.5rem; right: 0.5rem;
display: inline-flex; align-items: center; justify-content: center;
width: 30px; height: 30px; padding: 0;
color: var(--muted); background: #1b1b1b; border: 1px solid var(--line);
border-radius: 6px; cursor: pointer; opacity: 0; transition: opacity .15s, color .15s, border-color .15s;
}
.copy .i { display: block; }
.copy .i-check { display: none; }
.copy.ok .i-copy { display: none; }
.copy.ok .i-check { display: block; }
.code:hover .copy, .copy:focus-visible { opacity: 1; }
.copy:hover { color: var(--green); border-color: var(--green); }
.copy.ok { color: var(--green); border-color: var(--green); opacity: 1; }
/* touch devices can't hover: keep the control reachable */
@media (hover: none) { .copy { opacity: 1; } }

.sr-only {
position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.step-label { color: var(--muted); font-size: 0.85rem; margin: 0 0 0.5rem; }
.step-label b { color: var(--green); }

/* ---- team ---- */
.team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.6rem; }
.team a { padding: 0.7rem 0.85rem; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); display: flex; align-items: center; text-align: left; gap: 1.5ch; font-size: 0.9rem; }
.team a::before { content: ">>"; color: var(--green-dim); flex: none; }
.team a:hover { border-color: var(--green); text-decoration: none; }

/* ---- license ---- */
.license summary { cursor: pointer; color: var(--green); width: fit-content; font-size: 0.9rem; }
.license summary:hover { text-decoration: underline; }
.license pre { margin-top: 1rem; white-space: pre-wrap; color: var(--muted); font-size: 0.78rem; line-height: 1.65; }

footer {
border-top: 1px dashed var(--green-dim); margin-top: 1rem; padding: 1.8rem 0 3rem;
color: var(--muted); font-size: 0.8rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; justify-content: space-between;
}
footer a { color: var(--muted); }
footer a:hover { color: var(--green); }

@media (max-width: 720px) {
.hero { grid-template-columns: 1fr; padding-top: 2rem; }
.nav-links { display: none; }
.team { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 380px) {
.team { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
* { transition: none !important; scroll-behavior: auto; }
.cursor { animation: none; }
}
Loading