Commit 0f26b4cb authored by gijs's avatar gijs
Browse files

Should fix tag-targets in body text.

parent b44cd332
...@@ -50,6 +50,8 @@ ...@@ -50,6 +50,8 @@
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% block sidebar-class %}programme-items{% endblock %}
{% block sidebar %} {% block sidebar %}
<ul class="programme-item-list"> <ul class="programme-item-list">
{% for date, events in groupedProgrammeItems %} {% for date, events in groupedProgrammeItems %}
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
{% block content %} {% block content %}
{% endblock %} {% endblock %}
</main> </main>
<aside> <aside class="{% block sidebar-class %}{% endblock %}">
{% block sidebar %} {% block sidebar %}
{% endblock %} {% endblock %}
</aside> </aside>
......
...@@ -236,6 +236,10 @@ main, aside { ...@@ -236,6 +236,10 @@ main, aside {
color: var(--bleu-bille); color: var(--bleu-bille);
} }
aside.programme-items {
scroll-padding-top: 3em;
}
.info { .info {
font-family: "Junicode-condensed"; font-family: "Junicode-condensed";
font-weight: bold; font-weight: bold;
...@@ -387,6 +391,7 @@ main { ...@@ -387,6 +391,7 @@ main {
grid-column: content-start / content-end; grid-column: content-start / content-end;
overflow-y: auto; overflow-y: auto;
max-height: 100vh; max-height: 100vh;
scroll-padding-top: 5em;
} }
...@@ -432,7 +437,7 @@ footer { ...@@ -432,7 +437,7 @@ footer {
} }
.breadcrumbs li { .breadcrumbs li {
display: inline-block; display: inline;
} }
.breadcrumbs ul > li:before { .breadcrumbs ul > li:before {
...@@ -623,6 +628,11 @@ a.tag { ...@@ -623,6 +628,11 @@ a.tag {
z-index: 1; z-index: 1;
} }
.programme-item-list .list-header h3 {
margin-top: 0;
margin-bottom: 0;
}
.question { .question {
font-family: "Junicode-Condensed"; font-family: "Junicode-Condensed";
font-size: 180%; font-size: 180%;
...@@ -648,12 +658,12 @@ section.audio { ...@@ -648,12 +658,12 @@ section.audio {
padding-top: 1em; padding-top: 1em;
} }
.programme-item-list :target:before { /* .programme-item-list :target:before {
margin: -3em 0 0; margin: -3em 0 0;
height: 3em; height: 3em;
content: ''; content: '';
display: block; display: block;
} } */
.tag { .tag {
border-width: 0px 1px 1px 0px; border-width: 0px 1px 1px 0px;
...@@ -668,6 +678,13 @@ section.audio { ...@@ -668,6 +678,13 @@ section.audio {
color: var(--orange-karel); color: var(--orange-karel);
} }
.tag:target:before {
margin: -6em 0 0;
height: 6em;
content: '';
display: inline-block;
}
.inline-navigation ul li { .inline-navigation ul li {
display: inline-block; display: inline-block;
margin-left: 25px; margin-left: 25px;
......
...@@ -32,6 +32,16 @@ ...@@ -32,6 +32,16 @@
</ul> </ul>
{% endif %} {% endif %}
{% if tag.reflections %}
<h3>reflections</h3>
<ul class="simplelist">
{% for link, _, reflection in tag.reflections|link_iterator %}
<li><a href="{{ reflection.link }}#{{ link.id }}">{% if link.label %}<span class="tag">{{ link.label }}</span> → {% endif %}{{ reflection }}</a></li>
{% endfor %}
</ul>
{% endif %}
{% if tag.events %} {% if tag.events %}
<h3>Activities</h3> <h3>Activities</h3>
<ul class="simplelist"> <ul class="simplelist">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment