Formatting, no toc
This commit is contained in:
@@ -31,7 +31,7 @@
|
|||||||
:with-creator nil
|
:with-creator nil
|
||||||
:with-timestamps nil
|
:with-timestamps nil
|
||||||
:section-numbers nil
|
:section-numbers nil
|
||||||
:table-of-contents nil)
|
:with-toc nil)
|
||||||
|
|
||||||
("site-static"
|
("site-static"
|
||||||
:base-directory "./static"
|
:base-directory "./static"
|
||||||
|
|||||||
@@ -48,8 +48,9 @@
|
|||||||
|
|
||||||
serve = pkgs.writeShellApplication {
|
serve = pkgs.writeShellApplication {
|
||||||
name = "serve";
|
name = "serve";
|
||||||
runtimeInputs = [ pkgs.python3 ];
|
runtimeInputs = [ pkgs.python3 pkgs.psmisc ];
|
||||||
text = ''
|
text = ''
|
||||||
|
fuser -k 8080/tcp 2>/dev/null || true
|
||||||
echo "Serving site at http://localhost:8080"
|
echo "Serving site at http://localhost:8080"
|
||||||
python -m http.server --bind 0.0.0.0 8080 -d ${site}
|
python -m http.server --bind 0.0.0.0 8080 -d ${site}
|
||||||
'';
|
'';
|
||||||
|
|||||||
+5
-4
@@ -1,14 +1,14 @@
|
|||||||
/* ── Custom Properties ───────────────────────────────── */
|
/* ── Custom Properties ───────────────────────────────── */
|
||||||
:root {
|
:root {
|
||||||
--bg: #ffffff;
|
--bg: #ffffe0;
|
||||||
--fg: #1a1a1a;
|
--fg: #1a1a1a;
|
||||||
--muted: #666666;
|
--muted: #666666;
|
||||||
--accent: #2563eb;
|
--accent: #2563eb;
|
||||||
--border: #e5e5e5;
|
--border: #e5e5e5;
|
||||||
--code-bg: #f5f5f5;
|
--code-bg: #f5f5f5;
|
||||||
--max-width: 740px;
|
--max-width: 740px;
|
||||||
--font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
--font-serif: "Liberation Serif", "Microsoft Sans Serif", serif;
|
||||||
--font-mono: ui-monospace, "Cascadia Code", "Fira Code", monospace;
|
--font-mono: "Source Code Pro", "LiberationMono", "Consolas", monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
@@ -31,7 +31,7 @@ img, video, svg { max-width: 100%; display: block; }
|
|||||||
body {
|
body {
|
||||||
background: var(--bg);
|
background: var(--bg);
|
||||||
color: var(--fg);
|
color: var(--fg);
|
||||||
font-family: var(--font-sans);
|
font-family: var(--font-serif);
|
||||||
line-height: 1.7;
|
line-height: 1.7;
|
||||||
padding: 0 1.25rem;
|
padding: 0 1.25rem;
|
||||||
}
|
}
|
||||||
@@ -71,6 +71,7 @@ body {
|
|||||||
|
|
||||||
/* ── Typography ──────────────────────────────────────── */
|
/* ── Typography ──────────────────────────────────────── */
|
||||||
h1, h2, h3, h4, h5, h6 {
|
h1, h2, h3, h4, h5, h6 {
|
||||||
|
font-family: var(--font-serif);
|
||||||
line-height: 1.3;
|
line-height: 1.3;
|
||||||
margin-top: 2rem;
|
margin-top: 2rem;
|
||||||
margin-bottom: 0.6rem;
|
margin-bottom: 0.6rem;
|
||||||
|
|||||||
Reference in New Issue
Block a user