Add parallax effect to background

This commit is contained in:
Tyler Perkins
2023-07-17 23:17:11 -04:00
parent 21d70b4a8a
commit b2f80c3a92
12 changed files with 155 additions and 32 deletions

View File

@@ -2,6 +2,7 @@
<html>
{{- partial "head.html" . -}}
<body>
<div class="parallax background"></div>
{{- partial "header.html" . -}}
<div id="content">
{{- block "main" . }}{{- end }}

View File

@@ -5,7 +5,7 @@
</div>
{{ range.Pages }}
<article class="light-dashed-bottom">
<a href="{{ .Permalink }}" onmouseover="scrambleLetters(document.querySelector('#{{ .Title | anchorize }}'))">
<a href="{{ .Permalink }}">
{{ if .Params.banner }}
<div class="post-list-body-container">
{{ else }}