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
3ed452ab
Commit
3ed452ab
authored
Nov 13, 2019
by
gijs
Browse files
Long text styles
parent
93cc017f
Changes
4
Hide whitespace changes
Inline
Side-by-side
generator/templates/note.html
View file @
3ed452ab
...
@@ -35,8 +35,11 @@
...
@@ -35,8 +35,11 @@
{{ note.event.summary }}
{{ note.event.summary }}
{% endif %}
{% endif %}
</section>
</section>
<h1>
{{ note.title }}
</h1>
{{ note.content }}
<section
class=
"long-text"
>
<h1>
{{ note.title }}
</h1>
{{ note.content }}
</section>
{% endblock %}
{% endblock %}
{% block footerresources %}
{% block footerresources %}
<script
src=
"{{ SITE_URL }}static/js/timejumper.js"
></script>
<script
src=
"{{ SITE_URL }}static/js/timejumper.js"
></script>
...
...
generator/templates/page.html
View file @
3ed452ab
...
@@ -3,6 +3,8 @@
...
@@ -3,6 +3,8 @@
{% block title %}Caveat → events → {{ event.title|striptags }}{% endblock %}
{% block title %}Caveat → events → {{ event.title|striptags }}{% endblock %}
{% block content %}
{% block content %}
<h1>
{{ page.title }}
</h1>
<section
class=
"long-text"
>
{{ page.content}}
<h1>
{{ page.title }}
</h1>
{{ page.content }}
</section>
{% endblock %}
{% endblock %}
\ No newline at end of file
generator/templates/produser.html
View file @
3ed452ab
...
@@ -11,8 +11,10 @@
...
@@ -11,8 +11,10 @@
<h1
class=
"produser"
>
{% if produser.name %}{{ produser.name }}{% else %}{{ produser.produser }}{% endif %}
</h1>
<h1
class=
"produser"
>
{% if produser.name %}{{ produser.name }}{% else %}{{ produser.produser }}{% endif %}
</h1>
{% if produser.trajectories %}
{% if produser.trajectories %}
{% for trajectory in produser.trajectories.targets %}
{% for trajectory in produser.trajectories.targets %}
<h2>
Trajectory
</h2>
<section
class=
"long-text"
>
{{ trajectory.content }}
<h2>
Trajectory
</h2>
{{ trajectory.content }}
</section>
{% endfor %}
{% endfor %}
{% endif %}
{% endif %}
...
...
generator/templates/static/styles.simple.css
View file @
3ed452ab
...
@@ -525,6 +525,8 @@ a.tag {
...
@@ -525,6 +525,8 @@ a.tag {
border-bottom: 2px solid;*/
border-bottom: 2px solid;*/
margin-left
:
-1em
;
margin-left
:
-1em
;
margin-right
:
-1em
;
margin-right
:
-1em
;
z-index
:
-1
;
margin-top
:
1em
;
}
}
.trajectory-list
section
.trajectory--item
{
.trajectory-list
section
.trajectory--item
{
...
@@ -538,6 +540,8 @@ a.tag {
...
@@ -538,6 +540,8 @@ a.tag {
outline
:
2px
solid
black
;
outline
:
2px
solid
black
;
outline-offset
:
0px
;
outline-offset
:
0px
;
padding
:
1em
;
padding
:
1em
;
position
:
relative
;
padding-bottom
:
2em
;
}
}
.trajectory-list
section
.trajectory--item
img
:nth-child
(
n
+
2
)
{
.trajectory-list
section
.trajectory--item
img
:nth-child
(
n
+
2
)
{
display
:
none
;
display
:
none
;
...
@@ -551,10 +555,15 @@ a.tag {
...
@@ -551,10 +555,15 @@ a.tag {
text-align
:
center
;
text-align
:
center
;
margin-bottom
:
auto
;
margin-bottom
:
auto
;
display
:
block
;
display
:
block
;
font-size
:
1.
6
em
;
font-size
:
1.
1
em
;
letter-spacing
:
0
;
letter-spacing
:
0
;
margin-bottom
:
0.5em
;
margin-bottom
:
0.5em
;
padding-bottom
:
.25em
;
left
:
0
;
margin-left
:
0
;
float
:
none
;
display
:
inline-block
;
}
}
.programme-item-list
{
.programme-item-list
{
...
@@ -660,7 +669,7 @@ section.audio {
...
@@ -660,7 +669,7 @@ section.audio {
position
:
sticky
;
position
:
sticky
;
top
:
-1em
;
top
:
-1em
;
background
:
white
;
background
:
white
;
z-index
:
1
;
z-index
:
5
;
}
}
.inline-navigation
ul
:before
{
.inline-navigation
ul
:before
{
...
@@ -718,4 +727,19 @@ section.audio {
...
@@ -718,4 +727,19 @@ section.audio {
width
:
41px
;
width
:
41px
;
padding-bottom
:
20px
;
padding-bottom
:
20px
;
margin-left
:
7px
;
margin-left
:
7px
;
/*! position: absolute; */
/*! right: 0; */
}
.read-further
{
margin-top
:
.5em
;
/*! display: block; */
/*! float: right; */
position
:
absolute
;
right
:
.5em
;
bottom
:
.5em
;
}
.long-text
p
+
p
{
margin-top
:
var
(
--line-height
);
}
}
\ No newline at end of file
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