Skip to content

Commit

Permalink
abandon wkhtmltopdf in favour of just printing from the browser by me…
Browse files Browse the repository at this point in the history
…ans of a separate print.css
  • Loading branch information
elipapa committed Mar 9, 2013
1 parent 3c23ddc commit 7c7227a
Show file tree
Hide file tree
Showing 5 changed files with 185 additions and 10 deletions.
9 changes: 0 additions & 9 deletions Rakefile

This file was deleted.

3 changes: 2 additions & 1 deletion _layouts/cv.html
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down
Binary file removed cv_eliseo_papa.pdf
Binary file not shown.
183 changes: 183 additions & 0 deletions media/cv-print.css
Original file line number Diff line number Diff line change
@@ -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;
}




File renamed without changes.

0 comments on commit 7c7227a

Please sign in to comment.