diff --git a/themes/compact/src/compact-doc.xml b/themes/compact/src/compact-doc.xml index 706dcc4..e79e66c 100644 --- a/themes/compact/src/compact-doc.xml +++ b/themes/compact/src/compact-doc.xml @@ -175,7 +175,7 @@ - + @@ -198,7 +198,7 @@ - + @@ -357,6 +357,7 @@ + @@ -458,14 +459,15 @@ - + + {{ r.name }} - + @@ -492,13 +494,13 @@ - - + - {{ r.contact.website }} + {{trimURL r.contact.website }} diff --git a/themes/compact/src/compact-html.css b/themes/compact/src/compact-html.css index 69064fb..0e1740d 100644 --- a/themes/compact/src/compact-html.css +++ b/themes/compact/src/compact-html.css @@ -26,6 +26,11 @@ h3 { font-size: 1em; } +hr { + border: none; + border-top: 1px solid #B3B3B3; +} + main { padding: 15px; max-width: 700px; @@ -59,16 +64,22 @@ thead { main > header { width: 100%; float: left; - margin-bottom: 1em; + margin-bottom: 0; + position: relative; } main > header > h1 { float: left; font-size: 1.5em; + text-transform: uppercase; + line-height: 1; } #contact { float: right; + position: absolute; + right: 0; + bottom: 0; } #contact > div { diff --git a/themes/compact/src/compact-html.html b/themes/compact/src/compact-html.html index 1ba3ca0..3e15d4f 100644 --- a/themes/compact/src/compact-html.html +++ b/themes/compact/src/compact-html.html @@ -2,25 +2,25 @@ - {{ r.name }} + {{ RAW.name }}
-

{{ r.name }}

+

{{{ r.name }}}

- {{#if r.contact.email}}{{/if}} - {{#if r.contact.phone}}
{{ r.contact.phone }}
{{/if}} - {{#if r.contact.website}}{{/if}} + {{#if r.contact.email}}{{/if}} + {{#if r.contact.phone}}
{{ RAW.contact.phone }}
{{/if}} + {{#if r.contact.website}}{{/if}}
{{#if r.info.brief}}
- {{ r.info.brief }} + {{{ r.info.brief }}}
{{/if}} @@ -57,7 +57,7 @@

Employment


- {{#each r.employment.history }} + {{#each r.employment.history}} {{#compare @index 4 operator="<"}}

{{ position }}, {{#if url }} @@ -66,11 +66,11 @@ {{ employer }} {{/if}} {{formatDate safe.start 'YYYY-MM' }} — {{formatDate safe.end 'YYYY-MM' }}

-

{{ summary }}

+

{{{ summary }}}

{{#if highlights}}
    {{#each highlights}} -
  • {{ this }}
  • +
  • {{{ this }}}
  • {{/each}}
{{/if}} @@ -83,7 +83,7 @@
    {{/compare}} -
  • {{ position }}, {{ employer }}
  • +
  • {{{ position }}}, {{{ employer }}}
  • {{#if @last}}
@@ -100,7 +100,7 @@

Education


{{#each r.education.history}} -

{{ institution }} {{formatDate safe.start 'YYYY' }} — {{formatDate safe.end 'YYYY' }}

+

{{{ institution }}} {{formatDate safe.start 'YYYY' }} — {{formatDate safe.end 'YYYY' }}

{{/each}} @@ -119,11 +119,11 @@ {{ organization }} {{/if}} {{formatDate safe.start 'YYYY' }} — {{formatDate safe.end 'YYYY' }} -

{{ summary }}

+

{{{ summary }}}

{{#if highlights}}
    {{#each highlights}} -
  • {{ this }}
  • +
  • {{{ this }}}
  • {{/each}}
{{/if}} @@ -138,9 +138,9 @@

Writing


{{#each r.writing }} -

{{#if url}}{{ title }}{{else}}{{ title }}{{/if}}, +

{{#if url}}{{{ title }}}{{else}}{{{ title }}}{{/if}}, {{ publisher }} {{formatDate safe.date 'YYYY'}}

- {{# if summary}}{{ summary }}{{/if}} + {{# if summary}}{{{ summary }}}{{/if}} {{/each}} {{/if}}