This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
<div class="vitae-container">
|
||||
{{ partial "cv-basic" . }}
|
||||
<div class="thirteen columns clearfix">
|
||||
{{ partial "introduction" . }}
|
||||
{{ partial "employment" . }}
|
||||
{{ partial "education" . }}
|
||||
{{ partial "skills" . }}
|
||||
{{ partial "initiatives" . }}
|
||||
{{ partial "skills" . }}
|
||||
{{ partial "hobbies" . }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,25 +1,41 @@
|
||||
<header class="three columns vitae-basic">
|
||||
<header class="three columns cv-basic">
|
||||
<img src="{{ .Site.BaseURL }}img/{{ .Site.Params.avatar }}" class="me">
|
||||
<h1>{{ .Site.Params.author }}</h1>
|
||||
<p>
|
||||
<a href="tel:{{ .Site.Params.vitae.tel_full }}">{{ .Site.Params.vitae.tel }}</a>
|
||||
{{ with .Site.Params.cv.tel_full }}
|
||||
<a href="tel:{{ . }}">{{ .Site.Params.cv.tel }}</a>
|
||||
{{ end }}
|
||||
</p>
|
||||
<address>
|
||||
<a href="{{ .Site.Params.vitae.google_maps }}">
|
||||
<div>{{ .Site.Params.vitae.address }}</div>
|
||||
<div>{{ .Site.Params.vitae.postcode }}</div>
|
||||
<div>{{ .Site.Params.vitae.city }}</div>
|
||||
<div>{{ .Site.Params.vitae.country }}</div>
|
||||
</a>
|
||||
{{ with .Site.Params.cv.google_maps }}<a href="{{ . }}">{{ else }}<div>{{end}}
|
||||
<div>{{ .Site.Params.cv.address }}</div>
|
||||
<div>{{ .Site.Params.cv.postcode }}</div>
|
||||
<div>{{ .Site.Params.cv.city }}</div>
|
||||
<div>{{ .Site.Params.cv.country }}</div>
|
||||
{{ with .Site.Params.cv.google_maps }}</a>{{ else }}</div>{{end}}
|
||||
</address>
|
||||
<p>
|
||||
<a href="{{ .Site.Params.vitae.website_full }}">{{ .Site.Params.vitae.website }}</a><br/>
|
||||
{{ if .Site.Params.cv.website }}
|
||||
<a class="print-as-is" href="{{ with .Site.Params.cv.website_full }}{{.}}{{else}}#{{end}}">{{ .Site.Params.cv.website }}</a>
|
||||
{{ end }}
|
||||
</p>
|
||||
<p>
|
||||
<a href="mailto:{{ .Site.Params.social.email }}">{{ .Site.Params.social.email }}</a>
|
||||
{{ with .Site.Params.social.email }}
|
||||
<a class="print-as-is" href="mailto:{{ . }}">{{ . }}</a>
|
||||
{{ end }}
|
||||
</p>
|
||||
<p>
|
||||
<a href="http://github.com/{{ .Site.Params.social.github }}"><i class="fa fa-github"></i> Github</a> /
|
||||
<a href="http://twitter.com/{{ .Site.Params.social.twitter }}"><i class="fa fa-twitter"></i> Twitter</a>
|
||||
{{ with .Site.Params.social.github }}
|
||||
<a class="print-as-is" href="http://github.com/{{.}}"><i class="fa fa-github"></i> /{{.}}</a>
|
||||
<br />
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.linkedin }}
|
||||
<a class="print-as-is" href="http://www.linkedin.com/in/{{.}}"><i class="fa fa-linkedin"></i> /{{.}}</a>
|
||||
<br />
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.twitter }}
|
||||
<a class="print-as-is" href="http://twitter.com/{{.}}"><i class="fa fa-twitter"></i> /{{.}}</a>
|
||||
<br />
|
||||
{{ end }}
|
||||
</p>
|
||||
</header>
|
||||
|
||||
@@ -1,9 +1,16 @@
|
||||
{{ $data := index .Site.Data .Site.Language.Lang }}
|
||||
{{ with $data.hobbies }}
|
||||
<section class="thirteen columns">
|
||||
<section class="thirteen columns hobbies">
|
||||
<h1>{{ .name }}</h1>
|
||||
<article>
|
||||
<p>{{ delimit .source ", " }}</p>
|
||||
<div class="twocol">
|
||||
{{ range .items }}
|
||||
<p class="hanging">
|
||||
<span class="hobby">{{ .name }}</span>{{with .desc}}:
|
||||
{{ . }}{{ end }}
|
||||
</p>
|
||||
{{ end }}
|
||||
</div>
|
||||
</article>
|
||||
</section>
|
||||
{{ end }}
|
||||
|
||||
16
themes/mauro/layouts/partials/introduction.html
Normal file
16
themes/mauro/layouts/partials/introduction.html
Normal file
@@ -0,0 +1,16 @@
|
||||
{{ $data := index .Site.Data .Site.Language.Lang }}
|
||||
{{ with $data.introduction }}
|
||||
<section class="thirteen columns introduction">
|
||||
{{ with .name }}<h1>{{.}}</h1>{{ end }}
|
||||
<article>
|
||||
{{ with .title }}
|
||||
<header>
|
||||
<h1>{{.}}</h1>
|
||||
</header>
|
||||
{{ end }}
|
||||
{{ range .content }}
|
||||
<p>{{.}}</p>
|
||||
{{ end }}
|
||||
</article>
|
||||
</section>
|
||||
{{ end }}
|
||||
@@ -14,3 +14,6 @@
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.7.0/highlight.min.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
||||
{{ end }}
|
||||
|
||||
<script src="https://printjs-4de6.kxcdn.com/print.min.js"></script>
|
||||
|
||||
|
||||
@@ -2,16 +2,38 @@
|
||||
{{ with $data.skills }}
|
||||
<section class="thirteen columns">
|
||||
<h1>{{ .name }}</h1>
|
||||
{{ range .content }}
|
||||
<article>
|
||||
{{ with .title }}
|
||||
<header>
|
||||
<h1>{{ .title }}</h1>
|
||||
<h1>{{ . }}</h1>
|
||||
</header>
|
||||
{{ range .source }}
|
||||
{{ end }}
|
||||
{{ with .freeform }}
|
||||
<p>
|
||||
{{ . }}
|
||||
</p>
|
||||
{{ end }}
|
||||
{{ range .ranked }}
|
||||
<p>
|
||||
{{ range $i, $seq := (seq .stars) }}<i class="fa fa-star"></i>{{ end }}{{ range $i, $seq := (seq (sub 5 (int .stars))) }}<i class="fa fa-star-o"></i>{{ end }}
|
||||
<em>{{ delimit .name "</em>, <em>" "</em> & <em>" }}</em>
|
||||
</p>
|
||||
{{ end }}
|
||||
{{ with .languages }}
|
||||
<div class=" twocol">
|
||||
{{ range . }}
|
||||
<p>
|
||||
<span class="language">{{ .name }}</span>
|
||||
<span class="proficiency">{{ .proficiency }}</span>
|
||||
{{ with .certification }}
|
||||
<span class="certification">{{ . }}</span>
|
||||
{{ end }}
|
||||
</p>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</article>
|
||||
{{ end }}
|
||||
</section>
|
||||
{{ end }}
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');
|
||||
|
||||
/* Main page with stikky-footer */
|
||||
html, body {
|
||||
height: 100%;
|
||||
background-color: #fff;
|
||||
font-family: 'Source Sans Pro', sans-serif;
|
||||
font-family: Inter, -apple-system, system-ui, BlinkMacSystemFont, 'Source Sans Pro', sans-serif;
|
||||
/* The html and body elements cannot have any padding or margin. */
|
||||
border-top: 3px solid #27A822;
|
||||
/* border-top: 3px solid #27A822; */
|
||||
}
|
||||
|
||||
/* Wrapper for page content to push down footer */
|
||||
@@ -189,7 +191,7 @@ a:hover {
|
||||
color: #6b6b6b;
|
||||
}
|
||||
div.footer{
|
||||
border-bottom: 5px solid #27A822;;
|
||||
/* border-bottom: 5px solid #27A822;; */
|
||||
}
|
||||
/* Set the fixed height of the footer here */
|
||||
/*.footer {
|
||||
|
||||
@@ -53,7 +53,7 @@ section {
|
||||
}
|
||||
|
||||
section > h1 {
|
||||
font-size: 140%;
|
||||
font-size: 120%;
|
||||
line-height: 120%;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
@@ -64,7 +64,7 @@ article {
|
||||
|
||||
article > header > h1 {
|
||||
font-size: 112%;
|
||||
font-weight: bold;
|
||||
font-weight: 600;
|
||||
line-height: 150%;
|
||||
margin-bottom: 0;
|
||||
color: inherit;
|
||||
@@ -108,23 +108,112 @@ em {
|
||||
/*margin-right: 6px;*/
|
||||
}
|
||||
|
||||
.twocol {
|
||||
column-count: 2;
|
||||
}
|
||||
|
||||
.hanging {
|
||||
padding-left: 2em;
|
||||
text-indent: -2em;
|
||||
}
|
||||
|
||||
.hobby {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.vitae-container span.language {
|
||||
font-weight: 500;
|
||||
padding-right: 0;
|
||||
}
|
||||
.vitae-container span.language::after {
|
||||
content: ": "
|
||||
}
|
||||
.vitae-container span.certification::before {
|
||||
content: "("
|
||||
}
|
||||
.vitae-container span.certification::after {
|
||||
content: ")"
|
||||
}
|
||||
|
||||
@media print {
|
||||
@page {
|
||||
margin: 15mm;
|
||||
}
|
||||
|
||||
a[href].print-as-is:after {
|
||||
content: "";
|
||||
}
|
||||
|
||||
body {
|
||||
font-size: 14pt;
|
||||
line-height: 21pt;
|
||||
font-size: 12pt;
|
||||
line-height: 16pt;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
page-break-after:avoid;
|
||||
page-break-inside:avoid;
|
||||
}
|
||||
|
||||
img {
|
||||
page-break-inside:avoid;
|
||||
page-break-after:avoid;
|
||||
}
|
||||
|
||||
article {
|
||||
page-break-inside: avoid;
|
||||
}
|
||||
|
||||
table, pre, ul, ol, dl {
|
||||
page-break-before: avoid;
|
||||
}
|
||||
|
||||
section > h1 {
|
||||
font-size: 11pt;
|
||||
font-weight: 700;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
article > header > h1 {
|
||||
font-weight: 600;
|
||||
font-size: 14pt;
|
||||
line-height: 140%;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.vitae-container {
|
||||
margin-top: 0;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.vitae-container > header {
|
||||
font-size: 80%;
|
||||
line-height: 160%;
|
||||
float: none;
|
||||
width: 4cm;
|
||||
position: fixed;
|
||||
}
|
||||
|
||||
.vitae-container > .thirteen {
|
||||
float: none;
|
||||
position: absolute;
|
||||
margin-left: 4.5cm;
|
||||
}
|
||||
|
||||
article > header > span {
|
||||
font-size: 80%;
|
||||
font-size: 12pt;
|
||||
font-weight: 500;
|
||||
line-height: 80%;
|
||||
}
|
||||
|
||||
article > p {
|
||||
font-size: 11pt;
|
||||
}
|
||||
|
||||
.introduction article > p {
|
||||
font-size: 12pt;
|
||||
}
|
||||
|
||||
footer {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user