Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
osp
tools.ethertoff
Commits
0f26b4cb
Commit
0f26b4cb
authored
Nov 29, 2019
by
gijs
Browse files
Should fix tag-targets in body text.
parent
b44cd332
Changes
4
Hide whitespace changes
Inline
Side-by-side
generator/templates/event-with-programme-items.html
View file @
0f26b4cb
...
...
@@ -50,6 +50,8 @@
{% endif %}
{% endblock %}
{% block sidebar-class %}programme-items{% endblock %}
{% block sidebar %}
<ul
class=
"programme-item-list"
>
{% for date, events in groupedProgrammeItems %}
...
...
generator/templates/generator_base_two_columns.html
View file @
0f26b4cb
...
...
@@ -5,7 +5,7 @@
{% block content %}
{% endblock %}
</main>
<aside>
<aside
class=
"{% block sidebar-class %}{% endblock %}"
>
{% block sidebar %}
{% endblock %}
</aside>
...
...
generator/templates/static/styles.simple.css
View file @
0f26b4cb
...
...
@@ -236,6 +236,10 @@ main, aside {
color
:
var
(
--bleu-bille
);
}
aside
.programme-items
{
scroll-padding-top
:
3em
;
}
.info
{
font-family
:
"Junicode-condensed"
;
font-weight
:
bold
;
...
...
@@ -387,6 +391,7 @@ main {
grid-column
:
content-start
/
content-end
;
overflow-y
:
auto
;
max-height
:
100vh
;
scroll-padding-top
:
5em
;
}
...
...
@@ -432,7 +437,7 @@ footer {
}
.breadcrumbs
li
{
display
:
inline
-block
;
display
:
inline
;
}
.breadcrumbs
ul
>
li
:before
{
...
...
@@ -623,6 +628,11 @@ a.tag {
z-index
:
1
;
}
.programme-item-list
.list-header
h3
{
margin-top
:
0
;
margin-bottom
:
0
;
}
.question
{
font-family
:
"Junicode-Condensed"
;
font-size
:
180%
;
...
...
@@ -648,12 +658,12 @@ section.audio {
padding-top
:
1em
;
}
.programme-item-list
:target:before
{
/*
.programme-item-list :target:before {
margin: -3em 0 0;
height: 3em;
content: '';
display: block;
}
}
*/
.tag
{
border-width
:
0px
1px
1px
0px
;
...
...
@@ -668,6 +678,13 @@ section.audio {
color
:
var
(
--orange-karel
);
}
.tag
:target:before
{
margin
:
-6em
0
0
;
height
:
6em
;
content
:
''
;
display
:
inline-block
;
}
.inline-navigation
ul
li
{
display
:
inline-block
;
margin-left
:
25px
;
...
...
generator/templates/tag.html
View file @
0f26b4cb
...
...
@@ -32,6 +32,16 @@
</ul>
{% 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 %}
<h3>
Activities
</h3>
<ul
class=
"simplelist"
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment