mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2024-11-09 10:50:34 -05: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;
|
height: 250px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-home .h-card .avatar img {
|
|
||||||
width: 250px;
|
|
||||||
position: absolute;
|
|
||||||
margin: 0 auto;
|
|
||||||
left: 0;
|
|
||||||
right: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.main-home .h-card .avatarMask {
|
.main-home .h-card .avatarMask {
|
||||||
clip-path: circle(120px at center);
|
clip-path: circle(120px at center);
|
||||||
-webkit-clip-path: circle(120px at center);
|
-webkit-clip-path: circle(120px at center);
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
{{- partial "head.html" . -}}
|
{{- partial "head.html" . -}}
|
||||||
<body>
|
<body>
|
||||||
<main class="main-home">
|
<main class="main-home">
|
||||||
|
@ -9,8 +9,8 @@
|
||||||
{{ $profile_image := resources.Get (printf "img/%s" .Site.Params.avatar) }}
|
{{ $profile_image := resources.Get (printf "img/%s" .Site.Params.avatar) }}
|
||||||
{{ $profile_width := 250 }}
|
{{ $profile_width := 250 }}
|
||||||
{{ $profile_image := $profile_image.Resize (printf "%dx" $profile_width) }}
|
{{ $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 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 src="{{ .Site.BaseURL }}img/avatar-border.svg" alt="Photo of {{ .Site.Params.Author }}"> -->
|
||||||
</div>
|
</div>
|
||||||
<!-- author -->
|
<!-- author -->
|
||||||
<h1 class="author title p-name">{{ .Site.Params.Author }}</h1>
|
<h1 class="author title p-name">{{ .Site.Params.Author }}</h1>
|
||||||
|
|
Loading…
Reference in a new issue