Улучшил мобильное меню и модальное окно

This commit is contained in:
Honfred
2026-02-06 06:51:35 +03:00
parent 56e4c1239b
commit cf41bf0642
3 changed files with 37 additions and 27 deletions

View File

@@ -317,19 +317,27 @@ a:hover {
.mobile-menu-toggle {
display: none;
flex-direction: column;
background: none;
border: none;
cursor: pointer;
padding: 5px;
gap: 4px;
padding: 8px;
font-size: 1.5rem;
color: var(--text-dark);
transition: var(--transition);
line-height: 1;
}
.mobile-menu-toggle i {
transition: var(--transition);
display: inline-block;
}
.mobile-menu-toggle.active i {
transform: rotate(90deg);
}
.mobile-menu-toggle span {
width: 25px;
height: 3px;
background-color: var(--text-dark);
transition: var(--transition);
display: none;
}
/* Hero Section */
@@ -658,7 +666,9 @@ a:hover {
font-size: 1.5rem;
color: var(--text-light);
cursor: pointer;
padding: 0.5rem;
width: 40px;
height: 40px;
padding: 0;
border-radius: 50%;
transition: var(--transition);
flex-shrink: 0;
@@ -666,6 +676,9 @@ a:hover {
top: 1rem;
right: 1rem;
z-index: 10;
display: flex;
align-items: center;
justify-content: center;
}
.modal-close:hover {