commit 687104f098a35f0c557ee095b135af5bf487a692
parent 9c29c6706ad94f8c0dcf94c2b65850b7f210064a
Author: Hugo Soucy <hugo.soucy@equisoft.com>
Date: Sun, 29 Sep 2019 19:35:23 -0400
Update the cv css and template
Diffstat:
2 files changed, 62 insertions(+), 29 deletions(-)
diff --git a/static/src/css/modules/_cv.scss b/static/src/css/modules/_cv.scss
@@ -1,6 +1,41 @@
// CV
.cv {
- > main {
+ > main,
+ > footer {
padding: 2rem;
}
}
+
+.cv__hr {
+ margin-top: 2.5rem;
+}
+
+.cv__contactinfos {
+ overflow: hidden;
+}
+
+.cv__contactinfos__key,
+.cv__contactinfos__value {
+ float: left;
+}
+
+.cv__contactinfos__value + .cv__contactinfos__key {
+ clear: left;
+}
+
+.cv__contactinfos__key::after {
+ content: "\00a0:\00a0";
+ display: inline;
+}
+
+.cv__experience,
+.cv__education,
+.cv__course {
+ margin-bottom: 1.5rem;
+}
+
+.cv__experience__name,
+.cv__education__name,
+.cv__course__name {
+ font-size: 1.3125rem;
+}
diff --git a/templates/curriculum-vitae.mustache b/templates/curriculum-vitae.mustache
@@ -4,40 +4,38 @@
<body class="cv" id="curriculum">
{{> nav }}
- <main>
- {{{ content }}}
- {{{ cv }}}
+ {{{ content }}}
+ {{{ cv }}}
- <footer>
- <address>
- <hr/>
- <p>
- <a href="https://github.com/hs0ucy/Curriculum-vitae/raw/master/curriculum-vitae.pdf"
- rel="external">Télécharger le PDF</a> (117 Ko).
- </p>
+ <footer>
+ <address>
+ <hr/>
+ <p>
+ <a href="https://github.com/hs0ucy/Curriculum-vitae/raw/master/curriculum-vitae.pdf"
+ rel="external">Télécharger le PDF</a> (117 Ko).
+ </p>
- <p>
- {{# permalink }}
- <a class="u-url u-uid u-syndication bookmark"
- href="{{{ permalink }}}"
- rel="bookmark">#</a>
- {{/ permalink }}
+ <p>
+ {{# permalink }}
+ <a class="u-url u-uid u-syndication bookmark"
+ href="{{{ permalink }}}"
+ rel="bookmark">#</a>
+ {{/ permalink }}
- {{# shortlink }}
- (<a href="{{{ site.url }}}/{{{ shortlink }}}"
- type="text/html"
- rel="shortlink">{{{ shortlink }}}</a>)
- {{/ shortlink }}
+ {{# shortlink }}
+ (<a href="{{{ site.url }}}/{{{ shortlink }}}"
+ type="text/html"
+ rel="shortlink">{{{ shortlink }}}</a>)
+ {{/ shortlink }}
- Créé à {{ site.author.locality }} le <time datetime="{{ date }}T{{ datetime }}">{{ date }}</time> par
+ Créé à {{ site.author.locality }} le <time datetime="{{ date }}T{{ datetime }}">{{ date }}</time> par
- <a href="{{{ site.baseurl }}}#hs" rel="author"><i>{{ site.author.name }}</i></a>.
+ <a href="{{{ site.baseurl }}}#hs" rel="author"><i>{{ site.author.name }}</i></a>.
- Modifié le <time>{{ updated }}</time>.
- </p>
- </address>
- </footer>
- </main>
+ Modifié le <time>{{ updated }}</time>.
+ </p>
+ </address>
+ </footer>
{{> bottom_script }}
</body>
</html>