From 79c3dc54335acfdc9787ce3b2844d257a8fa908f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20L=2E=20H=2E-F?= Date: Sat, 29 Jul 2023 17:07:04 +0200 Subject: [PATCH] Update style.css --- assets/css/style.css | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) diff --git a/assets/css/style.css b/assets/css/style.css index 0de9892..0d7f23f 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -21,7 +21,6 @@ body { background-color: #e1e0e2; color: #1e1f1d; box-sizing: border-box; - animation: fadein 0.5s; } * { @@ -49,7 +48,7 @@ body { opacity: .1; position: absolute; right: 5rem; - z-index: -9999 + z-index: -9999; } .top-border { @@ -57,40 +56,36 @@ body { left: 0; position: absolute; right: 0; - top: 0 + top: 0; } .top-logo { height: 45px; - left: 5rem; - position: absolute; - top: 0 + margin-left: 5rem; + top: 0; } @media screen and (min-width: 1600px) { .background-logo { - display: block + display: block; } } @media screen and (min-width: 2000px) { .background-logo { - display: none + display: none; } } -@media screen and (max-width:64em) { +@media screen and (max-width: 64em) { .top-logo { - left: 1rem + margin-left: 1rem; } } main { - position: relative -} - -header { - padding-top: 64px; + position: relative; + animation: fadein 0.5s; } .logo { @@ -308,7 +303,7 @@ footer a>svg:hover { } .top-border { - border-top: 6px solid #e1e0e2 + border-top: 6px solid #e1e0e2; } .top-logo,