From 7fafd5b927a0637fa7ed57bb41be9f59d879f802 Mon Sep 17 00:00:00 2001 From: Bun Date: Tue, 1 Jul 2025 17:16:48 -0400 Subject: [PATCH] Changes or whatever --- config.toml | 12 ++++-------- content/blog/defense.md | 3 +++ public/sidebar.css | 2 +- public/style.css | 2 +- sass/sidebar.scss | 10 +++++----- sass/style.scss | 20 +++++++++++++++++--- templates/base.html | 2 ++ templates/blog.html | 2 +- templates/tags/list.html | 8 ++++++++ 9 files changed, 42 insertions(+), 19 deletions(-) create mode 100644 templates/tags/list.html diff --git a/config.toml b/config.toml index e979376..cc2dc66 100644 --- a/config.toml +++ b/config.toml @@ -1,16 +1,12 @@ -# The URL the site will be built for base_url = "https://www.nixfox.ca" - -# Whether to automatically compile all Sass files in the sass directory compile_sass = true - -# Whether to build a search index to be used later on by a JavaScript library build_search_index = true +taxonomies = [ + { name = "tags", feed = true}, +] + [markdown] -# Whether to do syntax highlighting -# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola highlight_code = true [extra] -# Put all your custom variables here diff --git a/content/blog/defense.md b/content/blog/defense.md index e48d489..f9f40da 100644 --- a/content/blog/defense.md +++ b/content/blog/defense.md @@ -1,6 +1,9 @@ +++ title = "Defense / Priorities" date = 2025-06-26 + +[taxonomies] +tags = [ "rants" ] +++ I have spent a lot of years playing both active and preemptive emotional defense. diff --git a/public/sidebar.css b/public/sidebar.css index d6a210d..d2c4a66 100644 --- a/public/sidebar.css +++ b/public/sidebar.css @@ -1 +1 @@ -#sidebar{width:8em;height:100%;top:0;left:0;overflow:auto;overflow-x:hidden;position:fixed;z-index:1;margin:0;padding:0;font-size:1.6em;background-color:#101419}.sb_header{font-size:25px;margin-left:15px}.sb_link{margin:.5em;padding:.5em;color:#fff;font-size:16px;text-decoration:none;transition:.3s}.sb_link:hover{color:#7ccbd5;font-size:17px;text-decoration:none}.sb_img{display:block;margin-left:auto;margin-right:auto;margin-top:10px;max-width:calc(100% - 1.2em)}.sb_img img{display:block;margin-left:auto;margin-right:auto;max-width:calc(100% - 2em)}.personal{color:#fc3f5b}.nixfox{color:#2abafc}.pers:hover{color:#fca9c0}.fox:hover{color:#a9c0fc} \ No newline at end of file +#sidebar{width:8em;height:100%;top:0;left:0;overflow:auto;overflow-x:hidden;position:fixed;z-index:1;margin:0;padding:0;font-size:1.6em;background-color:#101419}.sb_header{font-size:25px;margin-left:15px}.sb_link{margin:.5em;padding:.5em;color:#fff;font-size:16px;text-decoration:none}.sb_link:hover{color:#7ccbd5;font-size:17px;text-decoration:none}.sb_img{display:block;margin-left:auto;margin-right:auto;margin-top:10px;margin-bottom:10px;max-width:calc(100% - 1.2em)}.sb_img img{display:block;margin-left:auto;margin-right:auto;max-width:calc(100% - 2em)}.personal{color:#fc3f5b}.nixfox{color:#2abafc}.pers:hover{color:#fca9c0}.fox:hover{color:#a9c0fc} \ No newline at end of file diff --git a/public/style.css b/public/style.css index 24be36c..e56f2bf 100644 --- a/public/style.css +++ b/public/style.css @@ -1 +1 @@ -*{font-family:"IBM Plex Mono",monospace;background-attachment:fixed;background-repeat:no-repeat;background-size:cover;top:0}body{color:#141414;background-color:#dde1e9}a{cursor:crosshair;outline:1px solid rgba(0,0,0,0);margin:0}a:hover{outline:2px solid}#main{position:relative;width:60%;max-width:50em;margin:auto;top:3em;left:6.5em;background-color:#eff1f5}li{list-style-type:none;width:100%}.container{padding:20px} \ No newline at end of file +*{font-family:"IBM Plex Mono",monospace;background-attachment:fixed;background-repeat:no-repeat;background-size:cover;top:0}body{color:#141414;background-color:#dde1e9;padding-bottom:5em}a{color:#b7162e;cursor:crosshair;outline:1px solid rgba(0,0,0,0);margin:0;text-decoration:none}a:hover{font-weight:bold;outline:3px solid;transition:.3s}h1{font-weight:bold}#main{position:relative;width:60%;max-width:50em;margin:auto;top:3em;left:6.5em;padding-top:1em;padding-bottom:1em;padding-left:3em;padding-right:3em;background-color:#eff1f5}li{list-style-type:square}.container{padding:20px} \ No newline at end of file diff --git a/sass/sidebar.scss b/sass/sidebar.scss index 9e89a5e..40b2182 100644 --- a/sass/sidebar.scss +++ b/sass/sidebar.scss @@ -28,7 +28,6 @@ color:#ffffff; font-size:16px; text-decoration: none; - transition: 0.3s; } .sb_link:hover { @@ -42,6 +41,7 @@ margin-left: auto; margin-right: auto; margin-top: 10px; + margin-bottom: 10px; max-width: calc(100% - 1.2em); } @@ -52,8 +52,8 @@ max-width: calc(100% - 2em); } -.personal {color:#fc3f5b;} -.nixfox {color:#2abafc;} +.personal { color:#fc3f5b; } +.nixfox { color:#2abafc; } -.pers:hover {color:#fca9c0;} -.fox:hover {color:#a9c0fc;} +.pers:hover { color:#fca9c0; } +.fox:hover { color:#a9c0fc; } diff --git a/sass/style.scss b/sass/style.scss index 0966506..4aa962a 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -10,16 +10,25 @@ body { color: #141414; background-color: #DDE1E9; + padding-bottom: 5em; } a { + color:#b7162e; cursor: crosshair; outline: 1px solid transparent; margin: 0; + text-decoration: none; } a:hover { - outline: 2px solid; + font-weight: bold; + outline: 3px solid; + transition: 0.3s; +} + +h1 { + font-weight: bold; } #main { @@ -27,15 +36,20 @@ a:hover { width:60%; max-width:50em; margin: auto; + top: 3em; left: 6.5em; + + padding-top: 1em; + padding-bottom: 1em; + padding-left: 3em; + padding-right: 3em; background-color: #EFF1F5; } li { - list-style-type: none; - width: 100%; + list-style-type: square; } .container { diff --git a/templates/base.html b/templates/base.html index d62e02e..43d842d 100644 --- a/templates/base.html +++ b/templates/base.html @@ -29,10 +29,12 @@ ☁️ nextcloud
🔒 vaultwarden
🗄️ forgejo
+ 🗒️ hedgedoc
📹 owncast
📻 icecast
💬 matrix
🗃️ transmission
+ 💽 page code
diff --git a/templates/blog.html b/templates/blog.html index 2529646..66ab169 100644 --- a/templates/blog.html +++ b/templates/blog.html @@ -8,7 +8,7 @@ {% for page in section.pages %} -
  • {{ page.title }}
  • +
  • {{ page.title }} {{ page.date }}
  • {% endfor %} {% endblock content %} diff --git a/templates/tags/list.html b/templates/tags/list.html new file mode 100644 index 0000000..0397089 --- /dev/null +++ b/templates/tags/list.html @@ -0,0 +1,8 @@ +{% extends "base.html" %} + +{% block content %} +

    + {{ section.title }} +

    +{{ section.content | safe }} +{% endblock content %}