From 4d3f7fe4d19b0bff06f53d11f34746b421c7c042 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Tue, 11 Aug 2026 15:31:39 -0500 Subject: Publish theme/static directly instead of copying it into content MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit org-ssg can read asset directories outside its source now, so the four files copied in — gpg.txt, robots.txt, salary.csv and styles.css — go back to having one home. `[build] assets = ["../theme/static"]` publishes that directory at /, which is where weblorg serves it from too. That also removes the note asking whoever comes next to keep two stylesheets identical, and picks up styles.min.css as a side effect. --- content/styles.css | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 content/styles.css (limited to 'content/styles.css') diff --git a/content/styles.css b/content/styles.css deleted file mode 100644 index 19e4711..0000000 --- a/content/styles.css +++ /dev/null @@ -1,23 +0,0 @@ -body { max-width: 800px; margin: 0 auto; padding: 1rem; } -a, a:visited { color: #0000ff; } -nav ul { list-style: none; padding: 0; display: flex; flex-direction: row; } -nav ul li { padding-right: 0.5rem;} -img { max-width: 100%; } -.post-list { padding: 0; padding-inline-start: 0; } -.post-list-item { display: flex; list-style: none; align-items: baseline; } -.post-list-item time { padding-right: 0.5rem; white-space: nowrap; } -.post-list-item a { flex-grow: 1; white-space: normal; } -.post-list-year { list-style: none; margin-top: 1rem; margin-bottom: 0.5rem; font-weight: bold; } -.skip-link { display: none; } -footer { margin: 2rem 0;} -pre, blockquote { margin: 1rem 0; padding: 0.5rem; background-color: #eee; } -pre { overflow: auto; white-space: pre; } -blockquote p { margin: 0; margin-bottom: 1rem; } -blockquote p:last-child { margin-bottom: 0; } -code { color: #942192; } -@media (prefers-color-scheme: dark) { - body { background-color: #181a1b; color: #cccccc; } - a, a:visited { color: #68A9F8; } - code { color: #ff68e1; } - pre, blockquote { background-color: black; } -} -- cgit v1.2.3