diff options
author | 2018-03-21 23:18:15 +0000 | |
---|---|---|
committer | 2018-03-21 23:18:15 +0000 | |
commit | cbbefec6bbc2b9d1a9be5f366a8a424b8c87a520 (patch) | |
tree | 635f39b0e59135defe34775c161606c7a287069b | |
parent | Reformat message arg for UIkit notification (diff) |
Some front-page restyling
-rw-r--r-- | static/style.css | 9 | ||||
-rw-r--r-- | templates/main/base.html | 4 | ||||
-rw-r--r-- | templates/main/index.html | 2 |
3 files changed, 14 insertions, 1 deletions
diff --git a/static/style.css b/static/style.css index 418ce8fa..9900a817 100644 --- a/static/style.css +++ b/static/style.css @@ -99,3 +99,12 @@ footer div.uk-section { footer div.uk-section div.uk-text-center { margin-top: 20px; } + +.uk-button-darkish { + background: rgba(0, 0, 0, 0.11); + border: 1px solid rgba(34, 34, 34, 0.09); +} + +.uk-button-darkish:hover { + background: rgba(0, 0, 0, 0.22); +}
\ No newline at end of file diff --git a/templates/main/base.html b/templates/main/base.html index 596d47e8..635bafce 100644 --- a/templates/main/base.html +++ b/templates/main/base.html @@ -21,7 +21,11 @@ {% endblock %} </head> <body class="page-{{ current_page }}"> + {% if current_page == "index" %} + <div class="uk-offcanvas-content uk-section-primary"> + {% else %} <div class="uk-offcanvas-content"> + {% endif %} {% include "main/navigation.html" %} {% if current_page != "index" %} {% block beta_error %} diff --git a/templates/main/index.html b/templates/main/index.html index c7a31f17..7e4c5e8f 100644 --- a/templates/main/index.html +++ b/templates/main/index.html @@ -18,7 +18,7 @@ on a complex project, we've got someone who can help you if you get stuck. </p> <div class="uk-container uk-align-center"> - <a href="/invite" class="uk-button uk-button-default uk-button-large "> + <a href="/invite" class="uk-button uk-button-large uk-button-darkish"> Join us on <i class="uk-icon fab fa-discord"></i> </a> </div> |