add user icon in nav bar

This commit is contained in:
meaz 2019-10-28 13:48:22 +01:00
parent f1ced29686
commit d5bcfc871f
4 changed files with 17 additions and 0 deletions

View File

@ -50,6 +50,12 @@ Disroot Media Queries
background-size: 20px;
}
#user-logo {
height: 35px;
width: 25px;
background-size: 30px;
}
.dropdown-content {
display: none;
z-index: 1;

View File

@ -251,6 +251,16 @@ ul#logo-right li {
opacity: 0.7;
}
#user-logo {
display: inline-block;
height: 45px;
width: 45px;
background: url("../images/user.png") no-repeat center center;
background-size: 40px;
opacity: 0.7;
}
ul#nav li ul{
position: absolute;
list-style: none;

BIN
images/user.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

View File

@ -50,6 +50,7 @@
<li>
<a id="dash-logo" href="https://apps.disroot.org" target=_blank></a>
<a id="state-logo" href="https://state.disroot.org" target=_blank></a>
<a id="user-logo" href="https://user.disroot.org" target=_blank></a>
</li>
<li id="language">{% include 'partials/language-selector.html.twig' %}</a></li>
</ul></div>