mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2024-12-22 17:52:28 +00:00
Removed border from homepage
This commit is contained in:
parent
de907bfa1d
commit
7bba7d0f0b
2 changed files with 3 additions and 11 deletions
|
@ -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);
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue