Skip to content

Commit

Permalink
Add footer
Browse files Browse the repository at this point in the history
  • Loading branch information
OmeGak committed Feb 3, 2017
1 parent b4aeb47 commit 32282ab
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 0 deletions.
32 changes: 32 additions & 0 deletions assets/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,32 @@ body {
}
}

.footer {
border-top: 2px solid $red;
color: $light-gray;
display: flex;
justify-content: center;
font-size: 9pt;
margin: 0 1cm;
padding: 0.5em 0;
text-align: center;

.love-left {
flex: 1;
text-align: right;
}

.love-center {
flex-grow: 0;
margin: 0 0.25em;
}

.love-right {
flex: 1;
text-align: left;
}
}


// -----------------------------------------------------------------------------

Expand Down Expand Up @@ -165,15 +191,21 @@ body {
}

&:not(:last-child)::after {
// content: ' | ';
content: ', ';
}
}

.lang-level {
color: $light-gray;
}
}

.content .main {
// border: 1px solid black;
-webkit-flex-grow: 1;
margin-left: 0.5cm;
overflow: hidden;

h1 {
color: $gray;
Expand Down
3 changes: 3 additions & 0 deletions cv.njk
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
{% include 'partials/main.njk' %}
</div>
</div>
<div class="footer">
{% include 'partials/footer.njk' %}
</div>
</div>
</body>
</html>
9 changes: 9 additions & 0 deletions partials/footer.njk
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<div class="love-left">
This CV was made with
</div>
<div class="love-center">
<i class="fa fa-heart highlight"></i>
</div>
<div class="love-right">
and web technologies
</div>

0 comments on commit 32282ab

Please sign in to comment.