digital-theory/css/0-1-nav.css

45 lines
574 B
CSS

main nav {
color: #fffdfc;
font-size: 24px;
font-style: normal;
font-weight: 400;
line-height: 130%;
padding: 24px;
position: fixed;
text-align: center;
top: 0;
width: 100%;
}
.burger-menu {
float: left;
width: 150px;
}
.icon-burger {
cursor: pointer;
float: left;
height: 1em;
margin-top: 0.3rem;
width: 40px;
}
.icon-burger .line {
border-top: 2px solid #fff;
display: block;
margin-bottom: 6px;
}
.nav-main {
color: #fffdfc;
height: 54px;
text-align: center;
top: 54px;
width: 100%;
}
.fixed-nav {
z-index: 30;
}