feat(web): site chrome on /blog + distinct content link color

- Add SiteShell (rail nav + workspace + footer) and wrap /blog and
  /blog/[slug] in it so they share the site's dark chrome instead of
  rendering as bare standalone pages.
- Style rendered post HTML (.blog-content) for the dark workspace.
- Links were `color: inherit` everywhere, so content-area links matched
  body text and were invisible. Give links a distinct accent (#5ac8a6);
  keep the rail nav and buttons on their own colors.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Anthony Ettinger 2026-06-08 12:12:54 +00:00
parent cf99e93c53
commit 7e11130467
4 changed files with 189 additions and 55 deletions

View file

@ -15,10 +15,14 @@ body {
}
a {
color: inherit;
color: #5ac8a6;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
button {
border: 0;
font: inherit;
@ -75,6 +79,7 @@ nav {
}
nav a {
color: inherit;
min-height: 2.35rem;
padding: 0.55rem 0.75rem;
border: 1px solid #263039;
@ -85,6 +90,7 @@ nav a.active,
nav a:hover {
border-color: #3f5049;
background: #1b2329;
text-decoration: none;
}
.workspace {
@ -696,3 +702,49 @@ pre {
font-size: 2.4rem;
}
}
/* Rendered blog post HTML (autoblog payload) on the dark workspace. */
.blog-content {
color: #e7ebe4;
}
.blog-content a {
color: #5ac8a6;
}
.blog-content h2,
.blog-content h3,
.blog-content h4 {
margin: 1.75rem 0 0.5rem;
line-height: 1.25;
}
.blog-content p,
.blog-content ul,
.blog-content ol,
.blog-content blockquote {
margin: 0 0 1rem;
}
.blog-content img {
max-width: 100%;
height: auto;
border-radius: 0.5rem;
}
.blog-content pre {
background: rgba(0, 0, 0, 0.32);
padding: 1rem;
border-radius: 0.5rem;
overflow: auto;
}
.blog-content code {
background: rgba(0, 0, 0, 0.32);
padding: 0.1rem 0.35rem;
border-radius: 0.25rem;
font-size: 0.9em;
}
.blog-content pre code {
background: none;
padding: 0;
}
.blog-content blockquote {
border-left: 3px solid rgba(245, 247, 244, 0.2);
padding-left: 1rem;
color: #b5beb2;
}