Commit 634d1d4e authored by Pavel Beketov's avatar Pavel Beketov

animated style in desktop menu

parent d8560037
...@@ -130,13 +130,17 @@ header { ...@@ -130,13 +130,17 @@ header {
} }
.header-menu ul li a { .header-menu ul li a {
display: inline-block;
color: #fff; color: #fff;
text-decoration: none; text-decoration: none;
font-size: 16px; font-size: 16px;
padding: 5px 10px;
transition: background-color 0.3s;
} }
.header-menu ul li a:hover { .header-menu ul li a:hover {
text-decoration: underline; background-color: var(--border);
border-radius: 5px;
} }
.header-right { .header-right {
...@@ -232,14 +236,14 @@ header h1 { ...@@ -232,14 +236,14 @@ header h1 {
} }
/* Скрываем обычное меню на мобильных устройствах */ /* Скрываем обычное меню на мобильных устройствах */
@media (max-width: 768px) { @media (max-width: 808px) {
.header-center { .header-center {
display: none; display: none;
} }
} }
/* Скрытие кнопки меню на десктопе */ /* Скрытие кнопки меню на десктопе */
@media (min-width: 769px) { @media (min-width: 809px) {
.menu-button, .menu-button,
.mobile-menu { .mobile-menu {
display: none !important; display: none !important;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment