From 69629c5c600864984a354a34657754b6a6e629de Mon Sep 17 00:00:00 2001 From: Rnhmjoj Date: Mon, 26 May 2014 00:41:41 +0200 Subject: [PATCH] Add footer --- _layouts/main.html | 3 +++ main.css | 28 ++++++++++++++++++++++++++-- 2 files changed, 29 insertions(+), 2 deletions(-) diff --git a/_layouts/main.html b/_layouts/main.html index b80c5c8..761f8e9 100644 --- a/_layouts/main.html +++ b/_layouts/main.html @@ -7,5 +7,8 @@
{{ content }}
+ diff --git a/main.css b/main.css index d430b4a..4a8235e 100644 --- a/main.css +++ b/main.css @@ -2,7 +2,7 @@ body { font-family: "PT Serif", serif; font-size: 1.1em; color: #555; - background: #afafaf; + background: #777; } h1 { @@ -19,6 +19,19 @@ p { margin-bottom: 2em; } +a { + transition: color .2s ease +} + +a:link, a:visited { + color: #fff; + text-decoration: none +} +a:hover { + color: #aaa; + text-decoration: underline; +} + img { border: 6px solid #dfdfdf; border-radius: 5px; @@ -32,7 +45,18 @@ img { margin-left: auto; margin-right: auto; background: #fff; - padding: 3em; + padding: 3.5em; border-radius: 3px; box-shadow: 0 4px 5px 0 #555 } + +footer { + text-align: center; + margin: auto; + margin-top: 2em; + margin-bottom: 2em; + padding: .5em; + width: 25em; + border-top: 2px solid #fff; + font-size: .9em; +}