Add darkmode

Prettier titles
This commit is contained in:
Michał Gdula 2023-07-21 13:25:33 +01:00
parent b6077f88ed
commit 0ddc2a20b2
15 changed files with 187 additions and 76 deletions

View file

@ -31,5 +31,6 @@
{% compress js %}
<script src="{% static 'js/navigation.js' %}" defer></script>
<script src="{% static 'js/scroll.js' %}" defer></script>
<script src="{% static 'js/title.js' %}" defer></script>
{% endcompress %}
</html>

View file

@ -1,2 +1,2 @@
<a href="https://github.com/Fluffy-Bean/Fluffys-website">Website source</a>
<p style="margin-left: 0.5rem">Designed by meeee</p>
<p>Designed by meeee</p>

View file

@ -9,7 +9,7 @@
<header>
<img src="{{ article.thumb.url }}" alt="{{ article.title }}">
<h1>{{ article.title }}</h1>
<p>{{ article.date }}</p>
<p>{{ article.date|date:"jS M, Y" }}</p>
</header>
{% endblock %}

View file

@ -4,7 +4,7 @@
{% for article in articles %}
<a href="{% url 'articles:detail' slug=article.slug %}" class="article">
<h2>{{ article.title }}</h2>
<p>{{ article.date|date:"jS M, Y" }}</p>
<p>{{ article.date|timesince }}</p>
</a>
{% endfor %}
{% endblock %}

View file

@ -2,7 +2,7 @@
{% load static %}
{% block content %}
<h1>Hello, stranger!</h1>
<h1 class="fancy">Leggy&nbsp;Land!!!!!!</h1>
<h2>About Meeeeee</h2>
<p>My name is Fluffy, I'm an 18-year-old nerd, who likes to code and tinker with computers!</p>
<img src="{% static 'images/sneak.png' %}" alt="FluffyBean" style="width:11rem;float:right;" width="178" height="126">