refacto: full rewrite of theme with catppuccin guidelines + colors

This commit is contained in:
Ungol 2025-12-23 22:27:51 +01:00
parent 7f253abdac
commit b650cc8f76
21 changed files with 4387 additions and 1301 deletions

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="/custom.css">
<link rel="stylesheet" href="/styles.css">
<link rel="stylesheet" type="text/css" href="/syntax-theme-dark.css" media="(prefers-color-scheme: dark)" />
<link rel="stylesheet" type="text/css" href="/syntax-theme-light.css" media="(prefers-color-scheme: light)" />
@ -11,11 +11,12 @@
</head>
<body>
<section class="section">
<div class="container">
{% block content %} {% endblock %}
</div>
</section>
<header></header>
<nav></nav>
<main>
{% block content %} {% endblock %}
</main>
<footer></footer>
</body>
</html>

View file

@ -5,5 +5,4 @@
This is my blog made with Zola.
</h1>
<p><a href="{{ get_url(path='@/blog/_index.md') }}">Posts</a>.</p>
<p><a href="{{ get_url(path='@/test/_index.md') }}">Test</a>.</p>
{% endblock content %}

View file

@ -1,9 +1,13 @@
{% extends "base.html" %}
{% block content %}
<h1 class="title">
{{ page.title }}
</h1>
<p class="subtitle"><strong>{{ page.date }}</strong></p>
{{ page.content | safe }}
<article>
<section class=title>
<h1 class=title>{{ page.title }}</h1>
<p class=subtitle>{{ page.date }}</p>
</section>
<section>
{{ page.content | safe }}
</section>
</article>
{% endblock content %}