redesign header

This commit is contained in:
Jonas Heinrich 2025-05-13 09:55:20 +02:00
parent 9747dfcaac
commit d07fc04e57
7 changed files with 196 additions and 48 deletions

View file

@ -30,6 +30,10 @@
<link rel="canonical" href="{{ request.build_absolute_uri }}">
<link rel="stylesheet" href="{% static 'froide_govplan/css/docsearch.css' %}">
<link href="https://unpkg.com/maplibre-gl@3.2.1/dist/maplibre-gl.css" rel="stylesheet" />
<script src="https://unpkg.com/maplibre-gl@3.2.1/dist/maplibre-gl.js"></script>
<!-- Favicons -->
<link rel="apple-touch-icon" href="{% static 'froide_govplan/images/apple-touch-icon.png' %}" sizes="180x180">
<link rel="icon" href="{% static 'froide_govplan/images/favicon-32x32.png' %}" sizes="32x32" type="image/png">
@ -153,12 +157,13 @@
.ellipsis {
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
}
/* Mobile: nur 1 Slide sichtbar */
@media (max-width: 768px) {
.carousel-inner .carousel-item > div {
@ -212,7 +217,14 @@
}
}
@media (max-width: 768px) {
.search {
display: none;
}
header {
justify-content: center;
}
}
</style>
{% block extra_css %}