diff --git a/static/scss/footer.scss b/static/scss/footer.scss index 4bcce6aa60d960dcfc4823206ddebbac36824d14..b1989f307daa13cc8b84cab142247550d8e67e94 100644 --- a/static/scss/footer.scss +++ b/static/scss/footer.scss @@ -1,10 +1,26 @@ #footer { - background: #5B8EDC; - color: white; - text-align: center; - padding: 20px; - a { - color: white; - text-decoration: underline; - } + background: #5B8EDC; + color: white; + text-align: center; + padding: 20px; + + a { + color: white; + text-decoration: underline; + } + + .license-links, + .footer-link { + display: inline; + + & + .footer-link:before { + content: '•'; + padding: 0 .5em; + } + } + + .footer-separator { + height: 1em; + } } + diff --git a/templates/_footer.haml b/templates/_footer.haml index dbe35f78606b05f55428c6c7df1b422c105fc10e..54a2ce0e457a52ca38d16840bcebf0cafdae2400 100644 --- a/templates/_footer.haml +++ b/templates/_footer.haml @@ -1,24 +1,33 @@ - load i18n #footer.container-fluid - - blocktrans - Memopol is free software - <a href="https://github.com/political-memory/political_memory">released</a> - under the terms of the - <a href="http://www.gnu.org/licenses/agpl.html">GNU aGPLV3+</a> - - %a{href: "https://github.com/political-memory/political_memory/issues/new"} - - trans "Report a bug" - %br - {% trans "Provided by" %} <a href="http://www.laquadrature.net/">La Quadrature du Net</a> - %br - %hr - %a{href: "http://parltrack.euwiki.org/"} - - trans "EP data provided by Parltrack" - - %a{href: "http://www.memopol.org/"} - - trans "Blog" - - %a{href: "http://memopol.readthedocs.io/en/master/"} - - trans "Documentation" + .license-links + - blocktrans + Memopol is + %a{href: "https://github.com/political-memory/political_memory"}< + free software + released under the terms of the + %a{href: "http://www.gnu.org/licenses/agpl.html"}< + GNU aGPLV3+ + + .footer-link + %a{href: "https://github.com/political-memory/political_memory/issues/new"}< + - trans "Report a bug" + .footer-link + %a{href: "http://www.memopol.org/"}< + - trans "Blog" + .footer-link + %a{href: "http://memopol.readthedocs.io/en/master/"}< + - trans "Documentation" + + .footer-separator + + .footer-link + - trans "Developed by" + %a{href: "http://www.laquadrature.net/"}< + La Quadrature du Net + .footer-link + - trans "EP data provided by" + %a{href: "http://parltrack.euwiki.org/"}< + - trans "Parltrack"