From c9ca8b1016d3c2fc8f050fbc92c1b904c14da221 Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Wed, 8 Apr 2015 23:25:07 +0200 Subject: [PATCH] Add a footer --- layouts/main.css | 18 ++++++++++++++++-- layouts/main.html | 6 +++++- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/layouts/main.css b/layouts/main.css index a3b4ebc..0a52092 100644 --- a/layouts/main.css +++ b/layouts/main.css @@ -31,9 +31,23 @@ body { margin-top: -2em; } -h1 { - display: inline; +footer { + position: absolute; + width: 100%; + bottom: 0; + left: 0; padding: 1em; + font-size: .9em; + color: rgb(89,84,80) +} + +footer span { + float: right; + margin-right: 2em; +} + +h1 { + margin: 1em 0 0 1em; font-size: 1.8em; font-weight: 700; color: rgb(81,94,102); diff --git a/layouts/main.html b/layouts/main.html index 1675820..6f43422 100644 --- a/layouts/main.html +++ b/layouts/main.html @@ -12,7 +12,11 @@

BREVE

a url shortener

-
$yield$
+
$yield$
+ \ No newline at end of file