Skip to content

Commit 9a1d86b

Browse files
committed
update nav
1 parent d0177cc commit 9a1d86b

File tree

3 files changed

+6
-13
lines changed

3 files changed

+6
-13
lines changed

blocks/hero/hero.css

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ main .hero-container > div {
66

77
main .hero-container {
88
padding: 0;
9+
position: relative;
10+
z-index: -1;
911
}
1012

1113
.hero {
@@ -33,9 +35,9 @@ main .hero-container {
3335
}
3436

3537
.hero picture {
36-
position: absolute;
37-
/* position: fixed;
38-
z-index: 1; */
38+
/* position: absolute; */
39+
position: fixed;
40+
z-index: -1;
3941
inset: 0;
4042
object-fit: cover;
4143
box-sizing: border-box;

scripts/scripts.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,6 @@ function buildAutoBlocks(main) {
5858
}
5959
}
6060

61-
// function decorateButtons(main) {
62-
// libDecorateButtons(main);
63-
// }
64-
6561
/**
6662
* Decorates the main element.
6763
* @param {Element} main The main element

styles/styles.css

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -209,14 +209,9 @@ main img {
209209
main .section {
210210
padding: 16px;
211211
background-color: white;
212-
position: relative;
213-
z-index: -2;
214212
}
215213

216-
main .block {
217-
position: relative;
218-
z-index: 1;
219-
}
214+
220215

221216
main .main-wrapper .section:not(:first-of-type) {
222217
border-radius: 10px;

0 commit comments

Comments
 (0)