Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions blocks/cards/cards.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
/* default cards css */
.cards {
position: relative;
z-index: 1;
}
.cards > ul {
display: grid;
grid-template-columns: 1fr;
Expand Down
8 changes: 6 additions & 2 deletions blocks/hero/hero.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ main .hero-container > div {

main .hero-container {
padding: 0;
position: relative;
z-index: -1;
}

.hero {
position: relative;
padding: 32px;
min-height: 275px;
min-height: 375px;
}

.hero h1,
Expand All @@ -24,6 +26,7 @@ main .hero-container {

.hero h1 {
margin-bottom: 0;
margin-top: 200px;
}

.hero h4 {
Expand All @@ -32,7 +35,8 @@ main .hero-container {
}

.hero picture {
position: absolute;
/* position: absolute; */
position: fixed;
z-index: -1;
inset: 0;
object-fit: cover;
Expand Down
1 change: 1 addition & 0 deletions scripts/scripts.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import decorate from '../blocks/hero/hero.js';

Check failure on line 1 in scripts/scripts.js

View workflow job for this annotation

GitHub Actions / build

'decorate' is defined but never used

Check failure on line 1 in scripts/scripts.js

View workflow job for this annotation

GitHub Actions / build

Dependency cycle detected
import {
sampleRUM,
buildBlock,
Expand Down
3 changes: 3 additions & 0 deletions styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,11 @@ main img {
/* sections */
main .section {
padding: 16px;
background-color: white;
}



main .main-wrapper .section:not(:first-of-type) {
border-radius: 10px;
box-shadow: 0 4px 20px rgba(0 0 0 / 10%);
Expand Down
Loading