Removed border from homepage

This commit is contained in:
Brandon Rozek 2023-01-20 13:18:32 -05:00
parent de907bfa1d
commit 7bba7d0f0b
No known key found for this signature in database
GPG key ID: 26E457DA82C9F480
2 changed files with 3 additions and 11 deletions

View file

@ -369,14 +369,6 @@ main .e-content h2 {
height: 250px;
}
.main-home .h-card .avatar img {
width: 250px;
position: absolute;
margin: 0 auto;
left: 0;
right: 0;
}
.main-home .h-card .avatarMask {
clip-path: circle(120px at center);
-webkit-clip-path: circle(120px at center);

View file

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html lang="en">
{{- partial "head.html" . -}}
<body>
<main class="main-home">
@ -9,8 +9,8 @@
{{ $profile_image := resources.Get (printf "img/%s" .Site.Params.avatar) }}
{{ $profile_width := 250 }}
{{ $profile_image := $profile_image.Resize (printf "%dx" $profile_width) }}
<img class="avatarMask u-photo" width="{{ $profile_width }}" src="{{ $profile_image.RelPermalink }}" alt="Photo of {{ .Site.Params.Author }}" />
<img src="{{ .Site.BaseURL }}img/avatar-border.svg" />
<img class="avatarMask u-photo" width="{{ $profile_width }}" src="{{ $profile_image.RelPermalink }}" alt="Photo of {{ .Site.Params.Author }}">
<!-- <img src="{{ .Site.BaseURL }}img/avatar-border.svg" alt="Photo of {{ .Site.Params.Author }}"> -->
</div>
<!-- author -->
<h1 class="author title p-name">{{ .Site.Params.Author }}</h1>