minor style change

This commit is contained in:
Yan Lin 2026-01-30 17:09:46 +01:00
parent 10d7afaaf4
commit 8a88c5b1be
3 changed files with 18 additions and 4 deletions

View file

@ -3,3 +3,5 @@ title = "Homelab"
sort_by = "date" sort_by = "date"
paginate_by = 10 paginate_by = 10
+++ +++
Blog posts about my experience and stories tinkering with home servers, personal cloud, etc.

View file

@ -72,6 +72,7 @@ header nav {
main { main {
min-height: 60vh; min-height: 60vh;
font-size: 0.95rem;
} }
img { img {
@ -84,9 +85,9 @@ h1, h2, h3, h4 {
line-height: 1.3; line-height: 1.3;
} }
h1 { font-size: 1.75rem; } h1 { font-size: 1.5rem; }
h2 { font-size: 1.4rem; } h2 { font-size: 1.25rem; }
h3 { font-size: 1.15rem; } h3 { font-size: 1.1rem; }
h2::after { h2::after {
content: " ##"; content: " ##";
@ -202,4 +203,10 @@ footer {
border-top: 1px solid var(--border); border-top: 1px solid var(--border);
color: var(--muted); color: var(--muted);
font-size: 0.9rem; font-size: 0.9rem;
.footer-links {
display: flex;
gap: 1.5rem;
margin-bottom: 0.5rem;
}
} }

View file

@ -33,7 +33,12 @@
{% block content %}{% endblock content %} {% block content %}{% endblock content %}
</main> </main>
<footer> <footer>
<p>&copy; {{ now() | date(format="%Y") }} {{ config.extra.author }}</p> <div class="footer-links">
<a href="https://www.yanlincs.com" target="_blank">Homepage</a>
<a href="https://github.com/Logan-Lin" target="_blank">GitHub</a>
<a href="mailto:s@yanlincs.com">Email</a>
</div>
<p>&copy; {{ now() | date(format="%Y") }} {{ config.extra.author }}. Content licensed under <a href="https://creativecommons.org/licenses/by-sa/4.0/" target="_blank">CC BY-SA 4.0</a>.</p>
</footer> </footer>
</body> </body>
</html> </html>