From 29ce542de79831e7bfee6cbb2aec73abafe8bb4d Mon Sep 17 00:00:00 2001 From: Hexaitos Date: Mon, 30 Sep 2024 15:36:41 +0200 Subject: [PATCH] Better footer on mobile --- _site/assets/css/styles.css | 9 +++++++-- assets/css/styles.css | 9 +++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/_site/assets/css/styles.css b/_site/assets/css/styles.css index e13acab..0da07aa 100755 --- a/_site/assets/css/styles.css +++ b/_site/assets/css/styles.css @@ -197,8 +197,9 @@ footer { margin-top: 2em; overflow: hidden; text-align: center; + height: auto; border-radius: 10px; - height: 3em; + min-height: 3em; } footer p { @@ -221,7 +222,7 @@ footer p:last-of-type { } div.menu { - padding: .2em; + padding: .5em; height: auto; } @@ -236,4 +237,8 @@ footer p:last-of-type { font-size: smaller; min-width: 50px; } + + footer p:first-of-type, footer p:last-of-type { + float: none; + } } \ No newline at end of file diff --git a/assets/css/styles.css b/assets/css/styles.css index e13acab..0da07aa 100755 --- a/assets/css/styles.css +++ b/assets/css/styles.css @@ -197,8 +197,9 @@ footer { margin-top: 2em; overflow: hidden; text-align: center; + height: auto; border-radius: 10px; - height: 3em; + min-height: 3em; } footer p { @@ -221,7 +222,7 @@ footer p:last-of-type { } div.menu { - padding: .2em; + padding: .5em; height: auto; } @@ -236,4 +237,8 @@ footer p:last-of-type { font-size: smaller; min-width: 50px; } + + footer p:first-of-type, footer p:last-of-type { + float: none; + } } \ No newline at end of file