paritybit.ca

Raw content of https://www.paritybit.ca.
git clone https://git.sr.ht/~jbauer/paritybit.ca
Log | Files | Refs | README | LICENSE

commit 98ec940b29ec29fa9d490f0538c68454fe3fbc7a
parent 6e696fab7906c7e43ac6aa7a6ce2a373a60bc3c2
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Mon,  5 Sep 2022 11:40:37 -0400

Add icons to bottom of site

Diffstat:
Mcontent/blog.md | 9+++++----
Mcontent/index.md | 15++++++---------
Mcontent/projects.md | 2+-
Mstatic/style.css | 9++++++++-
Mtemplates/footer.html | 10+++++++---
Mtemplates/header.html | 2+-
6 files changed, 28 insertions(+), 19 deletions(-)

diff --git a/content/blog.md b/content/blog.md @@ -10,13 +10,14 @@ posts I think are low quality or lack any valuable insight (fruit that has gone bad, as it were). Please note that older posts—even those that are less than a year old—may not match my current views or practices. -<a href="/feed.xml"> <img src="/img/feed-icon.png" width="15" height="15" -alt="RSS Icon"/> Subscribe</a> +<a href="/feed.xml" aria-label="RSS Feed" title="RSS Feed" target="_blank"> + <svg class="icon" width="20" height="auto" viewbox="0 0 410 410" fill-rule="evenodd" clip-rule="evenodd"><path d="M0 0a410 410 0 0 1 410 410h-80A332 332 0 0 0 0 79V0z"/><path d="M0 139a271 271 0 0 1 271 271h-80A191 191 0 0 0 0 218v-79z"/><path d="M50 300c36 1 56 20 60 56-4 33-22 51-55 54-25-1-42-13-52-35-8-29 0-52 26-68 7-4 14-6 21-7z"/></svg> + RSS Feed +</a> <form action="https://duckduckgo.com/" method="get"> <input name="sites" type="hidden" value="www.paritybit.ca/blog"> - <label for="q">Search: </label> - <input name="q" id="q" type="text" placeholder="Search This Blog" > + <input aria-label="Search" name="q" id="q" type="text" placeholder="Search"> <button aria-label="Submit search query.">&#128270;</button> </form> diff --git a/content/index.md b/content/index.md @@ -29,31 +29,28 @@ favourites: This is a static website generated from Markdown using [lowdown](https://kristaps.bsd.lv/lowdown/) with my POSIX shell-based static -site generator [sbs](https://git.sr.ht/~jbauer/sbs). It is designed to be -lightweight, accessible, and privacy-respecting. The site lives in a [git -repository](https://git.sr.ht/~jbauer/paritybit.ca). This site is also featured -on [10kbclub.com](https://10kbclub.com/) and it's a part of the [XXIIVV +site generator [sbs](https://git.sr.ht/~jbauer/sbs). It's designed to be +lightweight, accessible, and privacy-respecting. It's also featured +on [10kbclub.com](https://10kbclub.com/) and is a part of the [XXIIVV Webring](https://webring.xxiivv.com/#paritybit) and the [Fediring webring](https://fediring.net). ## Contact -Ordered from most to least preferred, I can be contacted using: +Feel free to contact me using any of the methods below: * Email: [jbauer@paritybit.ca](mailto:jbauer@paritybit.ca); * Fediverse: [@jbauer@merveilles.town](https://merveilles.town/@jbauer); -* IRC: `jbauer` on OFTC, Libera.chat, maybe other networks. +* IRC: `jbauer` on OFTC, Libera.chat, Esper.net, and others. This information is also accessible using the [Finger Protocol](https://en.wikipedia.org/wiki/Finger_(protocol)): [finger://paritybit.ca/jbauer](finger://paritybit.ca/jbauer) or `finger jbauer@paritybit.ca` on the command line. -If you're contacting me using XMPP, please use OMEMO if you can. My device -fingerprints (which can change) are currently: +Here are my OMEMO fingerprints if you're contacting me via XMPP: ``` PC: 42988003 bfdb1260 1bd43abe 598716ce d6d03e2c f680a395 a6b3c69a 7bf2cb2a -Laptop: 2bc93b63 42dad123 0d321ebf dd42925c efce4052 f5347295 956677d8 ccb4080f Phone: 2b46e1a8 aaae9a82 48bbad53 d9922ca5 dcd160dc 02e25031 2ea0f6a1 e02ee31a ``` diff --git a/content/projects.md b/content/projects.md @@ -32,7 +32,7 @@ on [my Bandcamp wishlist](https://bandcamp.com/jbauer001/wishlist). Thanks! ✔ [vim-fastline](https://git.sr.ht/~jbauer/vim-fastline): My custom vim statusline -◍ [python-xmpp-bot](https://git.sr.ht/~jbauer/python-xmpp-bot): A featureful bot for XMPP written in Python. +✗ [python-xmpp-bot](https://git.sr.ht/~jbauer/python-xmpp-bot): A featureful bot for XMPP written in Python. ✗ [usrmnt](https://git.sr.ht/~jbauer/usrmnt): A small utility to mount, unmount, unlock, etc. your devices from the terminal. diff --git a/static/style.css b/static/style.css @@ -122,6 +122,10 @@ code { font-size: 0.9rem; } +#icons { + float: right; +} + @media print { body { font-size: 16px; @@ -138,6 +142,9 @@ code { body { max-width: 90%; } + #icons { + float: none; + } } @media (prefers-color-scheme: dark) { @@ -184,7 +191,7 @@ code { code { background-color: #333; } - #xxiivv-icon { + .icon { filter: invert(1); } } diff --git a/templates/footer.html b/templates/footer.html @@ -9,9 +9,13 @@ </div> <center> © 2019-2022 Jake Bauer — <a href="https://creativecommons.org/licenses/by/4.0/legalcode">CC-BY 4.0</a> - <a href="https://webring.xxiivv.com/#paritybit" target="_blank" style="float:right"> - <svg id="xxiivv-icon" role="img" fill="none" width="20px" height="auto" viewBox="0 0 300 300" stroke="#000" stroke-linecap="square" stroke-width="28" xmlns="http://www.w3.org/2000/svg"><title>XXIIVV Webring</title><path d="M201.962 210a60 60 0 10-103.924-60l-50 86.603"/><path d="M98.038 210a60 60 0 10103.924-60l-50-86.603"/><path d="M150 120a60 60 0 100 120h100"/></svg> - </a> + + <div id="icons"> + <a href="/feed.xml" aria-label="RSS Feed" title="RSS Feed" target="_blank"><svg class="icon" xmlns="http://www.w3.org/2000/svg" width="16" viewbox="0 0 410 460" fill-rule="evenodd" clip-rule="evenodd"><path d="M0 0a410 410 0 0 1 410 410h-80A332 332 0 0 0 0 79V0z"/> <path d="M0 139a271 271 0 0 1 271 271h-80A191 191 0 0 0 0 218v-79z"/> <path d="M50 300c36 1 56 20 60 56-4 33-22 51-55 54-25-1-42-13-52-35-8-29 0-52 26-68 7-4 14-6 21-7z"/></svg></a> + <a href="//sr.ht/~jbauer" aria-label="SourceHut" title="SourceHut" target="_blank"><svg class="icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 13 14.5" width="17px"><ellipse cx="6.613647" cy="6.6143475" fill="none" stroke="#000" stroke-width="1.39407" rx="5.9175467" ry="5.9175477"/></svg></a> + <a href="//merveilles.town/@jbauer" aria-label="Merveilles" title="Merveilles" target="_blank"><svg class="icon" width="20" xmlns="http://www.w3.org/2000/svg" baseProfile="full" viewBox="0 0 220 220"><path d="M140 20a60 60 0 00-60 60h60zM80 200a60 60 0 0060-60H80zM50 80a30 30 0 0130 30 30 30 0 01-30 30 30 30 0 01-30-30 30 30 0 0130-30zm60 0a30 30 0 0130 30 30 30 0 01-30 30 30 30 0 01-30-30 30 30 0 0130-30zm60 0a30 30 0 0130 30 30 30 0 01-30 30 30 30 0 01-30-30 30 30 0 0130-30"></path><path d="M80 20a60 60 0 0160 60H80zm60 180a60 60 0 01-60-60h60zM20 20a60 60 0 0160 60H20zm0 180a60 60 0 0060-60H20zM200 20a60 60 0 00-60 60h60zm0 180a60 60 0 01-60-60h60z"></path></svg></a> + <a href="//webring.xxiivv.com/#paritybit" aria-label="XXIIVV Webring" title="XXIIVV Webring" target="_blank"><svg class="icon" role="img" fill="none" width="20px" viewBox="0 0 300 300" stroke="#000" stroke-linecap="square" stroke-width="28" xmlns="http://www.w3.org/2000/svg"><path d="M201.962 210a60 60 0 10-103.924-60l-50 86.603"/><path d="M98.038 210a60 60 0 10103.924-60l-50-86.603"/><path d="M150 120a60 60 0 100 120h100"/></svg></a> + </div> </center> </small> </footer> diff --git a/templates/header.html b/templates/header.html @@ -7,7 +7,7 @@ <link rel="alternate" type="application/rss+xml" title="RSS feed" href="/feed.xml"> <link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAABX1BMVEUAAAABAAAAAAAAAAAAAAAAAAAAAAC7amoAAABlPz8AAAAAAAAGAwMAAAAAAAAAAAC7d3cKBwe7d3e7d3eWX1/ny4+WX18CAQGHVlaTXl4BAAApGhpiPj7ny4/ny4/oy4/ozI/qz5Ona2u7d3d4TEzny48MCAhlQEC7d3e7d3cAAAAAAAC7d3e8d3cAAAC8d3fnzI+8dnYAAADpzJC9eHjny4+WX1+TXV13S0u7d3fny492S0vnzI/ny4+EU1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EwAAAABJRU5ErkJggg=="> <title></title> - <style>body{background-color:#fcfcfc;color:#111;line-height:1.5rem;max-width:650px;margin:0 auto;padding:0.5em 0 3em;font-family:"IBM Plex Serif", serif}header{text-align:center;margin:0.7em auto;font-size:2em;font-weight:bold}h1{font-style:oblique;margin-bottom:0;line-height:1.1em;font-size:1.7em}h2,h3,h4,h5,h6{margin:1.4em 0 -0.3em;line-height:1.1em}nav{text-align:center}nav a{padding:0 0.5em;font-size:1.1rem;font-weight:bold;text-decoration:none}nav a:hover{text-decoration:underline}a,nav a:visited{color:#134799}a:hover{text-decoration:none}a:visited{color:#551a8b}img,video{max-width:100%}blockquote{border-left:3px solid #134799;padding-left:0.5em}figcaption{margin-bottom:1.5em}button,input{background-color:#eee;border:2px inset #aaa}button:hover{border:2px outset #134799}button:active{border:2px inset #aaa}table,td,th{border:2px solid #666;border-collapse:collapse;text-align:left}th{background-color:#ccc}.note{background-color:#adf;border-radius:5px;box-shadow:4px 4px 5px 0 rgba(0,0,0,0.5);padding:15px 20px}.note a,.note a:visited{color:#111;text-decoration:underline}.date{font-size:smaller;color:#565151}pre{background-color:#ddd;overflow:auto;padding:0.5em;line-height:1.1rem;box-shadow:4px 4px 5px 0 rgba(0,0,0,0.5);border:1px black solid}code{background-color:#ddd;font-family:"IBM Plex Mono", monospace;font-size:0.9rem}@media print{body{font-size:16px}pre{white-space:pre-wrap}nav{display:none}}@media only screen and (max-width: 1000px){body{max-width:90%}}@media (prefers-color-scheme: dark){body{background-color:#1f1f1f;color:#ddd}a,nav a:visited{color:#9abdda}a:visited{color:#c0ade3}blockquote{border-left:3px solid #9abdda}button,input{background-color:#333;border:2px inset #666}button:hover{border:2px outset #9abdda}button:active{border:2px inset #666}th{background-color:#333}.note{background-color:#245}.note a,.note a:visited{color:#ccc}.date{font-size:smaller;color:#bbb}pre{background-color:#333;border:1px #666 solid}code{background-color:#333}#xxiivv-icon{filter: invert(1)}}</style> +<style>body{background-color:#fcfcfc;color:#111;line-height:1.5rem;max-width:650px;margin:0 auto;padding:0.5em 0 3em;font-family:"IBM Plex Serif", serif}header{text-align:center;margin:0.7em auto;font-size:2em;font-weight:bold}h1{font-style:oblique;margin-bottom:0;line-height:1.1em;font-size:1.7em}h2,h3,h4,h5,h6{margin:1.4em 0 -0.3em;line-height:1.1em}nav{text-align:center}nav a{padding:0 0.5em;font-size:1.1rem;font-weight:bold;text-decoration:none}nav a:hover{text-decoration:underline}a,nav a:visited{color:#134799}a:hover{text-decoration:none}a:visited{color:#551a8b}img,video{max-width:100%}blockquote{border-left:3px solid #134799;padding-left:0.5em}figcaption{margin-bottom:1.5em}button,input{background-color:#eee;border:2px inset #aaa}button:hover{border:2px outset #134799}button:active{border:2px inset #aaa}table,td,th{border:2px solid #666;border-collapse:collapse;text-align:left}th{background-color:#ccc}.note{background-color:#adf;border-radius:5px;box-shadow:4px 4px 5px 0 rgba(0,0,0,0.5);padding:15px 20px}.note a,.note a:visited{color:#111;text-decoration:underline}.date{font-size:smaller;color:#565151}pre{background-color:#ddd;overflow:auto;padding:0.5em;line-height:1.1rem;box-shadow:4px 4px 5px 0 rgba(0,0,0,0.5);border:1px black solid}code{background-color:#ddd;font-family:"IBM Plex Mono", monospace;font-size:0.9rem}#icons{float:right}@media print{body{font-size:16px}pre{white-space:pre-wrap}nav{display:none}}@media only screen and (max-width: 1000px){body{max-width:90%}#icons{float:none}}@media (prefers-color-scheme: dark){body{background-color:#1f1f1f;color:#ddd}a,nav a:visited{color:#9abdda}a:visited{color:#c0ade3}blockquote{border-left:3px solid #9abdda}button,input{background-color:#333;border:2px inset #666}button:hover{border:2px outset #9abdda}button:active{border:2px inset #666}th{background-color:#333}.note{background-color:#245}.note a,.note a:visited{color:#ccc}.date{font-size:smaller;color:#bbb}pre{background-color:#333;border:1px #666 solid}code{background-color:#333}.icon{filter: invert(1)}}</style> </head> <body> <header>paritybit.ca</header>