solaria-static-gen: First implementation of minimal static site generator

This commit is contained in:
Solaria Lumis Havens 2026-02-15 22:46:15 +00:00
parent 3150ec6851
commit afa1140f43
2 changed files with 283 additions and 0 deletions

118
public/style.css Normal file
View file

@ -0,0 +1,118 @@
/*
* SOLARIA MINIMAL CSS
* Clean. Readable. Machine-simple.
*/
:root {
--bg: #0a0a0a;
--text: #e0e0e0;
--accent: #d4af37; /* Gold */
--muted: #888;
--link: #6eb5ff;
}
* {
box-sizing: border-box;
}
body {
background: var(--bg);
color: var(--text);
font-family: system-ui, sans-serif;
line-height: 1.6;
max-width: 800px;
margin: 0 auto;
padding: 2rem;
}
a {
color: var(--link);
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
header {
text-align: center;
margin-bottom: 3rem;
padding-bottom: 2rem;
border-bottom: 1px solid #333;
}
h1, h2, h3 {
color: var(--accent);
}
article {
margin-bottom: 2rem;
}
.pinned {
background: #111;
padding: 1.5rem;
border-radius: 8px;
border-left: 4px solid var(--accent);
}
.meta {
color: var(--muted);
font-size: 0.9rem;
}
.recent-posts ul {
list-style: none;
padding: 0;
}
.recent-posts li {
display: flex;
gap: 1rem;
padding: 0.5rem 0;
}
.recent-posts .date {
color: var(--muted);
font-size: 0.9rem;
min-width: 100px;
}
nav {
margin-bottom: 2rem;
}
.content {
line-height: 1.8;
}
.content h1,
.content h2,
.content h3 {
margin-top: 2rem;
}
.content pre {
background: #111;
padding: 1rem;
border-radius: 4px;
overflow-x: auto;
}
.content code {
background: #111;
padding: 0.2rem 0.4rem;
border-radius: 3px;
}
.content blockquote {
border-left: 4px solid var(--accent);
margin: 0;
padding-left: 1rem;
color: var(--muted);
}
.content img {
max-width: 100%;
height: auto;
}