diff --git a/src/assets/css/style.css b/src/assets/css/style.css index d2ac196..e18b206 100644 --- a/src/assets/css/style.css +++ b/src/assets/css/style.css @@ -1,31 +1,45 @@ body::before { - display: block; - content: ''; - height: 60px; -} - + display: block; + content: ''; + height: 60px; +} + @media (min-width: 768px) { - .news-input { - width: 50%; - } + .news-input { + width: 50%; + } } @media all and (min-width: 992px) { - .dropdown-menu li{ position: relative; } - .nav-item .submenu{ - display: none; - position: absolute; - left:100%; top:-7px; - } - .nav-item .submenu-left{ - right:100%; left:auto; - } - .dropdown-menu > li:hover{ background-color: #f1f1f1 } - .dropdown-menu > li:hover > .submenu{ display: block; } + .dropdown-menu li { + position: relative; + } + + .nav-item .submenu { + display: none; + position: absolute; + left: 100%; + top: -7px; + } + + .nav-item .submenu-left { + right: 100%; + left: auto; + } + + .dropdown-menu>li:hover { + background-color: #f1f1f1 + } + + .dropdown-menu>li:hover>.submenu { + display: block; + } } @media (max-width: 991px) { - .dropdown-menu .dropdown-menu{ - margin-left:0.7rem; margin-right:0.7rem; margin-bottom: .5rem; + .dropdown-menu .dropdown-menu { + margin-left: 0.7rem; + margin-right: 0.7rem; + margin-bottom: .5rem; } } \ No newline at end of file