minor styling changes, tags done correctly and horizontal line after title

This commit is contained in:
Pagwin 2024-10-23 21:20:35 -04:00
parent 168b8bde2f
commit 078612400d
No known key found for this signature in database
GPG key ID: 81137023740CA260
6 changed files with 30 additions and 13 deletions

6
TODO
View file

@ -2,10 +2,12 @@ get RSS feed up and running
handle dark/light theming correctly (https://www.joshwcomeau.com/react/dark-mode/) seems useful for that handle dark/light theming correctly (https://www.joshwcomeau.com/react/dark-mode/) seems useful for that
get code blocks working properly, namely get them colored (probably with https://highlightjs.org/), maybe add a red border, consider https://github.com/highlightjs/highlight.js?tab=readme-ov-file#using-web-workers of course this assumes that can't be fixed in typst due to pandoc get code blocks working properly, namely get them colored (probably with https://highlightjs.org/), maybe add a red border, consider https://github.com/highlightjs/highlight.js?tab=readme-ov-file#using-web-workers
ico? ico?
~~add CSS styling rule(s) so headers don't get link colors~~ ~~add CSS styling rule(s) so headers don't get link colors~~
center titles properly ~~center titles properly~~
center content box properly

View file

@ -96,7 +96,7 @@ services:
- backend - backend
``` ```
and here's an nginx config and here's an nginx config
``` ```nginx
worker_processes 1; worker_processes 1;
events { events {

View file

@ -87,3 +87,13 @@ a:hover {
border: 0.5em solid var(--content-border-color); border: 0.5em solid var(--content-border-color);
border-radius: 0.5em; border-radius: 0.5em;
} }
pre {
min-height: 2em;
max-width: calc(100% - 2em);
width: fit-content;
overflow:scroll;
background: #444;
border-radius: 0.5em;
padding: 1em;
}

View file

@ -16,7 +16,9 @@
<a class="nav-link" href="/links/">Links</a> <a class="nav-link" href="/links/">Links</a>
</div> </div>
<div id="content"> <div id="content">
<h1 style="font-variant: small-caps;padding-left:40%; padding-right:20%;">{{{title}}}</h1> <h1
style="font-variant: small-caps;text-align: justify; -moz-text-align-last: center; text-align-last: center;">
{{{title}}}</h1>
{{{content}}} {{{content}}}
</div> </div>
<div id="footer"> <div id="footer">

View file

@ -1,12 +1,11 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?> <?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"> <rss xmlns:atom="http://www.w3.org/2005/Atom">
<channel> <channel>
<title>Pagwin's website</title> <title>Pagwin's Blog</title>
<link>https://pagwin.xyz/</link> <link>https://pagwin.xyz/</link>
<description>Recent content on Pagwin's website</description> <description>All of pagwin's blog posts</description>
<generator>Hugo -- gohugo.io</generator> <generator>PSB</generator>
<language>en-us</language> <language>en-us</language>
<lastBuildDate>Tue, 20 Feb 2024 00:00:00 +0000</lastBuildDate>
<atom:link href="https://pagwin.xyz/index.xml" rel="self" type="application/rss+xml"/> <atom:link href="https://pagwin.xyz/index.xml" rel="self" type="application/rss+xml"/>
<!-- <!--
<item> <item>

View file

@ -1,10 +1,14 @@
<div class="info"> <div class="info">
{{{date}}} {{{date}}}
</div> </div>
{{#has_tags}}
<div class="info"> <div class="info">
Tags: Tags:
{{#tags}} {{#tags}}
<a href="/tags/{{{.}}}/">{{{.}}}</a> <a href="/tags/{{{.}}}/">{{{.}}}</a>
{{/tags}} {{/tags}}
</div> </div>
{{/has_tags}}
<hr>
</hr>
{{{content}}} {{{content}}}