From 2c3edc802e92252f3cfe323273f0dff2eea9cb34 Mon Sep 17 00:00:00 2001 From: nek0 Date: Wed, 11 Sep 2019 00:12:32 +0200 Subject: [PATCH] flexify footer --- site/css/default.css | 23 +++++++++++++--- templates/default.html | 59 +++++++++++++++++++++--------------------- 2 files changed, 49 insertions(+), 33 deletions(-) diff --git a/site/css/default.css b/site/css/default.css index ec33d35..4234212 100644 --- a/site/css/default.css +++ b/site/css/default.css @@ -180,12 +180,27 @@ footer { bottom: 0; padding: 20px; padding-top: 0px; - padding-bottom: 0px; - margin-bottom: 0.5em; + padding-bottom: 5px; + margin: 0; } -footer span { - padding-left: 40px; +footer ul { + display: flex; + flex-direction: row; + flex-wrap: wrap; + justify-content: space-evenly; + align-items: center; + list-style: none; + padding: 0; + margin: 0; +} + +footer ul li { + display: inline-block; + text-align: center; + width: auto; + padding: 0; + margin: 0; } footer span img { diff --git a/templates/default.html b/templates/default.html index 461162f..05be201 100644 --- a/templates/default.html +++ b/templates/default.html @@ -94,35 +94,36 @@