From 1eb24dc09c4e3bcda7c9e0daa49722021f766eaa Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Sun, 5 Sep 2021 20:05:35 +0200 Subject: [PATCH] Meilleur footer --- styles.css | 40 ++++++++-------------------------------- 1 file changed, 8 insertions(+), 32 deletions(-) diff --git a/styles.css b/styles.css index 4efbdb2..2337a1e 100644 --- a/styles.css +++ b/styles.css @@ -317,42 +317,18 @@ footer { text-align: center; } footer a { - display: inline-block; - overflow: hidden; - width: 40px; - height: 40px; - padding: 40px 0 0 0; - margin: 0 0.5em; - position: relative; - color: rgba(255, 255, 255, 0.5); - -webkit-transition: color 0.25s ease-out, box-shadow 0.25s ease-out; - -moz-transition: color 0.25s ease-out, box-shadow 0.25s ease-out; - transition: color 0.25s ease-out, box-shadow 0.25s ease-out; + -webkit-transition: all 0.25s ease-out; + -moz-transition: all 0.25s ease-out; + transition: all 0.25s ease-out; + text-decoration: underline dotted; } footer a:hover, footer a:focus { - color: rgba(255, 255, 255, 0.3); - text-decoration: none; + color: #1a4159; + text-decoration: underline; } footer a:visited { - color: rgba(255, 255, 255, 0.2); -} -footer a::before { - display: block; - position: absolute; - top: 3px; - left: 0; - overflow: visible; - font-size: 36px; - text-indent: 0; - - /* icomoon.io defaults */ - font-family: sans-serif; - speak: none; - font-weight: normal; - font-variant: normal; - text-transform: none; - line-height: 1; - -webkit-font-smoothing: antialiased; + color: #1a4159; + text-decoration: underline; }