webp and scale the profile image

This commit is contained in:
Jonathan Souter
2023-03-02 17:03:13 +10:30
parent 086853c7fe
commit 6a758eac9e
3 changed files with 2 additions and 1 deletions

BIN
src/_assets/img/dp.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

View File

@ -1,5 +1,5 @@
<a href="/" class="profile-img-link">
<img class="profile-img" src="/_assets/img/cropped.png"/>
<img class="profile-img" src="/_assets/img/dp.webp"/>
</a>
<div class="sidebar-contents">
{% include 'partials/navigation.njk' %}

View File

@ -122,6 +122,7 @@ aside {
.profile-img {
width: 100px;
height: 100px;
border-radius: 60px;
border: 5px solid var(--border);
/* top: -70px; */