diff --git a/css/style.css b/css/style.css index 1a2fd0e..c0c9d3d 100644 --- a/css/style.css +++ b/css/style.css @@ -147,19 +147,18 @@ nav ul li a { color: white; } -.sec:not(:target) { - display: none; -} - -#a-propos { +#a-propos:target, +#a-propos:not(:target) ~ section:not(#a-propos) { display: block; } -#mesProjets:target { - display: block; +#a-propos:not(:target), +#a-propos:target ~ section:not(#a-propos) { + display: none; } -#cv:target { - display: block; + +#a-propos:target ~ #mesProjets:target ~ #cv:target { + display: none; } section h2 {