]> git.0d.be Git - chloro.git/commitdiff
templates: add contact email in footer
authorFrédéric Péters <fpeters@0d.be>
Sat, 21 Mar 2020 15:12:05 +0000 (16:12 +0100)
committerFrédéric Péters <fpeters@0d.be>
Sat, 21 Mar 2020 15:12:05 +0000 (16:12 +0100)
chloro/phyll/static/css/style.scss
chloro/phyll/templates/phyll/base.html

index bce2e84cdf736e2cf87b70c4282e069e28654aa0..5e2f05b53e4303d344bac1a79d52d1cc87b481c6 100644 (file)
@@ -55,11 +55,14 @@ div.actions {
        }
 }
 
-main {
+main, footer {
        margin: 0 4em;
        padding: 1em;
-       background: #fafaff;
        max-width: 70em;
+}
+
+main {
+       background: #fafaff;
        min-height: 70vh;
        clip-path: polygon(0px 0px, 96.35% -24px, 101.99% 7.86%, 100.61% 103.56%, 10% 100%, 0% 100%, 0px 0px);
 }
@@ -171,3 +174,10 @@ main {
                }
        }
 }
+
+footer {
+       p {
+               text-align: right;
+               font-size: 100%;
+       }
+}
index de553ab47a7d01823bdc3bace5ccceadfaaf1409..aa0f2cff740907430fb4ab2b38daecfb7a9e9451 100644 (file)
@@ -17,6 +17,9 @@
       {% block body %}
       {% endblock %}
     </main>
+    <footer>
+      <p>Contact : <a href="mailto:fpeters@0d.be">fpeters@0d.be</a></p>
+    </footer>
   {% if request.user.is_staff %}
   <div class="actions">
     <a href="/new-note/">{% trans "New Note" %}</a>