Add profile picture to nav bar

This commit is contained in:
Michał Gdula 2023-04-21 16:20:40 +00:00
parent 2673026880
commit 4982914aa8
2 changed files with 25 additions and 3 deletions

View file

@ -56,11 +56,22 @@
> i
padding: 0.5rem
font-size: 1.3rem
border-radius: $rad-inner
color: RGB($fg-white)
> .nav-pfp
padding: 0.4rem
width: 2.3rem
height: 2.3rem
border-radius: $rad-inner
img
width: 100%
height: 100%
object-fit: cover
border-radius: $rad-inner
.tool-tip
padding: 0.4rem 0.7rem
@ -96,7 +107,7 @@
color: RGB($bg-100)
&:hover
> i
> i, .nav-pfp
background: RGBA($fg-white, 0.1)
span