diff --git a/themes/compact/templates/pdf.css b/themes/compact/templates/pdf.css index 4eebd3e..33b6129 100644 --- a/themes/compact/templates/pdf.css +++ b/themes/compact/templates/pdf.css @@ -5,6 +5,19 @@ html, body, main, section, header, ul, p, h1, h2, h3 { display: block; } +a { + color: #0064BD; + text-decoration: none; +} + +a:visited { + color: #7B0796; +} + +a:hover { + text-decoration: underline; +} + h2 { text-transform: uppercase; } @@ -52,6 +65,7 @@ main > header { main > header > h1 { float: left; + font-size: 1.5em; } #contact { float: right; diff --git a/themes/compact/templates/pdf.html b/themes/compact/templates/pdf.html index 7ebff8e..9fce8de 100644 --- a/themes/compact/templates/pdf.html +++ b/themes/compact/templates/pdf.html @@ -58,18 +58,41 @@

Employment


+ + + {% r.work.forEach( function( proj, idx, ar) { %} -

{{ proj.position }}, {{ proj.company }} {{ proj.startDate }} — {{ proj.endDate }}

-

{{ proj.summary|md }}

- {% if( proj.highlights ) { %} + {% if( idx < 4 ) { %} +

{{ proj.position }}, {{ proj.company }} {{ proj.startDate }} — {{ proj.endDate }}

+

{{ proj.summary|md }}

+ {% if( proj.highlights ) { %} + + {% } %} + {% } else { %} + + {% if( idx === 4 ) { %} +

Previously... {{ r.work[ r.work.length - 1 ].safeStartDate.format('YYYY') }} — {{ proj.safeEndDate.format('YYYY') }}

+

Prior to {{ r.work[ 3 ].company }}, I worked on a range of projects for companies large and small.

+ {% } %} + {% } %} {% }); %} + + {% } %} @@ -81,7 +104,7 @@

Education


{% r.education.forEach( function( edu, idx, ar) { %} -

{{ edu.institution }} {{ edu.startDate }} — {{ edu.endDate }}

+

{{ edu.institution }} {{ edu.safeStartDate.format('YYYY') }} — {{ edu.safeEndDate.format('YYYY') }}

{{ edu.area|md }}

{% }); %} @@ -94,7 +117,7 @@

Volunteer


{% r.volunteer.forEach( function( vol, idx, ar ) { %} -

{{ vol.organization }} {{ vol.startDate }} — {{ vol.endDate }}

+

{{ vol.organization }} {{ vol.safeStartDate.format('YYYY') }} — {{ vol.safeEndDate.format('YYYY') }}

{{ vol.summary|md }}

{% if( vol.highlights ) { %}