diff options
author | 2018-03-18 00:46:14 +0100 | |
---|---|---|
committer | 2018-03-17 23:46:14 +0000 | |
commit | 478a873c03e50ff57525da8a8da67ac31efed891 (patch) | |
tree | 35fa4242324dff79cde6db4722c8255277e4563e | |
parent | `Github` => `GitHub` (diff) |
Fixed footer padding, fixed firefox vertical align issues, and improved the footer text. (#41)
-rw-r--r-- | static/style.css | 20 | ||||
-rw-r--r-- | templates/main/base.html | 2 | ||||
-rw-r--r-- | templates/main/navigation.html | 2 |
3 files changed, 21 insertions, 3 deletions
diff --git a/static/style.css b/static/style.css index 7eedd2cd..51f3c8da 100644 --- a/static/style.css +++ b/static/style.css @@ -17,10 +17,20 @@ background: #222222 !important; } -.uk-navbar-container { +.uk-navbar-container, +.uk-sticky-placeholder, +.uk-navbar-nav > li > a, +.uk-navbar-left > a{ height: 70px; } +.navbar-logo{ + margin-left: -10px; + padding-left: 3px; + margin-top: 2px; + height: 60% +} + .uk-navbar-dropdown { top: 45px !important; } @@ -62,4 +72,12 @@ img.uk-border-rounded { border: 1px #25292f solid; +} + +footer div.uk-section { + padding: 0 0 0 0; +} + +footer div.uk-section div.uk-text-center { + margin-top: 20px; }
\ No newline at end of file diff --git a/templates/main/base.html b/templates/main/base.html index e1fba15d..deeb2899 100644 --- a/templates/main/base.html +++ b/templates/main/base.html @@ -40,7 +40,7 @@ <footer> <div class="uk-section uk-section-secondary uk-container-medium uk-text-meta"> <div class="uk-text-center"> - <p>Developed collaboratively on <a href="https://github.com/discord-python/site">GitHub</a> • 2018</p> + <p>This website uses <a href="https://python.org">Python</a> and <a href="http://flask.pocoo.org/">Flask</a>, and was developed collaboratively on <a href="https://github.com/discord-python/site">GitHub</a>.</p> </div> </div> </footer> diff --git a/templates/main/navigation.html b/templates/main/navigation.html index 9d350aca..cabd0d87 100644 --- a/templates/main/navigation.html +++ b/templates/main/navigation.html @@ -7,7 +7,7 @@ <nav data-uk-navbar class="uk-navbar-container uk-navbar-transparent" uk-navbar="boundary-align: true"> <div class="uk-navbar-left uk-padding-remove-left"> <a href="/" class="uk-navbar-item uk-logo uk-padding-remove-left"> - <img src="/static/logos/logo_banner.png" style="margin-left: -10px; padding-left: 3px; height: 50%"/> + <img src="/static/logos/logo_banner.png" class="navbar-logo"/> </a> </div> |