aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Pages/contact.html3
-rw-r--r--index.html4
-rw-r--r--router.js7
-rw-r--r--style.css4
4 files changed, 8 insertions, 10 deletions
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 @@
-<div class="contact">
- Contact : Auriane Besnard
-</div>
diff --git a/index.html b/index.html
index b15e16b..77582c6 100644
--- a/index.html
+++ b/index.html
@@ -81,5 +81,9 @@
<div id="content"></div>
+ <div class="contact">
+ Contact : Auriane Besnard
+ </div>
+
</body>
</html>
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;