From 496bc35097163778c8fe38021ee0bed67ac8fe3f Mon Sep 17 00:00:00 2001 From: Roxane Date: Sun, 7 Apr 2024 21:07:44 +0200 Subject: [PATCH] correction --- css/style.css | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/css/style.css b/css/style.css index 0e0f782..ba8dac0 100644 --- a/css/style.css +++ b/css/style.css @@ -146,12 +146,12 @@ nav ul li a { section { - margin-bottom: 40px; + margin-bottom: 50px; display: none; } -section:not(:target) { - display: none; +section:target { + display: block; } section h2 { @@ -159,9 +159,7 @@ section h2 { font-weight: bold; } -section:target { - display: block; -} + .separator { border-bottom: 3px solid gray;