styling fixes

This commit is contained in:
Jonas Heinrich 2025-07-10 10:52:28 +02:00
parent a9b2bf3560
commit 71c54a21c0
7 changed files with 35 additions and 25 deletions

View file

@ -240,12 +240,17 @@
}
}
.bg-body-tertiary {
margin-left: -50vw;
margin-right: -50vw;
padding-left: 50vw;
padding-right: 50vw;
}
.bg-body-tertiary {
margin-left: -50vw;
margin-right: -50vw;
padding-left: 50vw;
padding-right: 50vw;
}
.no-wrap {
white-space: nowrap;
}
</style>
{% block extra_css %}
{% endblock %}

View file

@ -190,8 +190,8 @@
<footer class="pt-5 text-body-secondary border-top mt-5">
<div class="row">
<div class="col-12 col-md-8">
<div class="row g-4">
<div class="col-12 col-md-6 col-lg-8">
<a href="/" class="d-flex align-items-center text-body-emphasis text-decoration-none text-reset mb-3">
<img src="{% static 'froide_govplan/images/apple-touch-icon.png' %}" class="bi me-2" height="35">
<span class="fs-6">VerwaltungsTracker</span>
@ -206,7 +206,7 @@
</a>
</div>
</div>
<div class="col-6 col-md">
<div class="col-6 col-md-3 col-lg-2">
<h5>Über uns</h5>
<ul class="list-unstyled text-small">
<li><a class="link-secondary text-decoration-none" href="{% url 'govplan:about' %}">Über uns</a></li>
@ -214,7 +214,7 @@
<li><a class="link-secondary text-decoration-none" href="{% url 'govplan:support' %}">Unterstützen</a></li>
</ul>
</div>
<div class="col-6 col-md">
<div class="col-6 col-md-3 col-lg-2">
<h5>Rechtliches</h5>
<ul class="list-unstyled text-small">
<li><a class="link-secondary text-decoration-none" href="{% url 'govplan:privacy' %}">Datenchutzerklärung</a></li>

View file

@ -2,9 +2,9 @@
{% get_plan_progress object_list as progress %}
<div class="row" style="align-items: center;">
<div class="row" style="align-items: center; row-gap: .5rem;">
<div class="col-sm">
<span class="text-body-secondary{% if not instance.extra_classes or "progress-lg" not in instance.extra_classes %}{% endif %}">{{ progress.count }} Vorhaben</span>
<span class="no-wrap text-body-secondary{% if not instance.extra_classes or "progress-lg" not in instance.extra_classes %}{% endif %}">{{ progress.count }} Vorhaben</span>
</div>
<div class="col-sm-10">
<div class="progress" {% if "progress-lg" in instance.extra_classes %}style="height: 1.5rem;"{% endif %}>

View file

@ -111,7 +111,7 @@
<div class="row featurette">
<div class="col-md-5 d-flex align-items-center justify-content-center order-1 order-md-2 mb-4">
<img src="{% static 'froide_govplan/images/magnify_pyramid.webp' %}" height="250px">
<img src="{% static 'froide_govplan/images/teaser_image_1.webp' %}" height="250px">
</div>
<div class="col-md-7 order-2 order-md-1">
<h2 class="featurette-heading fw-normal lh-1">Were watching you! <span class="text-body-secondary">Karlsruhe.</span></h2>