Improve topnav logo code
This commit is contained in:
@ -223,16 +223,19 @@ $nav-ui-background-color: $gab-brand-default !default;
|
||||
|
||||
&--logo {
|
||||
display: block;
|
||||
width: 80px;
|
||||
height: 50px;
|
||||
margin-right: 30px;
|
||||
border: 0;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
background-size: 100% calc(100% - 25px);
|
||||
height: 50px;
|
||||
overflow: hidden;
|
||||
padding: 10px 0;
|
||||
box-sizing: border-box;
|
||||
filter: brightness(0%) grayscale(100%) invert(100%);
|
||||
& span {display: none !important;}
|
||||
|
||||
img {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
border: 0 !important;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user