Compare commits

...

2 commits

Author SHA1 Message Date
e9e5e7d30b
feat: portfolio styles 2024-12-16 12:00:33 +01:00
666fe03f2d
chore: update Django 2024-12-16 11:45:40 +01:00
4 changed files with 16 additions and 6 deletions

View file

@ -58,7 +58,7 @@
{{ post.title }}
</a>
</h3>
<p class="mt-5 leading-6">{{ post.intro }}</p>
<p class="mt-5 leading-6 min-h-0 lg:min-h-32">{{ post.intro }}</p>
</div>
{% if post.main_image %}
<div class="relative mx-auto">

View file

@ -4,8 +4,14 @@
{% block body_class %}template-portfolio{% endblock %}
{% block content %}
<h1>{{ page.title }}</h1>
{% block content %}
<section class="flex flex-col items-center justify-center h-full px-0 md:px-4 lg:px-8">
<article class="mb-16 px-1 md:px-4 lg:px-8">
<h1>{{ page.title }}</h1>
<div class="blog-content w-full">
{{ page.body }}
</div>
</article>
</section>
{% endblock %}

View file

@ -1,4 +1,4 @@
Django>=4.2,<5.2
Django>=5.1.4,<5.2
wagtail>=6.3.1,<6.4
whitenoise>=6.6,<7.0
wagtailcodeblock>=1.29.0.2,<2.0

View file

@ -45,7 +45,7 @@
}
h3 {
@apply mt-12 mb-2 text-xl sm:text-2xl lg:text-2xl leading-none font-extrabold tracking-tight text-black dark:text-white;
@apply mt-10 mb-3 text-xl sm:text-2xl lg:text-2xl leading-none font-extrabold tracking-tight text-black dark:text-white;
}
h4 {
@ -56,6 +56,10 @@
@apply my-2 mb-3 text-lg leading-relaxed;
}
li {
@apply my-2 text-lg;
}
.blog-content ul, .home-content ul {
@apply list-none list-inside;
}