Correctif de bug dans le menu de navigation en css
This commit is contained in:
@@ -14,45 +14,37 @@ nav {
|
||||
justify-content: space-between;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
height: 60px;
|
||||
}
|
||||
|
||||
nav ul {
|
||||
display: flex;
|
||||
list-style: none;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
nav a{
|
||||
padding: 15px 5px;
|
||||
display: block;
|
||||
text-decoration: none;
|
||||
text-align: center;
|
||||
color: white;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
border-radius: 15px;
|
||||
list-style-type: none;
|
||||
background-color: #273A56;
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
nav ul li a {
|
||||
color: #FFEFE5;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
nav ul li {
|
||||
width: 12.5%;
|
||||
padding: 0 60px;
|
||||
|
||||
width: 85%;
|
||||
}
|
||||
|
||||
nav img {
|
||||
max-width: 220px;
|
||||
height: 60px;
|
||||
justify-content: left;
|
||||
justify-self: left;
|
||||
width: 15%;
|
||||
}
|
||||
|
||||
nav a {
|
||||
display: block;
|
||||
text-decoration: none;
|
||||
color: #FFEFE5;
|
||||
padding: 0 16px;
|
||||
}
|
||||
|
||||
nav a:hover {
|
||||
display: block;
|
||||
align-items: center;
|
||||
line-height: 39px;
|
||||
|
||||
border-radius: 20px;
|
||||
background-color: #273A56;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
footer {
|
||||
@@ -64,7 +56,7 @@ footer {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
footer p {
|
||||
footer>p {
|
||||
margin: auto;
|
||||
height: 60px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user