From 2407070f0cea5a89a5a80e011816f793f61725bc Mon Sep 17 00:00:00 2001 From: Toshaan Bharvani Date: Tue, 25 Jan 2022 14:01:11 +0100 Subject: [PATCH] add new links in footer based on 3 categories * social links * discussion links * code links Signed-off-by: Toshaan Bharvani --- .../openpowerfoundation/assets/css/main.css | 24 ++++++----- .../layouts/partials/footer.html | 42 +++++++++++++++---- 2 files changed, 47 insertions(+), 19 deletions(-) diff --git a/themes/openpowerfoundation/assets/css/main.css b/themes/openpowerfoundation/assets/css/main.css index 71bd4fd..53f755b 100644 --- a/themes/openpowerfoundation/assets/css/main.css +++ b/themes/openpowerfoundation/assets/css/main.css @@ -4949,7 +4949,19 @@ textarea.form-control-lg { } .social__list { +} +.social__list ul { +} +.social__list ul > li { +} +.social__list ul > li > ul { display: flex; + list-style: none; + padding: 0; +} +.social__list ul > li > ul > li { + padding-left: 0.5rem; + padding-right: 0.5rem; } .social__item { display: block; @@ -4962,19 +4974,9 @@ textarea.form-control-lg { background-color: #fff; } .social__item i { - padding-left: 5px; + padding-left: 25%; color: #2566f4; } - .social__item:not(:last-child) { - margin-right: .5em; } - .social__item._tw { - background-image: url(../img/tw.svg); } - .social__item._fb { - background-image: url(../img/fb.svg); } - .social__item._in { - background-image: url(../img/in.svg); } - .social__item._yt { - background-image: url(../img/yt.svg); } .ready-footer { color: #666666; diff --git a/themes/openpowerfoundation/layouts/partials/footer.html b/themes/openpowerfoundation/layouts/partials/footer.html index a69eeb4..40b0ed0 100644 --- a/themes/openpowerfoundation/layouts/partials/footer.html +++ b/themes/openpowerfoundation/layouts/partials/footer.html @@ -46,14 +46,40 @@
-

Stay in touch, follow us:

-