From bc8f087aaef57b6c39c0faa3c860e314fa72df0b Mon Sep 17 00:00:00 2001 From: Joris Guyonvarch Date: Sun, 15 Feb 2015 16:40:47 +0100 Subject: Adding a font for the page title --- Pages/contact.html | 3 +++ Pages/contact.md | 1 - pacifico.ttf | Bin 0 -> 75568 bytes script.js | 3 +-- style.css | 13 ++++++++++--- 5 files changed, 14 insertions(+), 6 deletions(-) create mode 100644 Pages/contact.html delete mode 100644 Pages/contact.md create mode 100644 pacifico.ttf diff --git a/Pages/contact.html b/Pages/contact.html new file mode 100644 index 0000000..ab7fb04 --- /dev/null +++ b/Pages/contact.html @@ -0,0 +1,3 @@ +
+ Contact : Auriane Besnard +
diff --git a/Pages/contact.md b/Pages/contact.md deleted file mode 100644 index 3d7a78f..0000000 --- a/Pages/contact.md +++ /dev/null @@ -1 +0,0 @@ -Contact : Auriane Besnard diff --git a/pacifico.ttf b/pacifico.ttf new file mode 100644 index 0000000..6d47cdc Binary files /dev/null and b/pacifico.ttf differ diff --git a/script.js b/script.js index d3aeb65..a14a308 100644 --- a/script.js +++ b/script.js @@ -26,9 +26,8 @@ var url = location.hash.slice(2) || 'presentation'; var contentElement = document.getElementById('content'); fetchFile('Pages/' + url + '.md', function(contentMd) { - fetchFile('Pages/contact.md', function(contactMd) { + fetchFile('Pages/contact.html', function(contactHtml) { var contentHtml = markdown.toHTML(contentMd); - var contactHtml = '
' + markdown.toHTML(contactMd) + '
'; contentElement.innerHTML = contentHtml + contactHtml; }); }); diff --git a/style.css b/style.css index 2a3dea9..bb5cd91 100644 --- a/style.css +++ b/style.css @@ -1,3 +1,8 @@ +@font-face { + font-family: pacifico; + src: url(pacifico.ttf); +} + body { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; background-color: #FBDEE3; @@ -6,18 +11,20 @@ body { } .header { - padding: 30px; + padding-top: 40px; + padding-bottom: 50px; text-align: center; - font-size: 40px; + font-size: 72px; color: #222222; text-shadow: 2px 2px #ADADAD; + font-family: pacifico; } #content { margin-top: 65px; background-color: white; border-radius: 5px; - padding: 30px 50px 30px 50px; + padding: 40px 50px 30px 50px; } h1 { -- cgit v1.2.3