mirror of
https://github.com/JuanCanham/fresh-themes.git
synced 2024-11-22 08:10:10 +00:00
Compact: Fix PDF format.
This commit is contained in:
parent
0475bb5a9e
commit
5e6fbf97f9
@ -1,6 +1,5 @@
|
|||||||
|
|
||||||
html, body, main, section, header, ul, p, h1, h2, h3 {
|
html, body, main, section, header, ul, p, h1, h2, h3 {
|
||||||
font-family: 'Calibri', 'Helvetica Neue', Helvetica, 'Segoe UI', sans-serif;
|
font-family: Calibri, 'Helvetica Neue', Helvetica, 'Segoe UI', sans-serif;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
margin: 0; padding: 0;
|
margin: 0; padding: 0;
|
||||||
display: block;
|
display: block;
|
||||||
@ -27,6 +26,11 @@ h3 {
|
|||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hr {
|
||||||
|
border: none;
|
||||||
|
border-top: 1px solid #B3B3B3;
|
||||||
|
}
|
||||||
|
|
||||||
main {
|
main {
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
max-width: 700px;
|
max-width: 700px;
|
||||||
@ -60,16 +64,22 @@ thead {
|
|||||||
main > header {
|
main > header {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
float: left;
|
float: left;
|
||||||
margin-bottom: 1em;
|
margin-bottom: 0;
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
main > header > h1 {
|
main > header > h1 {
|
||||||
float: left;
|
float: left;
|
||||||
font-size: 1.5em;
|
font-size: 1.5em;
|
||||||
|
text-transform: uppercase;
|
||||||
|
line-height: 1;
|
||||||
}
|
}
|
||||||
#contact {
|
#contact {
|
||||||
float: right;
|
float: right;
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#contact > div {
|
#contact > div {
|
||||||
|
@ -10,18 +10,18 @@
|
|||||||
<body>
|
<body>
|
||||||
<main>
|
<main>
|
||||||
<header>
|
<header>
|
||||||
<h1>{{ r.name }}</h1>
|
<h1>{{{ r.name }}}</h1>
|
||||||
<div id="contact">
|
<div id="contact">
|
||||||
{{#if r.contact.email}}<div class="email"><a href="mailto:{{ RAW.contact.email }}">{{ r.contact.email }}</a></div>{{/if}}
|
{{#if r.contact.email}}<div class="email"><a href="mailto:{{{ RAW.contact.email }}}">{{ RAW.contact.email }}</a></div>{{/if}}
|
||||||
{{#if r.contact.phone}}<div class="phone">{{ r.contact.phone }}</div>{{/if}}
|
{{#if r.contact.phone}}<div class="phone">{{ RAW.contact.phone }}</div>{{/if}}
|
||||||
{{#if r.contact.website}}<div class="website"><a href="{{ RAW.contact.website }}">{{ r.contact.website }}</a></div>{{/if}}
|
{{#if r.contact.website}}<div class="website"><a href="{{{ RAW.contact.website }}}">{{trimURL RAW.contact.website }}</a></div>{{/if}}
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
|
||||||
{{#if r.info.brief}}
|
{{#if r.info.brief}}
|
||||||
<section id="summary">
|
<section id="summary">
|
||||||
{{ r.info.brief }}
|
{{{ r.info.brief }}}
|
||||||
</section>
|
</section>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
@ -58,7 +58,7 @@
|
|||||||
<h2><span class="fa fa-building" style="vertical-align: top;"></span> Employment</h2><hr>
|
<h2><span class="fa fa-building" style="vertical-align: top;"></span> Employment</h2><hr>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
{{#each r.employment.history }}
|
{{#each r.employment.history}}
|
||||||
{{#compare @index 4 operator="<"}}
|
{{#compare @index 4 operator="<"}}
|
||||||
<h3><em>{{ position }}</em>,
|
<h3><em>{{ position }}</em>,
|
||||||
{{#if url }}
|
{{#if url }}
|
||||||
@ -67,11 +67,11 @@
|
|||||||
{{ employer }}
|
{{ employer }}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<span class="tenure">{{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }}<span></h3>
|
<span class="tenure">{{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }}<span></h3>
|
||||||
<p style="clear: both;">{{ summary }}</p>
|
<p style="clear: both;">{{{ summary }}}</p>
|
||||||
{{#if highlights}}
|
{{#if highlights}}
|
||||||
<ul>
|
<ul>
|
||||||
{{#each highlights}}
|
{{#each highlights}}
|
||||||
<li>{{ this }}</li>
|
<li>{{{ this }}}</li>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</ul>
|
</ul>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
@ -84,7 +84,7 @@
|
|||||||
<ul>
|
<ul>
|
||||||
{{/compare}}
|
{{/compare}}
|
||||||
|
|
||||||
<li>{{ position }}, {{ employer }}</li>
|
<li>{{{ position }}}, {{{ employer }}}</li>
|
||||||
|
|
||||||
{{#if @last}}
|
{{#if @last}}
|
||||||
</ul>
|
</ul>
|
||||||
@ -101,7 +101,7 @@
|
|||||||
<h2><span class="fa fa-mortar-board"></span> Education</h2><hr>
|
<h2><span class="fa fa-mortar-board"></span> Education</h2><hr>
|
||||||
</header>
|
</header>
|
||||||
{{#each r.education.history}}
|
{{#each r.education.history}}
|
||||||
<h3>{{ institution }} <span class="tenure">{{formatDate safe.start 'YYYY' }} — {{formatDate safe.end 'YYYY' }}<span></h3>
|
<h3>{{{ institution }}} <span class="tenure">{{formatDate safe.start 'YYYY' }} — {{formatDate safe.end 'YYYY' }}<span></h3>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
@ -120,11 +120,11 @@
|
|||||||
{{ organization }}
|
{{ organization }}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<span class="tenure">{{formatDate safe.start 'YYYY' }} — {{formatDate safe.end 'YYYY' }}<span></h3>
|
<span class="tenure">{{formatDate safe.start 'YYYY' }} — {{formatDate safe.end 'YYYY' }}<span></h3>
|
||||||
<p style="clear: both;">{{ summary }}</p>
|
<p style="clear: both;">{{{ summary }}}</p>
|
||||||
{{#if highlights}}
|
{{#if highlights}}
|
||||||
<ul>
|
<ul>
|
||||||
{{#each highlights}}
|
{{#each highlights}}
|
||||||
<li>{{ this }}</li>
|
<li>{{{ this }}}</li>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</ul>
|
</ul>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
@ -139,9 +139,9 @@
|
|||||||
<h2><span class="fa fa-book"></span> Writing</h2><hr>
|
<h2><span class="fa fa-book"></span> Writing</h2><hr>
|
||||||
</header>
|
</header>
|
||||||
{{#each r.writing }}
|
{{#each r.writing }}
|
||||||
<h3><em>{{#if url}}<a href="{{ url }}">{{ title }}</a>{{else}}{{ title }}{{/if}}</em>,
|
<h3><em>{{#if url}}<a href="{{{ url }}}">{{{ title }}}</a>{{else}}{{{ title }}}{{/if}}</em>,
|
||||||
{{ publisher }} <span class="tenure">{{formatDate safe.date 'YYYY'}}</span></h3>
|
{{ publisher }} <span class="tenure">{{formatDate safe.date 'YYYY'}}</span></h3>
|
||||||
{{# if summary}}{{ summary }}{{/if}}
|
{{# if summary}}{{{ summary }}}{{/if}}
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</section>
|
</section>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
Loading…
Reference in New Issue
Block a user