File tree Expand file tree Collapse file tree 4 files changed +21
-2
lines changed
Expand file tree Collapse file tree 4 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 11/* default cards css */
2+ .cards {
3+ position : relative;
4+ z-index : 1 ;
5+ }
26.cards > ul {
37 display : grid;
48 grid-template-columns : 1fr ;
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ main .hero-container {
1111.hero {
1212 position : relative;
1313 padding : 32px ;
14- min-height : 275 px ;
14+ min-height : 375 px ;
1515}
1616
1717.hero h1 ,
@@ -24,6 +24,7 @@ main .hero-container {
2424
2525.hero h1 {
2626 margin-bottom : 0 ;
27+ margin-top : 200px ;
2728}
2829
2930.hero h4 {
@@ -33,7 +34,8 @@ main .hero-container {
3334
3435.hero picture {
3536 position : absolute;
36- z-index : -1 ;
37+ /* position: fixed;
38+ z-index: 1; */
3739 inset : 0 ;
3840 object-fit : cover;
3941 box-sizing : border-box;
Original file line number Diff line number Diff line change 1+ import decorate from '../blocks/hero/hero.js' ;
12import {
23 sampleRUM ,
34 buildBlock ,
@@ -57,6 +58,10 @@ function buildAutoBlocks(main) {
5758 }
5859}
5960
61+ // function decorateButtons(main) {
62+ // libDecorateButtons(main);
63+ // }
64+
6065/**
6166 * Decorates the main element.
6267 * @param {Element } main The main element
Original file line number Diff line number Diff line change @@ -208,6 +208,14 @@ main img {
208208/* sections */
209209main .section {
210210 padding : 16px ;
211+ background-color : white;
212+ position : relative;
213+ z-index : -2 ;
214+ }
215+
216+ main .block {
217+ position : relative;
218+ z-index : 1 ;
211219}
212220
213221main .main-wrapper .section : not (: first-of-type ) {
You can’t perform that action at this time.
0 commit comments