mirror of
https://github.com/JuanCanham/fresh-themes.git
synced 2024-11-22 08:10:10 +00:00
feat: improve cosmetics in positive:html
This commit is contained in:
parent
86e5f11976
commit
85f9c0cc00
20
themes/positive/src/partials/education.hbs
Normal file
20
themes/positive/src/partials/education.hbs
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
{{#section "education"}}
|
||||||
|
<hr>
|
||||||
|
<section id="education">
|
||||||
|
{{#> header-education }}
|
||||||
|
{{> header-icon _title="EDUCATION" _section="education" _hdricon=(lookup . '_icon') }}
|
||||||
|
{{/header-education}}
|
||||||
|
{{#each r.education.history}}
|
||||||
|
{{#> body-education }}
|
||||||
|
<div>
|
||||||
|
<h3>{{#if title}}<em>{{{ title }}}</em>, {{/if}}{{{ institution }}}</h3>
|
||||||
|
<span class="tenure">{{dateRange .}}</span>
|
||||||
|
<span class="location">{{location}}</span>
|
||||||
|
{{{ summary }}}
|
||||||
|
{{> highlights }}
|
||||||
|
{{#if curriculum}}<span class="keywords">{{#each curriculum}}{{{ . }}} {{/each}}</span>{{/if}}
|
||||||
|
</div>
|
||||||
|
{{/body-education}}
|
||||||
|
{{/each}}
|
||||||
|
</section>
|
||||||
|
{{/section}}
|
26
themes/positive/src/partials/employment.hbs
Normal file
26
themes/positive/src/partials/employment.hbs
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{{#section "employment"}}
|
||||||
|
<hr>
|
||||||
|
<section id="employment">
|
||||||
|
{{#> header-employment }}
|
||||||
|
{{> header-icon _title="EMPLOYMENT" _section="employment" _hdricon=(lookup . '_icon') }}
|
||||||
|
{{/header-employment}}
|
||||||
|
{{#each r.employment.history}}
|
||||||
|
{{#> body-employment }}
|
||||||
|
<div>
|
||||||
|
<h3><em>{{ position }}</em>,
|
||||||
|
{{#if url }}
|
||||||
|
<a href="{{{ url }}}">{{ employer }}</a>
|
||||||
|
{{else}}
|
||||||
|
{{ employer }}
|
||||||
|
{{/if}}
|
||||||
|
</h3>
|
||||||
|
<span class="tenure">{{dateRange .}}</span>
|
||||||
|
<span class="location">{{location}}</span>
|
||||||
|
<p>{{{ summary }}}</p>
|
||||||
|
{{> highlights }}
|
||||||
|
{{#if keywords}}<span class="keywords">{{#each keywords}}{{{ . }}} {{/each}}</span>{{/if}}
|
||||||
|
</div>
|
||||||
|
{{/body-employment}}
|
||||||
|
{{/each}}
|
||||||
|
</section>
|
||||||
|
{{/section}}
|
25
themes/positive/src/partials/service.hbs
Normal file
25
themes/positive/src/partials/service.hbs
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
{{#section "service"}}
|
||||||
|
<hr>
|
||||||
|
<section id="service">
|
||||||
|
{{#> header-samples }}
|
||||||
|
{{> header-icon _title="SERVICE" _section="service" _hdricon=(lookup . '_icon') }}
|
||||||
|
{{/header-samples}}
|
||||||
|
{{#each r.service.history}}
|
||||||
|
{{#> body-service }}
|
||||||
|
<div>
|
||||||
|
<h3><em>{{ position }}</em>,
|
||||||
|
{{#if url}}
|
||||||
|
<a href="{{{ url }}}">{{ organization }}</a>
|
||||||
|
{{else}}
|
||||||
|
{{ organization }}
|
||||||
|
{{/if}}
|
||||||
|
</h3>
|
||||||
|
<span class="tenure">{{dateRange .}}</span>
|
||||||
|
<span class="location">{{location}}</span>
|
||||||
|
<p>{{{ summary }}}</p>
|
||||||
|
{{> highlights }}
|
||||||
|
</div>
|
||||||
|
{{/body-service }}
|
||||||
|
{{/each}}
|
||||||
|
</section>
|
||||||
|
{{/section}}
|
@ -34,27 +34,25 @@ h2 {
|
|||||||
|
|
||||||
h3, .tenure {
|
h3, .tenure {
|
||||||
font-size: 1.5em;
|
font-size: 1.5em;
|
||||||
font-weight: 300;
|
font-weight: 400;
|
||||||
}
|
}
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
width: 85%;
|
/*width: 85%;*/
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
table {
|
table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
font-size: 1.3em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
td:first-child {
|
td:first-child {
|
||||||
text-align: right;
|
|
||||||
color: #c00000;
|
|
||||||
letter-spacing: 2px;
|
letter-spacing: 2px;
|
||||||
font-weight: bold;
|
color: #bd5b5b;
|
||||||
|
font-size: 1.35rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
td:last-child {
|
td:last-child {
|
||||||
@ -76,7 +74,7 @@ section {
|
|||||||
}
|
}
|
||||||
|
|
||||||
section > div {
|
section > div {
|
||||||
margin-top: 1em;
|
margin-top: 2em;
|
||||||
overflow: hidden; /* Clear floated children */
|
overflow: hidden; /* Clear floated children */
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -111,11 +109,26 @@ p, li {
|
|||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
padding: 4px 6px;
|
padding: 4px 6px;
|
||||||
font-size: 85%;
|
font-size: 85%;
|
||||||
|
font-weight: 600;
|
||||||
|
margin-top: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.location {
|
.location {
|
||||||
line-height: 2em;
|
border: #e2aaaa dashed 1px;
|
||||||
color: #6F6F6F;
|
background-color: #ffffff;
|
||||||
|
padding: 3px 6px;
|
||||||
|
border-radius: 6px;
|
||||||
|
float: right;
|
||||||
|
margin-right: 5px;
|
||||||
|
float: right;
|
||||||
|
font-size: 85%;
|
||||||
|
color: #717171;
|
||||||
|
font-weight: 600;
|
||||||
|
margin-top: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.light-bubble {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
span.keywords {
|
span.keywords {
|
||||||
|
@ -38,19 +38,19 @@
|
|||||||
{{> section/skills _icon="icon-skills"}}
|
{{> section/skills _icon="icon-skills"}}
|
||||||
|
|
||||||
{{#*inline "icon-employment"}}<span class="fa fa-lg fa-building"></span>{{/inline}}
|
{{#*inline "icon-employment"}}<span class="fa fa-lg fa-building"></span>{{/inline}}
|
||||||
{{> section/employment _icon="icon-employment" }}
|
{{> employment _icon="icon-employment"}}
|
||||||
|
|
||||||
{{#*inline "icon-projects"}}<span class="fa fa-lg fa-star"></span>{{/inline}}
|
{{#*inline "icon-projects"}}<span class="fa fa-lg fa-star"></span>{{/inline}}
|
||||||
{{> section/projects _icon="icon-projects"}}
|
{{> section/projects _icon="icon-projects"}}
|
||||||
|
|
||||||
{{#*inline "icon-education"}}<span class="fa fa-lg fa-mortar-board"></span>{{/inline}}
|
{{#*inline "icon-education"}}<span class="fa fa-lg fa-mortar-board"></span>{{/inline}}
|
||||||
{{> section/education _icon="icon-education"}}
|
{{> education _icon="icon-education"}}
|
||||||
|
|
||||||
{{#*inline "icon-affiliation"}}<span class="fa fa-lg fa-share-alt"></span>{{/inline}}
|
{{#*inline "icon-affiliation"}}<span class="fa fa-lg fa-share-alt"></span>{{/inline}}
|
||||||
{{> section/affiliation _icon="icon-affiliation"}}
|
{{> section/affiliation _icon="icon-affiliation"}}
|
||||||
|
|
||||||
{{#*inline "icon-service"}}<span class="fa fa-lg fa-child"></span>{{/inline}}
|
{{#*inline "icon-service"}}<span class="fa fa-lg fa-child"></span>{{/inline}}
|
||||||
{{> section/service _icon="icon-service"}}
|
{{> service _icon="icon-service"}}
|
||||||
|
|
||||||
{{#*inline "icon-samples"}}<span class="fa fa-lg fa-share"></span>{{/inline}}
|
{{#*inline "icon-samples"}}<span class="fa fa-lg fa-share"></span>{{/inline}}
|
||||||
{{> section/samples _icon="icon-samples"}}
|
{{> section/samples _icon="icon-samples"}}
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
},
|
},
|
||||||
"fonts": {
|
"fonts": {
|
||||||
"all": {
|
"all": {
|
||||||
"default": [ "Calibri", "Open Sans", "sans-serif" ],
|
"default": [ "Open Sans", "sans-serif" ],
|
||||||
"heading1": [ "Open Sans", "Helvetica Neue", "Helvetica", "Lato", "sans-serif" ],
|
"heading1": [ "Open Sans", "Helvetica Neue", "Helvetica", "Lato", "sans-serif" ],
|
||||||
"heading2": [ "Helvetica Neue", "Helvetica", "Lato", "sans-serif" ]
|
"heading2": [ "Helvetica Neue", "Helvetica", "Lato", "sans-serif" ]
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user