From 45ca698ea09deb76c1dba13995fd22504900ae68 Mon Sep 17 00:00:00 2001 From: Joris Guyonvarch Date: Wed, 18 Feb 2015 00:16:31 +0100 Subject: Putting back contact to static page --- Pages/contact.html | 3 --- index.html | 4 ++++ router.js | 7 ++----- style.css | 4 ++-- 4 files changed, 8 insertions(+), 10 deletions(-) delete mode 100644 Pages/contact.html diff --git a/Pages/contact.html b/Pages/contact.html deleted file mode 100644 index ab7fb04..0000000 --- a/Pages/contact.html +++ /dev/null @@ -1,3 +0,0 @@ -
- Contact : Auriane Besnard -
diff --git a/index.html b/index.html index b15e16b..77582c6 100644 --- a/index.html +++ b/index.html @@ -81,5 +81,9 @@
+
+ Contact : Auriane Besnard +
+ diff --git a/router.js b/router.js index a14a308..c498c0c 100644 --- a/router.js +++ b/router.js @@ -24,12 +24,9 @@ function router() { var url = location.hash.slice(2) || 'presentation'; - var contentElement = document.getElementById('content'); fetchFile('Pages/' + url + '.md', function(contentMd) { - fetchFile('Pages/contact.html', function(contactHtml) { - var contentHtml = markdown.toHTML(contentMd); - contentElement.innerHTML = contentHtml + contactHtml; - }); + var contentElement = document.getElementById('content'); + contentElement.innerHTML = markdown.toHTML(contentMd); }); } diff --git a/style.css b/style.css index 6f1701c..7b814c5 100644 --- a/style.css +++ b/style.css @@ -25,7 +25,8 @@ body { #content { margin-top: 120px; background-color: white; - border-radius: 5px; + border-top-left-radius: 10px; + border-top-right-radius: 10px; padding: 50px 80px 30px; } @@ -92,7 +93,6 @@ strong { .contact { background-color: #EEEEEE; - border-radius: 5px; padding: 30px; text-align: center; color: #555555; -- cgit v1.2.3