update css

This commit is contained in:
MATUS 2024-06-05 19:21:39 +02:00
parent 761862d36e
commit ba703d3942

@ -7,11 +7,11 @@ body, html {
min-height: 100vh;
}
header.menu {
header {
background-color: #333;
}
header.menu nav ul {
header nav ul {
display: flex;
list-style: none;
margin: 0;
@ -19,22 +19,23 @@ header.menu nav ul {
justify-content: center;
}
header.menu nav ul li {
header nav ul li {
position: relative;
margin: unset;
}
header.menu nav ul li a {
header nav ul li a {
display: block;
padding: 14px 20px;
text-decoration: none;
text-decoration: none !important;
color: white;
}
header.menu nav ul li:hover > a {
header nav ul li:hover > a {
background-color: #575757;
}
header.menu nav ul li .submenu {
header nav ul li .submenu {
display: none;
position: absolute;
background-color: #333;
@ -43,11 +44,11 @@ header.menu nav ul li .submenu {
flex-direction: column;
}
header.menu nav ul li:hover .submenu {
header nav ul li:hover .submenu {
display: flex;
}
header.menu nav ul li .submenu li a {
header nav ul li .submenu li a {
padding: 10px;
}
@ -66,3 +67,7 @@ footer {
text-align: center;
padding: 10px 0;
}
h1, h2, h3, h4, h5, h6 {
text-align: center;
}