Add the support of the tactile in the navbar

This commit is contained in:
2022-12-24 17:02:00 +01:00
parent 04d92d913b
commit 4dcc5efc72

View File

@@ -65,7 +65,7 @@
margin: 0;
}
.navbar a:hover, .dropdown:hover .dropbtn {
.navbar a:hover, .dropdown:hover .dropbtn, .navbar a:active, .dropdown:active .dropbtn {
background-color: #3E485C;
}
@@ -91,12 +91,13 @@
}
.dropdown-content a:hover {
.dropdown-content a:hover, .dropdown-content a:active {
background-color: #3E485C;
width: 85%;
border-radius: 10px;
}
.dropdown:hover .dropdown-content {
.dropdown:hover .dropdown-content, .dropdown:active .dropdown-content {
display: block;
}
}