diff options
| author | William Hergès <william@herges.fr> | 2025-08-09 18:24:09 +0200 |
|---|---|---|
| committer | William Hergès <william@herges.fr> | 2025-08-09 18:24:09 +0200 |
| commit | a4825a0d040cc8d323fdfd4e73a00fb00e3a12ca (patch) | |
| tree | 7c4e1a5bc13f59f73087ac14e86725ddd1509858 /src/scss | |
| parent | 56291f643376857a58523642e82d00eecdd61fb3 (diff) | |
feat(producteur): content and style
Diffstat (limited to 'src/scss')
| -rw-r--r-- | src/scss/style.scss | 40 |
1 files changed, 39 insertions, 1 deletions
diff --git a/src/scss/style.scss b/src/scss/style.scss index c4220af..e592e90 100644 --- a/src/scss/style.scss +++ b/src/scss/style.scss @@ -51,6 +51,9 @@ li { a { color: $text; + &:hover { + font-style: italic; + } } footer { @@ -90,7 +93,7 @@ section { position: relative; } -.content { +section[data-scroll] .content { position: absolute; display: flex; flex-direction: column; @@ -139,3 +142,38 @@ section { margin-bottom: 2rem; } } + +.producteur { + background-image: url("/home.jpg"); + background-size: cover; + background-position: center; + background-repeat: no-repeat; + background-attachment: fixed; + + & .blur { + position: absolute; + backdrop-filter: blur(50px) brightness(0.8); + inset: 0; + display: flex; + justify-content: center; + height: 100%; + } + & .content { + padding: 4rem; + display: grid; + grid-template-columns: 1fr 1fr; + align-items: center; + justify-items: center; + min-height: 75vh; + gap: 4rem; + } + & .text { + display: flex; + flex-direction: column; + gap: 4rem; + max-width: 800px; + } + & img { + box-shadow: 0 0 150px $background; + } +} |
