improve layout, version 31

This commit is contained in:
Konstantin 2024-04-08 20:30:34 +02:00
parent 3d2e15bedd
commit 0c61532746
8 changed files with 14 additions and 14 deletions

View file

@ -7,7 +7,7 @@
{% block content %}
<section class="py-24 sm:py-32 mx-4">
<div class="mx-auto max-w-7xl px-0 md:px-4 lg:px-8">
<div class="px-0 md:px-4 lg:px-8">
<div class="mx-auto max-w-2xl lg:max-w-4xl">
<h1 class="text-3xl font-bold tracking-tight sm:text-4xl">{{ page.title }}</h1>
<div class="mt-2 text-lg leading-8">{{ page.intro|richtext }}</div>

View file

@ -5,8 +5,8 @@
{% block body_class %}template-blogpage{% endblock %}
{% block content %}
<section class="flex flex-col items-center justify-center h-full max-w-7xl px-0 md:px-4 lg:px-8">
<article class="mb-16 max-w-7xl px-0 md:px-4 lg:px-8">
<section class="flex flex-col items-center justify-center h-full px-0 md:px-4 lg:px-8">
<article class="mb-16 px-0 md:px-4 lg:px-8">
<h1>{{ page.title }}</h1>
{% with authors=page.authors.all %}

View file

@ -3,8 +3,8 @@
{% block content %}
<section class="py-24 sm:py-32 mx-4">
<div class="mx-auto max-w-7xl px-0 md:px-4 lg:px-8">
<section class="h-full px-0 md:px-4 lg:px-8">
<div class="mb-16 px-0 md:px-4 lg:px-8">
{% if request.GET.tag %}
<h1>Showing pages tagged "{{ request.GET.tag }}"</h1>
{% endif %}