Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/chipsenkbeil/grid-side.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/homepage/header-scrolling.html')
-rw-r--r--layouts/partials/homepage/header-scrolling.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/layouts/partials/homepage/header-scrolling.html b/layouts/partials/homepage/header-scrolling.html
new file mode 100644
index 0000000..401d9bb
--- /dev/null
+++ b/layouts/partials/homepage/header-scrolling.html
@@ -0,0 +1,14 @@
+<!-- NOTE: Must be at root level for firefox to work (cannot wrap in header) -->
+<div class="parallax__group">
+ <div class="parallax__layer parallax__layer--base">
+ {{ partial "homepage/header-logo.html" . }}
+ </div>
+ <div class="parallax__layer parallax__layer--back {{ if .image }}fullsize-background-image{{ end }}"
+ {{ if .image }}
+ style="background-image: url('{{ .image }}'); {{ with .image_position }}background-position: {{ . }};{{ end }}"
+ {{ else }}
+ style="background-color: {{ .color }}"
+ {{ end }}
+ ></div>
+</div>
+