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

45 lines
574 B
CSS
Raw Permalink Normal View History

2023-04-25 12:13:46 +02:00
main nav {
2023-04-27 17:04:28 +02:00
color: #fffdfc;
font-size: 24px;
2023-04-25 12:13:46 +02:00
font-style: normal;
font-weight: 400;
line-height: 130%;
2023-04-27 17:04:28 +02:00
padding: 24px;
2023-04-25 12:13:46 +02:00
position: fixed;
2023-04-27 17:04:28 +02:00
text-align: center;
2023-04-25 12:13:46 +02:00
top: 0;
2023-04-27 17:04:28 +02:00
width: 100%;
2023-04-25 12:13:46 +02:00
}
.burger-menu {
float: left;
2023-04-27 17:04:28 +02:00
width: 150px;
2023-04-25 12:13:46 +02:00
}
2023-04-27 17:04:28 +02:00
.icon-burger {
2023-04-25 14:59:51 +02:00
cursor: pointer;
float: left;
2023-04-27 17:04:28 +02:00
height: 1em;
2023-04-25 14:59:51 +02:00
margin-top: 0.3rem;
2023-04-27 17:04:28 +02:00
width: 40px;
2023-04-25 14:59:51 +02:00
}
2023-04-27 17:04:28 +02:00
.icon-burger .line {
2023-04-25 14:59:51 +02:00
border-top: 2px solid #fff;
display: block;
2023-04-27 17:04:28 +02:00
margin-bottom: 6px;
2023-04-25 14:59:51 +02:00
}
2023-04-25 12:13:46 +02:00
.nav-main {
2023-04-27 17:04:28 +02:00
color: #fffdfc;
height: 54px;
2023-04-25 12:13:46 +02:00
text-align: center;
top: 54px;
width: 100%;
}
2023-04-27 17:04:28 +02:00
.fixed-nav {
2023-04-25 12:13:46 +02:00
z-index: 30;
}