diff --git a/package.json b/package.json index 6f2dcf8..2d4359a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jsonresume-theme-boilerplate", - "version": "0.0.2", + "version": "0.1.0", "description": "Boilerplate theme for JSON Resume", "author": "Mattias Erming", "repository": { diff --git a/resume.template b/resume.template index b8cada7..c9177b8 100644 --- a/resume.template +++ b/resume.template @@ -8,7 +8,7 @@ {{#resume.basics}}{{name}}{{/resume.basics}} @@ -20,107 +20,109 @@

{{name}}

{{label}}

- {{#email}} -
- Email: - {{.}} -
- {{/email}} - {{#phone}} -
- Phone: - {{.}} -
- {{/phone}} - {{#website}} +
+ {{#if website}}
- Website: - {{.}} + Website + {{website}}
- {{/website}} - {{#summary}} + {{/if}} + {{#if email}} + + {{/if}} + {{#if phone}} +
+ Phone + {{phone}} +
+ {{/if}} +
+ {{#if summary}}
-

{{.}}

+

{{summary}}

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

Location

- {{#address}} + {{#if address}}
- Address: - {{.}} + Address + {{address}}
- {{/address}} - {{#postalCode}} + {{/if}} + {{#if postalCode}}
- Postal code: - {{.}} + Postal code + {{postalCode}}
- {{/postalCode}} - {{#city}} + {{/if}} + {{#if city}}
- City: - {{.}} + City + {{city}}
- {{/city}} - {{#countryCode}} + {{/if}} + {{#if countryCode}}
- Country code: - {{.}} + Country code + {{countryCode}}
- {{/countryCode}} - {{#region}} + {{/if}} + {{#if region}}
- Region - {{.}} + Region + {{region}}
- {{/region}} + {{/if}}
{{/location}} {{#if profiles.length}}

Profiles

- {{#profiles}} + {{#each profiles}}
- {{#network}} + {{#if network}} - {{.}} + {{network}} - {{/network}} - {{#username}} + {{/if}} + {{#if username}}
- {{.}} + {{username}}
- {{/username}} - {{#url}} + {{/if}} + {{#if url}}
- {{.}} + Link
- {{/url}} + {{/if}}
- {{/profiles}} + {{/each}}
{{/if}}
{{/resume.basics}} {{#if resume.work.length}} -

Work

+

Work

{{#each resume.work}}
- {{#company}} + {{#if company}}

- {{.}} + {{company}}

- {{/company}} + {{/if}}
- {{#startDate}} + {{#if startDate}} - {{.}} + {{startDate}} - {{/startDate}} + {{/if}} {{#if endDate}} - {{endDate}} @@ -131,26 +133,26 @@ {{/if}}
- {{#position}} + {{#if position}}
- {{.}} + {{position}}
- {{/position}} - {{#website}} + {{/if}} + {{#if website}} - {{/website}} - {{#summary}} + {{/if}} + {{#if summary}}
-

{{.}}

+

{{summary}}

- {{/summary}} + {{/if}} {{#if highlights.length}} {{/if}}
@@ -159,21 +161,21 @@ {{/if}} {{#if resume.volunteer.length}} -

Volunteer

-
+
+

Volunteer

{{#each resume.volunteer}}
- {{#organization}} + {{#if organization}}

- {{.}} + {{organization}}

- {{/organization}} + {{/if}}
- {{#startDate}} + {{#if startDate}} - {{.}} + {{startDate}} - {{/startDate}} + {{/if}} {{#if endDate}} - {{endDate}} @@ -184,26 +186,26 @@ {{/if}}
- {{#position}} + {{#if position}}
- {{.}} + {{position}}
- {{/position}} - {{#website}} + {{/if}} + {{#if website}} - {{/website}} - {{#summary}} + {{/if}} + {{#if summary}}
-

{{.}}

+

{{summary}}

- {{/summary}} + {{/if}} {{#if highlights.length}}
    - {{#highlights}} + {{#each highlights}}
  • {{.}}
  • - {{/highlights}} + {{/each}}
{{/if}}
@@ -212,16 +214,16 @@ {{/if}} {{#if resume.education.length}} -

Education

+

Education

{{#each resume.education}}
- {{#startDate}} + {{#if startDate}} - {{.}} + {{startDate}} - {{/startDate}} + {{/if}} {{#if endDate}} - {{endDate}} @@ -232,31 +234,31 @@ {{/if}}
- {{#institution}} + {{#if institution}}
- {{.}} + {{institution}}
- {{/institution}} - {{#area}} + {{/if}} + {{#if area}}
- {{.}} + {{area}}
- {{/area}} - {{#studyType}} + {{/if}} + {{#if studyType}}
- {{.}} + {{studyType}}
- {{/studyType}} - {{#gpa}} + {{/if}} + {{#if gpa}}
- GPA: {{.}} + GPA: {{gpa}}
- {{/gpa}} + {{/if}} {{#if courses.length}}
    - {{#courses}} + {{#each courses}}
  • {{.}}
  • - {{/courses}} + {{/each}}
{{/if}}
@@ -265,90 +267,90 @@ {{/if}} {{#if resume.awards.length}} -

Awards

+

Awards

{{#each resume.awards}}
- {{#title}} + {{#if title}}
- {{.}} + {{title}}
- {{/title}} - {{#date}} + {{/if}} + {{#if date}}
- {{.}} + {{date}}
- {{/date}} - {{#awarder}} + {{/if}} + {{#if awarder}}
- {{.}} + {{awarder}}
- {{/awarder}} - {{#summary}} + {{/if}} + {{#if summary}}
- {{.}} +

{{summary}}

- {{/summary}} + {{/if}}
{{/each}}
{{/if}} {{#if resume.publications.length}} -

Publications

+

Publications

{{#each resume.publications}}
- {{#name}} + {{#if name}}
- {{.}} + {{name}}
- {{/name}} - {{#publisher}} + {{/if}} + {{#if publisher}}
- {{.}} + {{publisher}}
- {{/publisher}} - {{#releaseDate}} + {{/if}} + {{#if releaseDate}}
- {{.}} + {{releaseDate}}
- {{/releaseDate}} - {{#website}} + {{/if}} + {{#if website}}
- Link + Link
- {{/website}} - {{#summary}} + {{/if}} + {{#if summary}}
- {{.}} +

{{summary}}

- {{/summary}} + {{/if}}
{{/each}}
{{/if}} {{#if resume.skills.length}} -

Skills

+

Skills

{{#each resume.skills}}
- {{#name}} + {{#if name}}
- {{.}} + {{name}}
- {{/name}} - {{#level}} + {{/if}} + {{#if level}}
- {{.}} + {{level}}
- {{/level}} + {{/if}} {{#if keywords.length}}
    - {{#keywords}} + {{#each keywords}}
  • {{.}}
  • - {{/keywords}} + {{/each}}
{{/if}}
@@ -357,40 +359,40 @@ {{/if}} {{#if resume.languages.length}} -

Languages

-
+
+

Languages

{{#each resume.languages}}
- {{#language}} + {{#if language}}
- {{.}} + {{language}}
- {{/language}} - {{#fluency}} + {{/if}} + {{#if fluency}}
- {{.}} + {{fluency}}
- {{/fluency}} + {{/if}}
{{/each}}
{{/if}} {{#if resume.interests.length}} -

Interests

+

Interests

{{#each resume.interests}}
- {{#name}} + {{#if name}}
- {{.}} + {{name}}
- {{/name}} + {{/if}} {{#if keywords.length}}
    - {{#keywords}} + {{#each keywords}}
  • {{.}}
  • - {{/keywords}} + {{/each}}
{{/if}}
@@ -399,20 +401,20 @@ {{/if}} {{#if resume.references.length}} -

References

+

References

{{#each resume.references}}
- {{#reference}} + {{#if reference}}
- {{.}} + {{reference}}
- {{/reference}} - {{#name}} + {{/if}} + {{#if name}}
- — {{.}} + — {{name}}
- {{/name}} + {{/if}}
{{/each}}
diff --git a/style.css b/style.css index eb91c38..1031fba 100644 --- a/style.css +++ b/style.css @@ -1,31 +1,54 @@ body { background: #fff; font: 15px Arial, Helvetica, sans-serif; + line-height: 1.4; margin: 50px 0; margin-bottom: 100px; } +em { + color: #999; +} p { line-height: 1.4; } +ul { + margin-bottom: 0; +} section { margin-bottom: 2em; } -.item + .item { - margin-top: 1em; +blockquote { + margin: 0; + margin-bottom: 1em; +} +.item { + margin-bottom: 1em; } #resume { margin: 0 auto; - max-width: 640px; + max-width: 480px; padding: 0 20px; } -#resume .label { - float: left; - width: 100px; +#basics { + margin-bottom: -10px; } #basics h3 { margin-top: 1.5em; } -#references blockquote { - margin: 0; - margin-bottom: 1em; +#basics .contact strong, +#location strong { + clear: both; + float: left; + line-height: 1.3; + width: 120px; } +#profiles, +#skills { + overflow: hidden; +} +#profiles .item, +#skills .item { + float: left; + width: 50%; +} +