Files
2025-12-17 10:14:13 +02:00

91 lines
1.3 KiB
CSS
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* навигация
nav ul {
list-style: none;
display: flex;
gap: 20px;
margin: 0;
padding: 0;
}
nav a {
color: white;
text-decoration: none;
font-weight: 500;
}
nav a:hover {
text-decoration: underline;
}
/* бургер */
/*
.burger {
display: none;
flex-direction: column;
justify-content: center;
gap: 5px;
width: 30px;
height: 25px;
background: none;
border: none;
cursor: pointer;
}
.burger span {
display: block;
height: 3px;
width: 100%;
background: white;
border-radius: 2px;
transition: 0.3s;
}
.burger.active span:nth-child(1) {
transform: translateY(8px) rotate(45deg);
}
.burger.active span:nth-child(2) {
opacity: 0;
}
.burger.active span:nth-child(3) {
transform: translateY(-8px) rotate(-45deg);
}
*/
/* адаптив */
/*
@media (max-width: 425px) {
.burger {
display: flex;
}
nav {
position: absolute;
top: 100%;
left: 0;
width: 100%;
background: #222;
display: none;
flex-direction: column;
text-align: center;
padding: 10px 0;
z-index: 10;
}
nav.open {
display: flex;
animation: slideDown 0.3s ease;
}
nav ul {
flex-direction: column;
gap: 10px;
}
@keyframes slideDown {
from { opacity: 0; transform: translateY(-10px); }
to { opacity: 1; transform: translateY(0); }
}
} */