From 7c7227a0b00d358195658a455d1a8817050df35f Mon Sep 17 00:00:00 2001 From: eliseo papa Date: Sat, 9 Mar 2013 01:11:14 +0000 Subject: abandon wkhtmltopdf in favour of just printing from the browser by means of a separate print.css --- Rakefile | 9 --- _layouts/cv.html | 3 +- cv_eliseo_papa.pdf | Bin 3313819 -> 0 bytes epcv-pdf.css | 183 ---------------------------------------------------- media/cv-print.css | 183 ++++++++++++++++++++++++++++++++++++++++++++++++++++ media/cv-screen.css | 183 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 368 insertions(+), 193 deletions(-) delete mode 100644 Rakefile delete mode 100644 cv_eliseo_papa.pdf delete mode 100644 epcv-pdf.css create mode 100644 media/cv-print.css create mode 100644 media/cv-screen.css 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 @@ {% if page.title %} {{ page.title }} | {% endif %} CV - + +
diff --git a/cv_eliseo_papa.pdf b/cv_eliseo_papa.pdf deleted file mode 100644 index a4e27c5..0000000 Binary files a/cv_eliseo_papa.pdf and /dev/null differ diff --git a/epcv-pdf.css b/epcv-pdf.css deleted file mode 100644 index 1eb41c7..0000000 --- a/epcv-pdf.css +++ /dev/null @@ -1,183 +0,0 @@ -/* 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: 80%; - line-height: 1.5em; - /*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: 33%; - 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: 33%; - 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/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/media/cv-screen.css b/media/cv-screen.css new file mode 100644 index 0000000..1eb41c7 --- /dev/null +++ b/media/cv-screen.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: 80%; + line-height: 1.5em; + /*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: 33%; + 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: 33%; + 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; +} + + + + -- cgit v1.2.3