From 5e47b7cdc228964a3b09280bfc26c03b8c7a44d6 Mon Sep 17 00:00:00 2001 From: Talha Mansoor Date: Sun, 30 Jun 2019 00:01:33 +0500 Subject: [PATCH] feat(footer): powered by message is always aligned to the right --- static/css/elegant.css | 10 ++++++++-- templates/_includes/footer.html | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/static/css/elegant.css b/static/css/elegant.css index 94ad3560..5220fc4a 100644 --- a/static/css/elegant.css +++ b/static/css/elegant.css @@ -19,7 +19,7 @@ footer { flex-shrink: 0; flex-wrap: wrap; font: 0.8em Calibri, Tahoma, Arial, Sans-Serif; - justify-content: space-between; + justify-content: flex-end; margin: 15px 0 0 0; min-height: 40px; padding: 0 3px; @@ -27,7 +27,13 @@ footer { footer div { margin: 3px 0; } - +footer div:first-child { + margin-right: auto; +} +footer div#fpowered { + margin-left: auto; + margin-right: unset; +} h1, h2, h3, diff --git a/templates/_includes/footer.html b/templates/_includes/footer.html index 89649fa4..f414d2cc 100644 --- a/templates/_includes/footer.html +++ b/templates/_includes/footer.html @@ -21,7 +21,7 @@ {% endif %} -
+
Powered by: Pelican Theme: Elegant {% if HOSTED_ON and HOSTED_ON.name %}