commit c48ab721fb03f8babc7771b78d60b09eac8e98a6
parent 06db3518cac83a68ba50fc46f4ae6f0e12f90612
Author: parazyd <parazyd@dyne.org>
Date: Mon, 21 Jan 2019 22:54:53 +0100
Add background design.
Diffstat:
4 files changed, 21 insertions(+), 4 deletions(-)
diff --git a/static/css/diaspora.css b/static/css/diaspora.css
@@ -11,6 +11,20 @@ html, body {
font-family: 'Libre Baskerville', serif;
font-style: italic;
font-size: 1em;
+ background:
+ linear-gradient(to bottom right, #00a8ff, #f3818181),
+ url('/static/img/bg.png')
+ repeat ;
+}
+
+main {
+ background: #fff;
+ padding: 2em;
+ border: 0.5em solid;
+}
+
+footer {
+ text-align: center;
}
hr {
diff --git a/static/img/bg.png b/static/img/bg.png
Binary files differ.
diff --git a/templates/footer.html b/templates/footer.html
@@ -1,5 +1,9 @@
- <footer>
- <img src="/static/img/slatkisi.png" width="150">
- </footer>
+
+ <footer>
+ <img src="/static/img/slatkisi.png" width="150">
+ </footer>
+
+ </div>
+ </main>
</body>
</html>
diff --git a/templates/index.html b/templates/index.html
@@ -53,6 +53,5 @@
useful.</p>
</div>
- </main>
{% include 'footer.html' %}