@import "settings"; .top-bar { background: white; padding: 0; .grid-container { padding: 0; } .menu { background: white; display: flex; li { flex: 1; text-align: center; height: 3rem; //height: 4rem; padding-top: 0.5rem; padding-bottom: 0.5rem; &:first-child { flex: initial; padding-left: 0.5rem; padding-right: 0.5rem; } @include breakpoint(large) { height: 4rem; a { font-size: 1rem !important; } } a { color: black; font-family: "Bahnschrift", Helvetica, Arial, serif; font-size: 1rem; font-weight: bold; padding: 0.5rem; //padding: 1rem; @include breakpoint(large) { padding: 1rem 1rem; font-size: 1.7rem; } } &.active { background: white; > a { background: transparent; } } position: relative; &::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; //background: red; background-image: url("../img/einkreiser.png"); background-size: contain; @include breakpoint(medium only){ background-size: 165px 100%; } @include breakpoint(small only){ background-size: 100% 100%; } background-position: center; //background-size: 100% 100%; background-repeat: no-repeat; display: none; cursor: pointer; } &.active::after { display: initial; opacity: 0.7; } } .logo-img { cursor: pointer; height: 2rem; @include breakpoint(large) { height: 3rem; } } &.responsive-menu { position: absolute; right: 0; z-index: 1; box-shadow: 0 0 5px $background-color; .menu-closer { z-index: -1; position: fixed; top: 0; left: 0; bottom: 0; right: 0; background: transparent; } li { width: 100%; } } } } $menuIconHeight: 2rem; .title-bar { background: $background-color; text-align: right; //justify-content: flex-end; display: block; .menu-icon { width: $menuIconHeight; height: $menuIconHeight; outline: none; &::after { background: #fefefe; height: #{($menuIconHeight/9)}; box-shadow: 0 #{($menuIconHeight/3)} 0 #fefefe, 0 #{($menuIconHeight*2/3)} 0 #fefefe; } } .logo-img { cursor: pointer; float: left; height: $menuIconHeight; } }