diff --git a/serv.css b/serv.css index d2488a8..61dcf9d 100644 --- a/serv.css +++ b/serv.css @@ -27,26 +27,34 @@ header h1 { } nav { - padding: 0px 0; + padding:0px 0; position: relative; left: 55px; top: -55px; + + } nav ul { + list-style: none; - margin: 0; + margin:0; padding: 0; display: flex; justify-content: center; + } nav ul li { - margin: 0 15px; + margin: 0 20px; + } nav a:hover { background: rgb(231, 223, 223); + padding-block:6px; + padding-inline: 9px; + border-radius: 2px; } nav ul li a { @@ -54,6 +62,8 @@ nav { text-decoration: none; font-size: 1rem; transition: color 0.3s; + padding-block:6px; + padding-inline: 9px; } /* nav ul li a:hover {