on améliore la position des titres des agendas. Fix #53

This commit is contained in:
Jean-Marie Favreau 2023-12-12 23:08:14 +01:00
parent 1b02effc63
commit 592c74158f
3 changed files with 11 additions and 7 deletions

View File

@ -229,7 +229,15 @@ article.day>ul {
.right {
text-align: right;
}
header .title {
text-align: center;
}
.navigation {
@media only screen and (min-width: 992px) {
margin-top: -3.5em;
}
margin: 1em 0;
padding: 0;
display: flex;

View File

@ -21,13 +21,14 @@
{% endblock %}
{% block content %}
<h1>Événements de {{ calendar.firstdate | date:"F o" }}</h1>
{% include "agenda_culturel/filter-inc.html" with filter=filter %}
<article>
<header>
<div class="title"><h1>{{ calendar.firstdate | date:"F o" }}</h1></div>
<div class="navigation">
<div>
<a role="button" href="{% url 'month_view' calendar.previous_month.year calendar.previous_month.month %}?{{ filter.get_url }}">

View File

@ -26,17 +26,12 @@
<article>{% include "agenda_culturel/static_content.html" with name="home" url_path="/" %}</article>
{% endif %}
<hgroup>
<h1>Les événements de la semaine {{ week }}</h1>
<h2>Du {{ calendar.calendar_days_list.0.date }} au {{ calendar.calendar_days_list.6.date }} </h2>
</hgroup>
{% include "agenda_culturel/filter-inc.html" with filter=filter %}
<article>
<header>
<div class="title"><h1>Semaine du {{ calendar.calendar_days_list.0.date }}</h1></div>
<div class="navigation">
<div>
<a role="button" href="{% url 'week_view' calendar.previous_week.year calendar.previous_week|week %}?{{ filter.get_url }}">