Use classes instead of element selectors at the navbar

This commit is contained in:
2026-05-02 23:13:02 +02:00
parent 0f20b52aa9
commit db404a389b
2 changed files with 8 additions and 8 deletions
+4 -4
View File
@@ -1,11 +1,11 @@
nav{
.global-nav {
display: flex;
justify-content: center;
padding: 10px 0;
border-bottom: 1px solid #000000;
}
nav ul {
.global-nav ul {
display: flex;
list-style: none;
margin: 0;
@@ -13,11 +13,11 @@ nav ul {
gap: 30px;
}
nav a{
.nav-item a {
text-decoration: none;
color: black;
}
nav a:hover{
.nav-item a:hover {
text-decoration: underline;
}