changeset 105:490114e3d9e2

css (blog): set background to footer to make it visible is an image is in background
author Goffi <goffi@goffi.org>
date Mon, 22 Jan 2018 22:02:02 +0100
parents b12de12e2e5b
children 65d41e16d1e0
files default/base/base.html default/static/blog.css
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/default/base/base.html	Mon Jan 22 08:49:49 2018 +0100
+++ b/default/base/base.html	Mon Jan 22 22:02:02 2018 +0100
@@ -74,7 +74,7 @@
         {% block body %}
         {% endblock body %}
         </div>
-        <footer>{% block footer %}{% trans app_name=C.APP_NAME %}Powered by {{app_name}}{% endtrans %}{% endblock %}</footer>
+        <footer>{% block footer %}<span>{% trans app_name=C.APP_NAME %}Powered by {{app_name}}{% endtrans %}</span>{% endblock %}</footer>
     </main>
 </body>
 </html>
--- a/default/static/blog.css	Mon Jan 22 08:49:49 2018 +0100
+++ b/default/static/blog.css	Mon Jan 22 22:02:02 2018 +0100
@@ -309,6 +309,12 @@
         padding: 0 6em;
     }
 
+    footer span {
+        background: rgba(200,200,200,0.6);
+        border-radius: 0.5em 0.5em 0 0;
+        padding: 0 0.5em;
+    }
+
 }
 
 /*** clicked ***/