From 32282ab159ae68d6f6eabdfcf5ca9fb35682c739 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Avil=C3=A9s?= Date: Sat, 21 Jan 2017 23:01:38 +0100 Subject: [PATCH] Add footer --- assets/style.scss | 32 ++++++++++++++++++++++++++++++++ cv.njk | 3 +++ partials/footer.njk | 9 +++++++++ 3 files changed, 44 insertions(+) create mode 100644 partials/footer.njk diff --git a/assets/style.scss b/assets/style.scss index bcdca91..3ae8ff8 100644 --- a/assets/style.scss +++ b/assets/style.scss @@ -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; + } +} + // ----------------------------------------------------------------------------- @@ -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; diff --git a/cv.njk b/cv.njk index d0d9cf4..dcf6688 100644 --- a/cv.njk +++ b/cv.njk @@ -17,6 +17,9 @@ {% include 'partials/main.njk' %} + diff --git a/partials/footer.njk b/partials/footer.njk new file mode 100644 index 0000000..fd8264a --- /dev/null +++ b/partials/footer.njk @@ -0,0 +1,9 @@ +
+ This CV was made with +
+
+ +
+
+ and web technologies +