Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
bayan-almasri10 authored Dec 3, 2023
1 parent 92b8927 commit 3368ed2
Showing 1 changed file with 34 additions and 24 deletions.
58 changes: 34 additions & 24 deletions css/slicez.css
Original file line number Diff line number Diff line change
Expand Up @@ -160,12 +160,10 @@ header .main-nav{
}
@media (max-width:767px) {
header .bars{
display:flex;
display:block;
}
header .bars .main-nav > li:hover .mega-menu{
opacity: 1;
z-index: 100;
top: calc(100% + 1px);
header .main-nav{
display: none;
}
}
.fa-bars{
Expand All @@ -174,38 +172,36 @@ header .main-nav{
margin-right: 5px;
}
@media (max-width:767px) {
header .main-nav{
/* margin: auto; */
display: none;
}
}
header .main-nav > li:hover .mega-menu{
opacity: 1;
z-index: 100;
top: calc(100% + 1px);
}
header .bars a:hover .mega-menu{
/* header .bars a:hover .mega-menu{
opacity: 1;
z-index: 100;
top: calc(100% + 1px);
}
} */
@media (max-width:767px){
header .bars .bar:hover .mega-menu{
display: block;
}
header .main-nav > li > a{
font-size: 12px;
}
}
header .bars > a{
display: flex;
justify-content: center;
align-items: center;
height: 72px;
position: relative;
/* color: white; */
color: var(--section-background);
padding: 0 30px;
font-size: 18px;
overflow: hidden;
transition: var(--main-transition);
header .bars .mega-menu .links li a{
display: flex;
justify-content: center;
align-items: center;
height: 72px;
position: relative;
color: var(--section-background);
padding: 0 30px;
font-size: 18px;
overflow: hidden;
transition: var(--main-transition);
}
}
header .main-nav > li > a{
display: flex;
Expand Down Expand Up @@ -306,6 +302,20 @@ header .mega-menu .links li a{
header .mega-menu .links li a i{
margin-right: 10px;
}
header .bars input[type="checkbox"] + .bar .mega-menu {
display: none;
}

header .bars input[type="checkbox"]:checked + .bar .mega-menu {
display: block;
}
header .bars .mega-menu {
display: none;
}
header .bars input:checked + .bar .mega-menu {
display: block;
}

/* end header */
/* start landing */
.landing{
Expand Down

0 comments on commit 3368ed2

Please sign in to comment.