File tree Expand file tree Collapse file tree 3 files changed +72
-0
lines changed
Expand file tree Collapse file tree 3 files changed +72
-0
lines changed Original file line number Diff line number Diff line change 1515 </section >
1616 </div >
1717</header >
18+ <section class =' page-about__position' >
19+ <div class =' page-about__position__inner' >
20+ <img class =' page-about__position--image' src ={{ asset ' images/about__position.jpg' }} />
21+ <div class =' page-about__position--content' >
22+ {{ #get ' pages' filter =" title:'About::Position - Body'" limit =' 1' }}
23+ {{ #foreach pages }}
24+ {{ content }}
25+ {{ /foreach }}
26+ {{ /get }}
27+ </div >
28+ </div >
29+ </section >
1830{{> ' get-involved' }}
Original file line number Diff line number Diff line change 3232 }
3333 }
3434
35+ .page-about__position {
36+ background : rgba (247 , 249 , 252 , 1 );
37+ margin : auto;
38+ }
39+
40+ .page-about__position__inner {
41+ display : grid;
42+ gap : 48px ;
43+ grid-template-areas : 'image' 'content' ;
44+ grid-template-columns : 1fr ;
45+ justify-content : center;
46+ margin : auto;
47+ max-width : 1135px ;
48+ padding : 70px 40px ;
49+ }
50+
51+ .page-about__position--content {
52+ font-family : 'Rubik' , sans-serif;
53+ font-size : 1rem ;
54+ grid-area : content;
55+ line-height : 1.75rem ;
56+ }
57+
58+ .page-about__position--image {
59+ border-radius : 8px ;
60+ grid-area : image;
61+ height : 400px ;
62+ margin : auto;
63+ max-width : 345px ;
64+ object-fit : cover;
65+ width : 100% ;
66+ }
67+
3568 @media (min-width : 834px ) {
3669 .page-about__hero {
3770 min-height : 834px ;
4477 font-size : 2rem ;
4578 }
4679 }
80+
81+ .page-about__position__inner {
82+ align-items : center;
83+ grid-template-areas : 'image content' ;
84+ grid-template-columns : repeat (2 , minmax (0 , 1fr ));
85+ }
86+
87+ .page-about__position--content {
88+ font-size : 1.125rem ;
89+ }
90+
91+ .page-about__position--image {
92+ height : 100% ;
93+ }
4794 }
4895
4996 @media (min-width : 1440px ) {
54101 .page-about__hero__inner {
55102 padding : 0 ;
56103 }
104+
105+ .page-about__position__inner {
106+ grid-template-columns : 352px 1fr ;
107+ }
108+
109+ .page-about__position--content {
110+ font-size : 1.5rem ;
111+ }
112+
113+ .page-about__position--image {
114+ max-height : 500px ;
115+ max-width : 100% ;
116+ }
57117 }
58118}
You can’t perform that action at this time.
0 commit comments