aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_config.yml2
-rw-r--r--footer.html2
-rw-r--r--header.html4
-rw-r--r--pages/wiki/openbsd/desktop_environment.md2
-rw-r--r--public/style.css99
5 files changed, 103 insertions, 6 deletions
diff --git a/_config.yml b/_config.yml
index ed156d1..0c19f24 100644
--- a/_config.yml
+++ b/_config.yml
@@ -18,4 +18,4 @@ files:
rss: 'build/index.rss'
misc:
- post_count: 5
+ post_count: 10
diff --git a/footer.html b/footer.html
index 2e5a12b..53f02a0 100644
--- a/footer.html
+++ b/footer.html
@@ -1,7 +1,5 @@
</main>
-<hr/>
<footer role="contentinfo">
- <h2>Menu Navigation</h2>
<ul id="menu">
<li><a href="/">Home</a></li>
<li><a href="/posts">Posts</a></li>
diff --git a/header.html b/header.html
index b412d41..b37d46d 100644
--- a/header.html
+++ b/header.html
@@ -7,11 +7,11 @@
<link rel="icon" href="data:,">
<title>{{TITLE}}</title>
<link href="/index.rss" type="application/rss+xml" rel="alternate" title="RSS feed for blog posts" />
-<style>*{box-sizing:border-box;}body{font-family:sans-serif;line-height:1.33;margin:0 auto;max-width:650px;padding:1rem;}h2,h3,h4,h5,h6{margin:3rem 0 0;}blockquote{border-left:4px solid;padding-left:5px;}img{max-width:100%;}pre{border:1px solid;overflow:auto;padding:5px;}table{text-align:left;width:100%;}.posts,#menu{list-style:none;padding:0;}.posts li{margin-bottom:8px;}.posts li span{display:block;font-size:90%;}#menu li{display:inline-block;margin-right:8px;}figcaption{font-size:90%;}.footnotes{font-size:90%;}@font-face{font-family:'Monaspace';src:url('/public/fonts/MonaspaceKrypton-SyntaxHighlighter-Regular.woff2') format('woff2');}code{font-family:"Monaspace",monospace;background-color:#000;color:#f1f1f1;border-radius:.2rem;padding:.1rem;}pre:has(code){border:2px solid #f9f9f9;background-color:#000;color:#f1f1f1;padding:.5rem;border-radius:.5rem;}</style>
+ <link rel="stylesheet" href="/public/style.css">
</head>
<nav id="top">
- <a href="/">Home</a><span>&nbsp;|&nbsp;</span><a href="#menu">Menu &darr;</a>
+ <a href="/">Home</a><a href="#menu">Menu &darr;</a>
</nav>
<main>
diff --git a/pages/wiki/openbsd/desktop_environment.md b/pages/wiki/openbsd/desktop_environment.md
index 1e82c53..b118d9a 100644
--- a/pages/wiki/openbsd/desktop_environment.md
+++ b/pages/wiki/openbsd/desktop_environment.md
@@ -5,7 +5,7 @@ This page covers the initial setup for installing and configuring `dwm` as a des
## Show Don't Tell
<figure>
-<img src="https://btxx.org/posts/OpenBSD_is_a_Cozy_Operating_System/open-suck-75.png" alt="Screenshot of OpenBSD 7.5 running dwm">
+<img src="/public/images/open-suck-75.png" alt="Screenshot of OpenBSD 7.5 running dwm">
<figcaption>Open Suck: OpenBSD 7.5 running dwm on my X220</figcaption>
</figure>
diff --git a/public/style.css b/public/style.css
new file mode 100644
index 0000000..a9e85f5
--- /dev/null
+++ b/public/style.css
@@ -0,0 +1,99 @@
+* {
+ box-sizing: border-box;
+}
+body {
+ font-family: "Verdana", sans-serif;
+ line-height: 1.4;
+ font-size: 13px;
+ margin: 0 auto;
+ max-width: 470px;
+ padding: 0 10px 10px;
+}
+h1{font-size:18px;margin-top:1em;}
+h2,
+h3,
+h4,
+h5,
+h6 {
+ font-size: 15px;
+ margin: 2em 0 0;
+}
+blockquote {
+ border-left: 4px solid;
+ margin: 2em 0 2em 2em;
+ padding: 2px 8px;
+}
+blockquote p {
+ font-style: italic;
+ margin: 0;
+ padding: 0;
+}
+img {
+ max-width: 100%;
+}
+pre {
+ border: 1px solid;
+ overflow: auto;
+ padding: 5px;
+}
+table {
+ text-align: left;
+ width: 100%;
+}
+nav {
+ border-bottom: 1px solid;
+ padding: 10px 0;
+}
+nav a:last-of-type {
+ float: right;
+}
+#menu,
+.posts {
+ list-style: none;
+ padding: 0;
+}
+.posts li {
+ margin-bottom: 8px;
+}
+.posts li span {
+ display: block;
+ font-size: 90%;
+}
+#menu li {
+ display: inline-block;
+ margin-right: 8px;
+}
+figure {
+ margin: 3em 0;
+}
+figure img {
+ width: 100%;
+}
+figcaption {
+ font-size: 90%;
+}
+footer {
+ border-top: 1px solid;
+ margin: 2em 0;
+}
+.footnotes {
+ font-size: 90%;
+}
+@font-face {
+ font-family: 'Monaspace';
+ src: url('/public/fonts/MonaspaceKrypton-SyntaxHighlighter-Regular.woff2') format('woff2');
+}
+code {
+ font-family: "Monaspace",monospace;
+ background-color: #000;
+ color: #f1f1f1;
+ border-radius: 0.2rem;
+ padding: 0.1rem;
+}
+pre:has(code) {
+ border: 2px solid #f9f9f9;
+ background-color: #000;
+ color: #f1f1f1;
+ padding: 0.5rem;
+ border-radius: 0.5rem;
+} \ No newline at end of file