css-team: topics frontpage
git-svn-id: svn+ssh://atelier.inf.usi.ch/home/bevilj/group-1@61 a672b425-5310-4d7a-af5c-997e18724b81
This commit is contained in:
parent
d0f943ae36
commit
60b95939eb
4 changed files with 12 additions and 8 deletions
site
|
@ -12,3 +12,4 @@ url: "" # the base hostname & protocol for your site
|
|||
future: true
|
||||
collections:
|
||||
authors:
|
||||
|
||||
|
|
|
@ -14,10 +14,10 @@ layout: main
|
|||
</article>
|
||||
<div class="box-arrows">
|
||||
{% if page.previous-page %}
|
||||
<a id="back" href="{{ site.baseurl }}/{{ page.previous-page }}" style="position:fixed;left:3em;"><i class="fas fa-angle-left"></i><span>Back</span></a>
|
||||
<a id="back" href="{{ site.baseurl }}/{{ page.previous-page }}"><i class="fas fa-angle-left"></i><span>Back</span></a>
|
||||
{% endif%}
|
||||
|
||||
{% if page.next-page %}
|
||||
<a id="next" href="{{ site.baseurl }}/{{ page.next-page }}" style="position:fixed;right:3em;"><span>Next</span><i class="fas fa-angle-right"></i></a>
|
||||
<a id="next" href="{{ site.baseurl }}/{{ page.next-page }}" ><span>Next</span><i class="fas fa-angle-right"></i></a>
|
||||
{% endif%}
|
||||
</div>
|
||||
|
|
|
@ -8,7 +8,12 @@ layout: main
|
|||
</header>
|
||||
|
||||
<div class="post-content">
|
||||
{{ content }}
|
||||
<ol>
|
||||
{% for item in site.pages %}
|
||||
{% if item.category == page.category and item.layout != "topic" %}
|
||||
<li>{{ item.title }}</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
|
|
@ -99,11 +99,7 @@ video{
|
|||
|
||||
.box-arrows {
|
||||
|
||||
position: fixed;
|
||||
bottom: 275px;
|
||||
|
||||
a{
|
||||
position:fixed;
|
||||
transition:300ms;
|
||||
text-decoration:none;
|
||||
cursor:pointer;
|
||||
|
@ -116,10 +112,12 @@ video{
|
|||
}
|
||||
|
||||
#back {
|
||||
float:left;
|
||||
left:3em;
|
||||
}
|
||||
|
||||
#next {
|
||||
float:right;
|
||||
right:3em;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue