From c7faec0615622078a12fbe5d57f40a5a99d40711 Mon Sep 17 00:00:00 2001 From: Alexandre AGOSTINHO Date: Thu, 27 Oct 2022 12:08:53 +0200 Subject: [PATCH] add footer --- index.html | 5 +++++ styles/main.css | 21 +++++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/index.html b/index.html index 3477d4f..9645011 100644 --- a/index.html +++ b/index.html @@ -134,5 +134,10 @@ + + diff --git a/styles/main.css b/styles/main.css index 5bc979d..6ab5447 100644 --- a/styles/main.css +++ b/styles/main.css @@ -137,6 +137,27 @@ article { color: black; } +/* FOOTER ---------------------------------------------------*/ + +footer { + background-color: darkgray; + padding: 0; + margin: 0; + position: sticky; + bottom: 0px; +} + +footer p { + display: inline; + text-align: right; + padding: 0; + margin: 0; + padding-inline: 5px; +} + +footer a { + text-decoration: none; +} /* RESPONSIVE -----------------------------------------------------*/