aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoris Guyonvarch2015-02-15 16:40:47 +0100
committerJoris Guyonvarch2015-02-15 16:40:47 +0100
commitbc8f087aaef57b6c39c0faa3c860e314fa72df0b (patch)
treea555a19c7788651ac9d2daaab340b4c2206c7d12
parente0aa371f230495abd53b01535cbba40e09c0b59c (diff)
downloadmakeup-bc8f087aaef57b6c39c0faa3c860e314fa72df0b.tar.gz
makeup-bc8f087aaef57b6c39c0faa3c860e314fa72df0b.tar.bz2
makeup-bc8f087aaef57b6c39c0faa3c860e314fa72df0b.zip
Adding a font for the page title
-rw-r--r--Pages/contact.html3
-rw-r--r--Pages/contact.md1
-rw-r--r--pacifico.ttfbin0 -> 75568 bytes
-rw-r--r--script.js3
-rw-r--r--style.css13
5 files changed, 14 insertions, 6 deletions
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 @@
+<div class="contact">
+ Contact : Auriane Besnard
+</div>
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
--- /dev/null
+++ b/pacifico.ttf
Binary files 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 = '<div class=contact>' + markdown.toHTML(contactMd) + '</div>';
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 {