Fixed formatting too
This commit is contained in:
parent
8523fbcba6
commit
b1f37e608b
|
@ -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;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue