From 96d057ce8e7e00038310676f0ec84bdf6c8f8550 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Sko=C5=99epa?= <jakub@skorepa.info> Date: Thu, 18 Feb 2016 22:26:35 +0100 Subject: [PATCH] Add links to footer --- sass/style.scss | 6 +++++- templates/partials/footer.html.nunjucks | 12 ++++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/sass/style.scss b/sass/style.scss index 9175a06..f7a6657 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -39,6 +39,10 @@ footer.page-footer { padding-top: 0px; position: absolute; bottom: 0px; + height: 85px; + line-height: 35px; + padding: 5px 0 10px 0; + color: white; } #all { position:relative; @@ -46,7 +50,7 @@ footer.page-footer { min-height: 100vh; } #content { - margin-bottom: 50px; + margin-bottom: 90px; margin-top: 104px; } html, body { diff --git a/templates/partials/footer.html.nunjucks b/templates/partials/footer.html.nunjucks index 96dfd6f..e1e7dd5 100644 --- a/templates/partials/footer.html.nunjucks +++ b/templates/partials/footer.html.nunjucks @@ -1,9 +1,17 @@ </div> <!-- #content --> <footer class="page-footer blue"> - <div class="footer-copyright"> - <div class="container"> + <div class="row"> + <div class="container s6"> Stránky pro OK1KVK vytvořil <a class="orange-text text-lighten-3">Jakub Skořepa</a> 2015-2016 </div> + <div class="container s6"> + <a class="orange-text text-lighten-3" href="https://git.ok1kvk.cz/">Gitlab</a> | + <a class="orange-text text-lighten-3" href="https://ok1kvk.cz/forum">Fórum</a> | + <a class="orange-text text-lighten-3">Webkamera</a> + {% if type=="article" %} + | <a class="orange-text text-lighten-3" href="https://git.ok1kvk.cz/ok1kvk.cz/content/tree/master/articles/{{file | replace("clanek/","")}}.md">Zdroják tohoto článku</a> + {% endif %} + </div> </div> </footer> -- GitLab