Cursor-Placement (TODO:, mobile, bilder, pdf)

This commit is contained in:
Simon Martens
2023-02-07 23:53:02 +01:00
parent f94d53f9b5
commit 62fdd332dc
4 changed files with 20 additions and 5 deletions

View File

@@ -90,6 +90,7 @@ eleventyNavigation:
<select onchange="window.location.href=this.value" id="listselect">
{% set ort = "" %}
{% set count = 0 %}
<option class="font-bold" value="#top">↑&nbsp;Übersicht</option>
{%- for post in collections.handschriften -%}
{% if count % 1 == 0 and ort !== post.data.Short %}
<option value="#{{ post.data.Ort }}">{{ post.data.Short }}</option>
@@ -106,7 +107,7 @@ eleventyNavigation:
{%- for post in collections.handschriften -%}
<div class="category handschrift-sammlung !bg-slate-100 !py-5 !mb-12" id="{{ post.data.Ort | safe }}">
<div class="text-xl basis-1/5 font-bold self-start z-0 sticky top-14 pr-3 pl-3">{{ post.data.Ort | safe }}</div>
<div class=" basis-4/5 flex flex-col md:flex-row flex-wrap gap-x-4 gap-y-5 justify-start">{{ post.content | safe }}</div>
<div class=" basis-4/5 flex flex-col sm:flex-row flex-wrap gap-x-4 gap-y-5 justify-start">{{ post.content | safe }}</div>
</div>
{%- endfor -%}
</div>