From b6cc936c4663413cc6cfa0706d50f8629a5cb698 Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Thu, 11 Mar 2021 18:30:49 +0100 Subject: [PATCH] =?UTF-8?q?Odkazy=20uvnit=C5=99=20pati=C4=8Dky?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: #12 --- config.toml | 7 +++++++ sass/main.scss | 29 +++++++++++++++++++++++++---- templates/base.html | 3 +++ 3 files changed, 35 insertions(+), 4 deletions(-) diff --git a/config.toml b/config.toml index cd03a8a..5dadbd5 100644 --- a/config.toml +++ b/config.toml @@ -31,3 +31,10 @@ nav_rambotron = [ {path = "", name = "Témata závěrečných prací"}, {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"}, +] diff --git a/sass/main.scss b/sass/main.scss index 1bbb1e3..f305bd7 100644 --- a/sass/main.scss +++ b/sass/main.scss @@ -338,14 +338,35 @@ footer { margin-top: auto; padding: 3em; text-align: center; - color: #ECEFF4; + color: #FFF; background-color: #2E3440; 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; - p:nth-child(2) { - margin-top: 1rem; - font-weight: bold; + p { + font-size: .9em; + 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; + } + } } } diff --git a/templates/base.html b/templates/base.html index cffaedb..caf8692 100644 --- a/templates/base.html +++ b/templates/base.html @@ -31,6 +31,9 @@ {% block extra %}{% endblock extra %} {% block content %}{% endblock content %}