diff options
| author | 2018-02-21 12:41:05 +0000 | |
|---|---|---|
| committer | 2018-02-21 12:41:05 +0000 | |
| commit | 23e84ceebcd9068d505277bbed1870533a869ef7 (patch) | |
| tree | e66125e8fa24c02bc481b6658073ef128813604e | |
| parent | Dropdown instead of dropbar (diff) | |
Smaller navbar, move dropdown to the bottom of the navbar
| -rw-r--r-- | static/style.css | 8 | ||||
| -rw-r--r-- | templates/main/index.html | 5 | ||||
| -rw-r--r-- | templates/main/navigation.html | 2 | 
3 files changed, 9 insertions, 6 deletions
| diff --git a/static/style.css b/static/style.css index 71d2d0a7..3663447d 100644 --- a/static/style.css +++ b/static/style.css @@ -8,4 +8,12 @@  .uk-background-secondary .uk-navbar-dropbar {      background: #222222 !important; +} + +.uk-navbar-container { +    height: 60px; +} + +.uk-navbar-dropdown { +    top: 45px !important;  }
\ No newline at end of file diff --git a/templates/main/index.html b/templates/main/index.html index e498c761..3d88a4eb 100644 --- a/templates/main/index.html +++ b/templates/main/index.html @@ -2,11 +2,6 @@  {% block title %}Home{% endblock %}  {% block content %}  <div class="uk-section uk-section-primary" style="padding-top: 20px;"> -    <div class="uk-container uk-container-expand" style="padding-bottom: 20px;"> -        <a class="uk-button uk-button-default" href="">Page One</a> -        <a class="uk-button uk-button-default" href="">Page Two</a> -        <a class="uk-button uk-button-default" href="">Page Three</a> -    </div>      <div class="uk-container uk-text-center">  {#        <img src="/static/logos/logo_banner.png" style="height: 150px; margin: auto;" />#}          <p> diff --git a/templates/main/navigation.html b/templates/main/navigation.html index 0db112e2..88fc3585 100644 --- a/templates/main/navigation.html +++ b/templates/main/navigation.html @@ -1,5 +1,5 @@  <div class="uk-container uk-container-expand uk-background-secondary uk-light"> -    <nav data-uk-navbar class="uk-navbar-container uk-navbar-transparent" uk-navbar> +    <nav data-uk-navbar class="uk-navbar-container uk-navbar-transparent" uk-navbar="boundary-align: true; align: right">          <div class="uk-navbar-left">              <a href="/" class="uk-navbar-item uk-logo">                  <img src="/static/logos/logo_banner.png" style="height: 50px;"/> | 
