digital-theory/css/0-1-nav.css
2023-04-25 14:59:51 +02:00

43 lines
569 B
CSS

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