fr
/
web
forked from kittv/web
1
0
Fork 0

Odkazy uvnitř patičky

Closes: #12
search
Emil Miler 4 years ago
parent a44365903c
commit b6cc936c46

@ -31,3 +31,10 @@ nav_rambotron = [
{path = "", name = "Témata závěrečných prací"}, {path = "", name = "Témata závěrečných prací"},
{path = "", name = "Okruhy k SZZ"} {path = "", name = "Okruhy k SZZ"}
] ]
nav_footer = [
{path = "", name = "Bakalářská studia"},
{path = "", name = "Magisterská studia"},
{path = "", name = "Harmonogram ak. roku"},
{path = "", name = "Formuláře"},
]

@ -338,14 +338,35 @@ footer {
margin-top: auto; margin-top: auto;
padding: 3em; padding: 3em;
text-align: center; text-align: center;
color: #ECEFF4; color: #FFF;
background-color: #2E3440; background-color: #2E3440;
border-top: 5px solid; border-top: 5px solid;
border-image: linear-gradient(to right, #BF616A 20%, #D08770 20%, #D08770 40%, #EBCB8B 40%, #EBCB8B 60%, #A3BE8C 60%, #A3BE8C 80%, #B48EAD 80%) 5; border-image: linear-gradient(to right, #BF616A 20%, #D08770 20%, #D08770 40%, #EBCB8B 40%, #EBCB8B 60%, #A3BE8C 60%, #A3BE8C 80%, #B48EAD 80%) 5;
p:nth-child(2) { p {
margin-top: 1rem; font-size: .9em;
font-weight: bold; color: #D8DEE9;
}
p:last-child { margin-top: .5em }
nav {
margin-bottom: 3em;
font-size: 1rem;
ul {
display: flex;
justify-content: center;
a { padding: 1em }
a:hover{ text-decoration: underline }
li::after {
content: "\007C";
color: #4C566A;
}
li:last-child::after {
display: none;
}
}
} }
} }

@ -31,6 +31,9 @@
{% block extra %}{% endblock extra %} {% block extra %}{% endblock extra %}
{% block content %}{% endblock content %} {% block content %}{% endblock content %}
<footer> <footer>
<nav>
{{ macro::nav_list_items(items=config.extra.nav_footer) }}
</nav>
<p>Magdalény Rettigové 4, 116 39, Praha 1</p> <p>Magdalény Rettigové 4, 116 39, Praha 1</p>
<p>Praha UK PedF KITTV, {{ now() | date(format="%Y") }}</p> <p>Praha UK PedF KITTV, {{ now() | date(format="%Y") }}</p>
</footer> </footer>

Loading…
Cancel
Save