summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Rakefile9
-rw-r--r--_layouts/cv.html3
-rw-r--r--cv_eliseo_papa.pdfbin3313819 -> 0 bytes
-rw-r--r--media/cv-print.css183
-rw-r--r--media/cv-screen.css (renamed from epcv-pdf.css)0
5 files changed, 185 insertions, 10 deletions
diff --git a/Rakefile b/Rakefile
deleted file mode 100644
index dc1ce9e..0000000
--- a/Rakefile
+++ /dev/null
@@ -1,9 +0,0 @@
-task :pdf => "_site/index.html" do
- sh "wkhtmltopdf _site/index.html cv_eliseo_papa.pdf"
-end
-
-file "_site/index.html" do
- sh "jekyll"
-end
-
-task :default => ["html"] \ No newline at end of file
diff --git a/_layouts/cv.html b/_layouts/cv.html
index 38e5e0f..cf6053e 100644
--- a/_layouts/cv.html
+++ b/_layouts/cv.html
@@ -3,7 +3,8 @@
<head>
<meta charset=utf-8 />
<title> {% if page.title %} {{ page.title }} | {% endif %} CV</title>
- <link href="epcv.css" type="text/css" rel="stylesheet">
+ <link href="media/cv-screen.css" type="text/css" rel="stylesheet" media="screen">
+ <link href="media/cv-print.css" type="text/css" rel="stylesheet" media="print">
</head>
<body>
<div id="main">
diff --git a/cv_eliseo_papa.pdf b/cv_eliseo_papa.pdf
deleted file mode 100644
index a4e27c5..0000000
--- a/cv_eliseo_papa.pdf
+++ /dev/null
Binary files differ
diff --git a/media/cv-print.css b/media/cv-print.css
new file mode 100644
index 0000000..e032420
--- /dev/null
+++ b/media/cv-print.css
@@ -0,0 +1,183 @@
+/* http://meyerweb.com/eric/tools/css/reset/
+ v2.0 | 20110126
+ License: none (public domain)
+*/
+
+html, body, div, span, applet, object, iframe,
+h1, h2, h3, h4, h5, h6, p, blockquote, pre,
+a, abbr, acronym, address, big, cite, code,
+del, dfn, em, img, ins, kbd, q, s, samp,
+small, strike, strong, sub, sup, tt, var,
+b, u, i, center,
+dl, dt, dd, ol, ul, li,
+fieldset, form, label, legend,
+table, caption, tbody, tfoot, thead, tr, th, td,
+article, aside, canvas, details, embed,
+figure, figcaption, footer, header, hgroup,
+menu, nav, output, ruby, section, summary,
+time, mark, audio, video {
+ margin: 0;
+ padding: 0;
+ border: 0;
+ font-size: 100%;
+ font: inherit;
+ vertical-align: baseline;
+}
+/* HTML5 display-role reset for older browsers */
+article, aside, details, figcaption, figure,
+footer, header, hgroup, menu, nav, section {
+ display: block;
+}
+body {
+ line-height: 1;
+}
+ol, ul {
+ list-style: none;
+}
+blockquote, q {
+ quotes: none;
+}
+blockquote:before, blockquote:after,
+q:before, q:after {
+ content: '';
+ content: none;
+}
+table {
+ border-collapse: collapse;
+ border-spacing: 0;
+}
+
+/* end of reset */
+
+
+
+body {
+ font: normal normal 400;
+ font-size: 60%;
+ line-height: 1.2em;
+ /*also written as... font: normal normal 400 100%/1.5em;*/
+ font-family: Verdana,sans-serif;
+ margin-top: 1em;
+ margin-left: 1em;
+}
+
+p {
+ position: relative;
+ left: 25%;
+ margin-bottom: 0.7em;
+ margin-right: 0;
+ width: 65%;
+}
+
+code {
+ font: normal normal;
+ font-size: 60%;
+ /*line-height: 1em;*/
+ font-family: Menlo,monospace,sans-serif;
+ color: #aaa;
+}
+
+p code {
+ position: absolute;
+ left: -14%;
+}
+
+
+ul {
+ position: relative;
+ left: 25%;
+ width: 65%;
+ margin-bottom: 1.5em;
+ margin-top: -0.5em;
+}
+
+/*uncomment to get dashes in the list*/
+/*li:before {
+ content: "-";
+ position: relative;
+ left: -0.25em;
+}*/
+
+li {
+ /*second line indent*/
+ padding-left: 1.25em;
+ text-indent: -1.25em;
+ /*color: #777;*/
+}
+
+li ul {
+ position: relative;
+ left: 0;
+ width: 100%;
+ margin-top: 0.25em;
+}
+
+h1,h2,h3,h4 {
+ font-weight: 400;
+ font-family: Cousine,Verdana,sans-serif;
+ width: 65%;
+}
+
+h1 {
+ text-align: left;
+ font-size: 3em;
+ line-height: 1em;
+ position: relative;
+ left: 33%;
+}
+
+h1+p {
+ /*subtitle*/
+ font-style: italic;
+ font-size: 110%;
+}
+
+h2 {
+ font-size: 1.1em;
+ color: #a00;
+ margin-top: 3em;
+ position: relative;
+ top: 1.4em;
+}
+
+h3 {
+ font-size: 1em;
+ line-height: 2em;
+ position: relative;
+ left: 2%;
+ top: 1.7em;
+}
+
+a {
+ color: inherit;
+ /*text-decoration:none*/
+}
+
+a:hover {
+ color:#39f
+}
+
+blockquote {
+ margin-top: 1em;
+ position: relative;
+ left: 12%;
+ color: #aaa;
+ font-family: Menlo,monospace,sans-serif;
+ width: 65%;
+}
+
+blockquote a {
+ text-decoration: none;
+}
+
+em {
+ font-style: italic;
+}
+
+strong {
+ font-weight: bold;
+}
+
+
+
+
diff --git a/epcv-pdf.css b/media/cv-screen.css
index 1eb41c7..1eb41c7 100644
--- a/epcv-pdf.css
+++ b/media/cv-screen.css