Dynamic sidebar logo
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
<nav class="flex-column">
|
<nav class="flex-column">
|
||||||
|
<div class="nav-logo"></div>
|
||||||
<div class="nav-item px-3">
|
<div class="nav-item px-3">
|
||||||
<NavLink class="nav-link" href="profile" Match="NavLinkMatch.All">
|
<NavLink class="nav-link" href="profile" Match="NavLinkMatch.All">
|
||||||
<span class="fas fa-user mr-1" aria-hidden="true" style="font-size: 1.4em;"></span> Profil
|
<span class="fas fa-user mr-1" aria-hidden="true" style="font-size: 1.4em;"></span> Profil
|
||||||
|
|||||||
@@ -8,6 +8,23 @@ nav {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
nav .nav-logo {
|
||||||
|
background-image: url(img/logo_text.png);
|
||||||
|
height: 100px;
|
||||||
|
width: 200px;
|
||||||
|
margin: auto;
|
||||||
|
background-size: contain;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (min-width: 992px) {
|
||||||
|
nav .nav-logo {
|
||||||
|
height: 250px;
|
||||||
|
background-image: url(img/logo.png);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.oi {
|
.oi {
|
||||||
width: 2rem;
|
width: 2rem;
|
||||||
font-size: 1.1rem;
|
font-size: 1.1rem;
|
||||||
|
|||||||
@@ -6,6 +6,21 @@ nav {
|
|||||||
@media screen and (min-width: #{$breakpointM}px) {
|
@media screen and (min-width: #{$breakpointM}px) {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.nav-logo {
|
||||||
|
background-image: url(img/logo_text.png);
|
||||||
|
height: 100px;
|
||||||
|
width: 200px;
|
||||||
|
margin: auto;
|
||||||
|
background-size: contain;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: center;
|
||||||
|
|
||||||
|
@media screen and (min-width: #{$breakpointM}px) {
|
||||||
|
height: 250px;
|
||||||
|
background-image: url(img/logo.png);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.oi {
|
.oi {
|
||||||
|
|||||||
BIN
FoodsharingSiegen.Server/wwwroot/img/logo.png
Normal file
BIN
FoodsharingSiegen.Server/wwwroot/img/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
BIN
FoodsharingSiegen.Server/wwwroot/img/logo_text.png
Normal file
BIN
FoodsharingSiegen.Server/wwwroot/img/logo_text.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.8 KiB |
Reference in New Issue
Block a user