summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranck Cuny <fcuny@twitter.com>2016-01-03 11:25:13 -0800
committerFranck Cuny <fcuny@twitter.com>2016-01-03 11:26:23 -0800
commit13838031871a593de32e1c6075eb873d6003da75 (patch)
tree6bd9d35bb7a36f89d711c7f12d763942a74ed737
parentFix URL to load the font from google font. (diff)
downloadlumberjaph-13838031871a593de32e1c6075eb873d6003da75.tar.gz
Fix the footer on small screen.
The size of the footer was the same on a big and small screen. Add a rule to reduce the size of the footer similar to the other elements. Closes #1.
Diffstat (limited to '')
-rw-r--r--_includes/footer.html2
-rw-r--r--static/css/style.css8
2 files changed, 9 insertions, 1 deletions
diff --git a/_includes/footer.html b/_includes/footer.html
index 2fb2174..5fab340 100644
--- a/_includes/footer.html
+++ b/_includes/footer.html
@@ -1,4 +1,5 @@
<footer>
+
<div id="footer">
<p id='copyright'>&copy; 2008 &ndash; present Franck Cuny // <a href="https://twitter.com/franckcuny">@franckcuny</a>
@@ -6,4 +7,5 @@
<a href='/about'>About</a> ]</p>
</div>
+
</footer>
diff --git a/static/css/style.css b/static/css/style.css
index 33b63ff..1aed439 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -46,7 +46,7 @@ ul.spaced li {
}
#footer p {
- width: 800px;
+ width: 720px;
margin: 0 auto;
margin-top: 2em;
text-align: center;
@@ -122,4 +122,10 @@ code {
margin-left: 0.2em;
text-align: justify;
}
+ div#footer {
+ width: 90%;
+ }
+ #footer p {
+ width: 90%;
+ }
}