77 lines
1.1 KiB
CSS
77 lines
1.1 KiB
CSS
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: 'Arial', sans-serif;
|
|
}
|
|
|
|
.navbar {
|
|
background-color: #4A305A;
|
|
padding: 10px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.logo img {
|
|
width: 3cm;
|
|
height: 1.5cm;
|
|
margin-left: 2cm;
|
|
}
|
|
|
|
.nav-links {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.nav-link {
|
|
color: white;
|
|
text-decoration: none;
|
|
margin: 0 15px;
|
|
}
|
|
|
|
.reserve-btn {
|
|
background-color: #FFB039;
|
|
padding: 10px 20px;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
/* ... (code précédent) */
|
|
|
|
.burger-menu {
|
|
display: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.burger-menu div {
|
|
width: 25px;
|
|
height: 3px;
|
|
background-color: white;
|
|
margin: 6px 0;
|
|
}
|
|
|
|
@media screen and (max-width: 768px) {
|
|
.nav-links {
|
|
display: none;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
position: absolute;
|
|
top: 60px;
|
|
left: 0;
|
|
width: 100%;
|
|
background-color: #4A305A;
|
|
z-index: 1;
|
|
}
|
|
|
|
.nav-links.show {
|
|
display: flex;
|
|
}
|
|
|
|
.nav-link {
|
|
margin: 10px 0;
|
|
}
|
|
|
|
.burger-menu {
|
|
display: block;
|
|
}
|
|
}
|