From be6e9c2137df0b61766aec4eaf0e3e7b005ab88d Mon Sep 17 00:00:00 2001 From: Daniel Morrisey Date: Sun, 21 Jun 2026 19:47:05 -0400 Subject: [PATCH] fixed html errors --- css/privo-api.css | 199 ++++++++++++++++++++++++++++++++++++++++++++++ css/privo.css | 4 + index.html | 4 +- privo/index.html | 62 +++++++++++++++ 4 files changed, 267 insertions(+), 2 deletions(-) create mode 100644 css/privo-api.css create mode 100644 privo/index.html diff --git a/css/privo-api.css b/css/privo-api.css new file mode 100644 index 0000000..3f23270 --- /dev/null +++ b/css/privo-api.css @@ -0,0 +1,199 @@ +:root { + --bg: #1c1310; + --surface: #2e2018; + --text: #f4deb8; + --muted: #e8c28a; + --accent: #d4975c; + --accent-hover: #e8c28a; + --error: #ef4444; + --code-bg: #150f0d; +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; + background: var(--bg); + color: var(--text); + min-height: 100vh; + display: flex; + flex-direction: column; + align-items: center; + padding: 2rem; +} + +a { + color: var(--accent); + text-decoration: none; + transition: opacity 0.2s; +} + +a:hover { + opacity: 0.8; +} + +/* Wider than the home page (520px) to suit documentation content */ +.container { + max-width: 900px; + width: 100%; +} + +header { + text-align: left; + margin-bottom: 3rem; + padding-bottom: 1.5rem; + border-bottom: 1px solid rgba(212, 151, 92, 0.2); +} + +h1 { + font-size: 2.5rem; + letter-spacing: -0.02em; + margin-bottom: 0.5rem; +} + +.tagline { + color: var(--muted); + font-size: 1.1rem; +} + +h2 { + font-size: 1.75rem; + color: var(--accent); + margin-top: 2.5rem; + margin-bottom: 1rem; + display: flex; + align-items: center; + gap: 0.5rem; +} + +h3 { + font-size: 1.25rem; + margin-top: 1.5rem; + margin-bottom: 0.75rem; + color: var(--text); +} + +p, +li { + line-height: 1.6; + margin-bottom: 0.75rem; + color: var(--muted); +} + +ul { + margin-left: 1.5rem; + margin-bottom: 1.5rem; +} + +/* Code blocks */ +pre { + background: var(--code-bg); + border: 1px solid rgba(212, 151, 92, 0.3); + border-radius: 10px; + padding: 1.25rem; + overflow-x: auto; + margin-bottom: 1.5rem; + font-family: 'SF Mono', 'Fira Code', monospace; + font-size: 0.9rem; + color: #fff; +} + +code { + font-family: 'SF Mono', 'Fira Code', monospace; +} + +/* Inline code */ +p code, +li code { + background: var(--surface); + padding: 0.2rem 0.4rem; + border-radius: 6px; + color: var(--accent); + font-size: 0.9em; +} + +/* Tables */ +table { + width: 100%; + border-collapse: collapse; + margin: 1.5rem 0; + background: var(--surface); + border-radius: 10px; + overflow: hidden; +} + +th, +td { + padding: 0.75rem 1rem; + text-align: left; + border-bottom: 1px solid rgba(212, 151, 92, 0.2); +} + +th { + background: rgba(212, 151, 92, 0.1); + color: var(--accent); + font-weight: 600; +} + +tr:last-child td { + border-bottom: none; +} + +/* Method badges */ +.method { + display: inline-block; + padding: 0.2rem 0.6rem; + border-radius: 6px; + font-size: 0.75rem; + font-weight: bold; + text-transform: uppercase; + margin-right: 0.5rem; +} + +.get { + background: #2563eb; + color: white; +} + +.post { + background: #16a34a; + color: white; +} + +footer { + margin-top: auto; + padding-top: 3rem; + color: var(--muted); + font-size: 0.85rem; + text-align: center; +} + +/* Back-to-home link, styled like the site's buttons */ +.nav-link { + display: inline-block; + margin-bottom: 2rem; + padding: 0.5rem 1rem; + background: var(--surface); + border: 1px solid var(--accent); + border-radius: 10px; + color: var(--accent); + font-weight: 500; +} + +.nav-link:hover { + background: rgba(212, 151, 92, 0.15); +} + +@media (max-width: 480px) { + body { + padding: 1.25rem; + } + + h1 { + font-size: 2rem; + } +} diff --git a/css/privo.css b/css/privo.css index d832e7f..ea80772 100644 --- a/css/privo.css +++ b/css/privo.css @@ -49,6 +49,10 @@ a:hover { letter-spacing: -0.02em; } +.logo-accent { + color: var(--accent); +} + .hero span { color: var(--accent); } diff --git a/index.html b/index.html index 705df1f..aa7e996 100644 --- a/index.html +++ b/index.html @@ -56,7 +56,7 @@

Daniel Morrisey

Hello World! I'm Daniel Morrisey, welcome to my corner of the Internet.
- I'm a front-end web developer and a Bluesky/AT Protocol nerd, who spends too much time on Bluesky and listening to Hamilton. + I'm a front-end web developer and a Bluesky/AT Protocol nerd, who spends too much time on Bluesky and listening to Hamilton.

Loading visitor info…
@@ -73,7 +73,7 @@ fetching last played… -
powered by teal.fm via pipper
+
powered by teal.fm via pipper
diff --git a/privo/index.html b/privo/index.html new file mode 100644 index 0000000..c8f67a2 --- /dev/null +++ b/privo/index.html @@ -0,0 +1,62 @@ + + + + + + Privo.fyi - Shorten links in seconds + + + + + + + + + + + + + +
+
+

Privo.fyi

+

Shorten links in seconds. Zero tracking. Free for life.

+
+ +
+
+ + +
+ +
+ +
+
+ + +
+

Your link is active immediately. No logs kept.

+
+
+ + +
+ + + + \ No newline at end of file -- 2.51.2