mirror of
https://github.com/JuanCanham/fresh-themes.git
synced 2024-12-23 05:17:22 +00:00
Theme: Compact: Update PDF format from HTML.
This commit is contained in:
parent
05a875b837
commit
e23a1ed0a4
@ -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;
|
||||
|
@ -58,18 +58,41 @@
|
||||
<header>
|
||||
<h2>Employment</h2><hr>
|
||||
</header>
|
||||
|
||||
|
||||
|
||||
{% r.work.forEach( function( proj, idx, ar) { %}
|
||||
<h3><em>{{ proj.position }}</em>, {{ proj.company }} <span class="tenure">{{ proj.startDate }} — {{ proj.endDate }}<span></h3>
|
||||
<p style="clear: both;">{{ proj.summary|md }}</p>
|
||||
{% if( proj.highlights ) { %}
|
||||
{% if( idx < 4 ) { %}
|
||||
<h3><em>{{ proj.position }}</em>, {{ proj.company }} <span class="tenure">{{ proj.startDate }} — {{ proj.endDate }}<span></h3>
|
||||
<p style="clear: both;">{{ proj.summary|md }}</p>
|
||||
{% if( proj.highlights ) { %}
|
||||
<ul>
|
||||
{% proj.highlights.forEach( function( high, idx, ar) { %}
|
||||
<li>{{ high|mdin }}</li>
|
||||
{% }); %}
|
||||
</ul>
|
||||
{% } %}
|
||||
{% } else { %}
|
||||
|
||||
{% if( idx === 4 ) { %}
|
||||
<h3>Previously... <span class="tenure">{{ r.work[ r.work.length - 1 ].safeStartDate.format('YYYY') }} — {{ proj.safeEndDate.format('YYYY') }}<span></h3>
|
||||
<p style="clear: both;">Prior to {{ r.work[ 3 ].company }}, I worked on a range of projects for companies large and small.</p>
|
||||
<ul>
|
||||
{% proj.highlights.forEach( function( high, idx, ar) { %}
|
||||
<li>{{ high|md }}</li>
|
||||
{% }); %}
|
||||
{% } %}
|
||||
|
||||
|
||||
<li>{{ proj.position }}, {{ proj.company }}</li>
|
||||
|
||||
|
||||
{% if( idx === ar.length - 1 ) { %}
|
||||
</ul>
|
||||
{% } %}
|
||||
|
||||
{% } %}
|
||||
{% }); %}
|
||||
|
||||
|
||||
|
||||
</section>
|
||||
{% } %}
|
||||
|
||||
@ -81,7 +104,7 @@
|
||||
<h2>Education</h2><hr>
|
||||
</header>
|
||||
{% r.education.forEach( function( edu, idx, ar) { %}
|
||||
<h3>{{ edu.institution }} <span class="tenure">{{ edu.startDate }} — {{ edu.endDate }}<span></h3>
|
||||
<h3>{{ edu.institution }} <span class="tenure">{{ edu.safeStartDate.format('YYYY') }} — {{ edu.safeEndDate.format('YYYY') }}<span></h3>
|
||||
<p style="clear: both;">{{ edu.area|md }}</p>
|
||||
{% }); %}
|
||||
|
||||
@ -94,7 +117,7 @@
|
||||
<h2>Volunteer</h2><hr>
|
||||
</header>
|
||||
{% r.volunteer.forEach( function( vol, idx, ar ) { %}
|
||||
<h3>{{ vol.organization }} <span class="tenure">{{ vol.startDate }} — {{ vol.endDate }}<span></h3>
|
||||
<h3>{{ vol.organization }} <span class="tenure">{{ vol.safeStartDate.format('YYYY') }} — {{ vol.safeEndDate.format('YYYY') }}<span></h3>
|
||||
<p style="clear: both;">{{ vol.summary|md }}</p>
|
||||
{% if( vol.highlights ) { %}
|
||||
<ul>
|
||||
@ -108,7 +131,7 @@
|
||||
</section>
|
||||
{% } %}
|
||||
|
||||
{% if( r.publications ) { %}
|
||||
{% if( r.publications && r.publications.length ) { %}
|
||||
<section id="publications">
|
||||
<header>
|
||||
<h2>Publications</h2><hr>
|
||||
@ -121,8 +144,8 @@
|
||||
{% } else { %}
|
||||
<span class="res-label">{{ pub.name }}</span>, {{ pub.publisher }}
|
||||
{% } %}
|
||||
<span class="tenure">{{ pub.safeReleaseDate.format('YYYY') }}</span>
|
||||
</h4>
|
||||
<span class="tenure">Published on: {{ pub.releaseDate }}</span>
|
||||
|
||||
{{ pub.summary|md }}
|
||||
|
||||
@ -130,15 +153,14 @@
|
||||
</section>
|
||||
{% } %}
|
||||
|
||||
{% if( r.awards ) { %}
|
||||
{% if( r.awards && r.awards.length ) { %}
|
||||
<section id="awards">
|
||||
<header>
|
||||
<h2>Awards</h2><hr>
|
||||
</header>
|
||||
<span class="fa fa-lg fa-trophy"></span>
|
||||
{% r.awards.forEach( function( award, idx, ar) { %}
|
||||
<h4><span class="res-label">{{ award.title }}</span>, {{ award.awarder }}</h4>
|
||||
<span class="tenure">{{ award.date }}</span>
|
||||
<h4><span class="res-label">{{ award.title }}</span>, {{ award.awarder }} <span class="tenure">{{ award.safeDate.format('YYYY') }}</span></h4>
|
||||
{{ award.summary|md }}
|
||||
{% }); %}
|
||||
</section>
|
||||
|
Loading…
Reference in New Issue
Block a user