From 606365367f71b32f31ef6f75267a7e1f79136db6 Mon Sep 17 00:00:00 2001 From: Volker E Date: Wed, 18 Sep 2019 22:37:22 -0700 Subject: [PATCH] Reduce footer selector specificity and clean up CSS Reducing specificity, simplifying output and merging `padding` in one place into one shorthand attribute. Change-Id: Ida96f18e9d90d55492ea114a7b5e3e1b8020c71f --- components/footer.less | 62 ++++++++++++++++++++---------------------- 1 file changed, 30 insertions(+), 32 deletions(-) diff --git a/components/footer.less b/components/footer.less index 3e47cbb..ddf4a5a 100644 --- a/components/footer.less +++ b/components/footer.less @@ -9,39 +9,37 @@ list-style: none none; margin: 0; padding: 0; - - li { - color: #222; - margin: 0; - padding: 0; - padding-top: 0.5em; - padding-bottom: 0.5em; - font-size: 0.7em; - } } - #footer-icons { - float: right; - - li { - float: left; - margin-left: 0.5em; - line-height: 2em; - text-align: right; - } - } - - #footer-info { - li { - line-height: 1.4em; - } - } - - #footer-places { - li { - float: left; - margin-right: 1em; - line-height: 2em; - } + li { + color: #222; + margin: 0; + padding: 0.5em 0; + font-size: 0.7em; + } +} + +#footer-icons { + float: right; + + li { + float: left; + margin-left: 0.5em; + line-height: 2em; + text-align: right; + } +} + +#footer-info { + li { + line-height: 1.4em; + } +} + +#footer-places { + li { + float: left; + margin-right: 1em; + line-height: 2em; } }