scale avatar size on font size
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending

This commit is contained in:
Mylloon 2023-10-13 13:46:55 +02:00
parent 4e775242b6
commit b077879759
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -50,7 +50,7 @@ main {
}
.avatar {
width: 90px;
width: calc(var(--font-size) * 5);
border-radius: 50%;
float: right;
}
@ -62,11 +62,11 @@ main {
}
.avatar {
float: none;
width: 80px;
position: absolute;
width: calc(var(--font-size) * 4);
transform: translate(
calc(var(--font-size) * -19),
calc(var(--font-size) * -3)
calc(var(--font-size) * -3.7)
);
}
}