Verbesserungen allgemein

This commit is contained in:
Simon Martens
2023-03-21 13:23:36 +01:00
parent c28c982533
commit d28ebdc602
10 changed files with 22 additions and 29 deletions

View File

@@ -2,13 +2,13 @@
<header class="flex flex-row justify-between desktop:justify-start desktop:block">
<div class="flex flex-row desktop:block">
<img class="h-20 desktop:h-auto desktop:px-12 desktop:pb-4 desktop:pt-8" src="/static/logo/JLA.png" alt="jla-Logo">
<h1 class="px-3 py-2 pb-4 text-5xl font-bold text-center">
<h1 class="px-3 py-2 pb-4 text-5xl font-bold text-center border-t-gray-200 text-black bg-slate-100 border-l-2 border-r-2 border-slate-300 shadow-sm">
{{ config.title }}
</h1>
<h2 class="hidden desktop:block py-2 border-t-gray-200 px-5 text-xl text-black bg-slate-200 border-l-4 border-lenz-11-blue shadow-sm">
{# <h2 class="hidden desktop:block py-2 border-t-gray-200 px-5 text-xl text-black bg-slate-200 border-l-4 border-lenz-11-blue shadow-sm">
{{ config.shortdescription }}
{# <br> Jakob Michael Reinhold Lenz Archiv Heidelberg #}
</h2>
<br> Jakob Michael Reinhold Lenz Archiv Heidelberg
</h2> #}
</div>
<button class="border rounded-md w-16 h-16 desktop:hidden" id="navigation-button">
Menu

View File

@@ -6,7 +6,7 @@
{% if not entry.children.length %}
<a {% if entry.url == page.url %} class="active"{% endif %} href="{{ entry.url }}">{{ entry.title }}</a>
{% if entry.pdf == "yes" %}
<span class="text-sm inline-block bg-slate-200 ml-1 px-1.5 rounded relative bottom-0.5">mit PDF</span>
<span class="inline-block bg-slate-200 ml-1 px-1.5 rounded relative bottom-0.5">mit PDF</span>
{% endif %}
{% else %}
<div>{{ entry.title }}</div>
@@ -21,7 +21,7 @@
</li>
{%- endmacro %}
<nav class="hidden desktop:block py-4 sidebar-nav px-4" id="navigation">
<nav class="hidden-important desktop:!block py-4 sidebar-nav px-4" id="navigation">
<ul>
{%- for entry in navPages %}{{ renderNavListItem(entry) }}{%- endfor -%}
</ul>