summaryrefslogtreecommitdiff
path: root/_werc
diff options
context:
space:
mode:
authorRadiohotline <radiohotline@disroot.org>2026-03-14 09:58:15 +0000
committerRadiohotline <radiohotline@disroot.org>2026-03-14 09:58:15 +0000
commite7e358c99a516e13a01dd64b29e6af5a51026259 (patch)
tree11d3495cd88d2e12b86e73357488b34c1dadeb3a /_werc
first commit
Diffstat (limited to '_werc')
-rw-r--r--_werc/config11
-rw-r--r--_werc/lib/footer.inc5
-rw-r--r--_werc/lib/top_bar.inc9
-rw-r--r--_werc/pub/style/style.css12
4 files changed, 37 insertions, 0 deletions
diff --git a/_werc/config b/_werc/config
new file mode 100644
index 0000000..39db279
--- /dev/null
+++ b/_werc/config
@@ -0,0 +1,11 @@
+#masterSite=default.cat-v.org
+siteTitle='Soft Machine'
+siteSubTitle='Your computer is alive'
+
+meta_description='Home of programming and electronics projects and a FOSS blog'
+meta_keywords='FOSS, computers, programming, C, electronics, synthesizer, Unix, Plan 9'
+
+#conf_enable_comments
+#conf_enable_wiki
+
+#ll_add handlers_body_head echo '<div style="text-align:right"><script type="text/javascript" src="http://www.reddit.com/r/programming/button.js?t=1"></script></div>'
diff --git a/_werc/lib/footer.inc b/_werc/lib/footer.inc
new file mode 100644
index 0000000..01f022e
--- /dev/null
+++ b/_werc/lib/footer.inc
@@ -0,0 +1,5 @@
+<br class="doNotDisplay doNotPrint" />
+
+<div style="margin-right: auto;"><a href="http://werc.cat-v.org">Powered by werc</a></div>
+
+<div><form action="/_search/" method="POST"><input type="text" id="searchtext" name="q"> <input type="submit" value="Search"></form></div>
diff --git a/_werc/lib/top_bar.inc b/_werc/lib/top_bar.inc
new file mode 100644
index 0000000..c2c4d52
--- /dev/null
+++ b/_werc/lib/top_bar.inc
@@ -0,0 +1,9 @@
+ <div class="left">
+ <a href="http://softmachine.dev">softmachine</a> |
+ <a href="http://softmachine.dev/art">art</a> |
+ <a href="http://softmachine.dev/music">music</a> |
+ <a href="http://softmachine.dev/tech">tech</a> |
+ <a href="http://softmachine.dev/creatures">creatures</a> |
+ <a href="http://softmachine.dev/brain">brain</a> |
+ <a href="http://softmachine.dev/moloch">moloch</a>
+ </div>
diff --git a/_werc/pub/style/style.css b/_werc/pub/style/style.css
new file mode 100644
index 0000000..252cb2a
--- /dev/null
+++ b/_werc/pub/style/style.css
@@ -0,0 +1,12 @@
+body { display: flex; flex-wrap: wrap; font-family: sans; }
+header { flex-basis: 100%; flex-shrink: 0; }
+article { flex-basis: 60%; padding-left: 1em; }
+footer { flex-basis: 100%; flex-shrink: 0; }
+header nav { display: flex; justify-content: space-between; }
+nav a, header a { text-decoration: none ; color: inherit; }
+header h1 span { margin-left: 1em; font-size: 50%; font-style: italic; }
+body > nav { flex-basis: content; padding-right: 1vw; min-width: 16em; }
+nav ul { display: flex; flex-direction: column; list-style-type: none; list-style-position: outside; padding-left: 0; }
+nav li ul { padding-left: 0.6em }
+footer { display: flex; justify-content: space-between; }
+* { cursor: url(http://softmachine.dev/img/cursor.png), auto; }