diff --git a/assets/css/menu.css b/assets/css/menu.css index 52901e9..38c6152 100644 --- a/assets/css/menu.css +++ b/assets/css/menu.css @@ -4,10 +4,10 @@ left: 0; width: 100%; height: auto; - min-width: 96vmax; z-index: 2; overflow: visible; + transition: transform 0.3s; } .tuyau { @@ -19,6 +19,7 @@ height: auto; z-index: 2; + transition: transform 0.3s; overflow: visible; } diff --git a/assets/css/queries.css b/assets/css/queries.css index 87bd307..3f1d45f 100644 --- a/assets/css/queries.css +++ b/assets/css/queries.css @@ -10,10 +10,10 @@ } #msg_acc, footer { - padding: 50px 5vw; + padding: 1em 2em; } - #boxjaune { + .box-jaune { margin: 40px auto 0 auto; width: 95%; } @@ -21,4 +21,18 @@ footer { width: unset; } -} \ No newline at end of file + + header .menu { + transform: translateY(120%); + } + + header .tuyau { + right: 30px; + transform: translateY(40%); + } + + #tuyau-ombre { + display: none; + } +} + diff --git a/structure/menu.php b/structure/menu.php index 9cbe5c0..9de59e2 100644 --- a/structure/menu.php +++ b/structure/menu.php @@ -66,7 +66,7 @@ if(!isset($relativepath)) { - +