Skip to content

Commit 1706875

Browse files
committed
feat: Add background to header
Signed-off-by: Felicitas Pojtinger <felicitas@pojtinger.com>
1 parent 7ed0ad3 commit 1706875

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

data/resources.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ design:
141141
- name: logo
142142
description: "VanLUG logo (icon + wordmark for cards)"
143143
- name: header
144-
description: "Banner header for Luma and OpenGraph"
144+
description: "Banner header for Luma, OpenGraph and the home page background"
145145
photo:
146146
credit: "Lee Robinson"
147147
url: https://unsplash.com/photos/Yc9h5SJdEzI

layouts/_partials/section-home.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
<section
33
class="pf-v6-c-page__main-section pf-m-limit-width pf-m-align-center"
44
style="
5-
--pf-v6-c-page__main-section--BackgroundColor: var(
6-
--pf-t--global--background--color--secondary--default
7-
);
5+
background: linear-gradient(color-mix(in srgb, var(--pf-t--global--background--color--primary--default) 80%, transparent) 0%, var(--pf-t--global--background--color--primary--default) 100%), url('{{ "design/lee-robinson-Yc9h5SJdEzI-unsplash.jpg" | relURL }}') center / cover;
86
padding-block: var(--pf-t--global--spacer--3xl);
97
"
108
>

0 commit comments

Comments
 (0)