File tree Expand file tree Collapse file tree 5 files changed +42
-10
lines changed
Expand file tree Collapse file tree 5 files changed +42
-10
lines changed Original file line number Diff line number Diff line change 11{{!-- This template is used to render the precise layout of /corporate-sponsorship --}}
2- {{!< default }}
2+ {{!< default }}
33{{ #post }}
44 <div id =" modern" >
5- <div class =" {{ post_class }} " >
5+ <div class =" container " >
66 <h1 >{{ title }} </h1 >
77 <div >{{ content }} </div >
88 </div >
9- <div class =" {{ post_class }} corporate-sponsors" >
9+ <div class =" container corporate-sponsors" >
1010 <div class =" level ruby" >
1111 <div class =" name" ><h3 >Ruby</h3 ></div >
1212 <div class =" bucket" >
4444 </div >
4545 </div >
4646 </div >
47- <div class =" {{ post_class }} " >
47+ <div class =" container " >
4848 {{ #get " pages" filter =" slug:benefits-of-supporting-ruby-central" }}
4949 {{ #foreach pages }}
5050 <h3 >{{ title }} </h3 >
5353 {{ /get }}
5454 </div >
5555
56- <div class =" {{ post_class }} program-news" >
56+ <div class =" container program-news" >
5757 {{ #get " pages" filter =" slug:program-news" }}
5858 {{ #foreach pages }}
5959 <h3 >Program News</h3 >
6767 {{ /foreach }}
6868 {{ /get }}
6969 </div >
70- <div class =" {{ post_class }} " >
70+ <div class =" container " >
7171 {{ #get " pages" filter =" slug:more-corporate-sponsorship-details" }}
7272 {{ #foreach pages }}
7373 <div >{{ content }} </div >
7777{{ /post }}
7878{{ #contentFor ' scripts' }}
7979<script src =" {{ asset ' dist/post.js' }} " defer></script >
80- {{ /contentFor }}
80+ {{ /contentFor }}
Original file line number Diff line number Diff line change 1414@import './layout/reset.css' ;
1515@import './layout/navigation.css' ;
1616@import './layout/dropdown.css' ;
17+ @import './layout/container.css' ;
1718/* @import './layout/header.css'; */
1819/* @import './layout/footer.css'; */
1920
Original file line number Diff line number Diff line change 55 color : var (--text );
66 font-family : 'Inter' , sans-serif;
77 font-size : 1rem ;
8- line-height : 1.4 rem ;
8+ line-height : 1.5 rem ;
99}
1010
1111h1 ,
2121}
2222
2323p {
24- margin : 0 ;
24+ margin-bottom : 16 px ;
2525}
2626
2727h2 {
Original file line number Diff line number Diff line change 1+ .container ,
2+ .container--full-width {
3+ margin : 0 auto;
4+ }
5+
6+ .container {
7+ max-width : 1135px ;
8+ padding : 0 20px ;
9+ width : 100% ;
10+ }
11+
12+ .container--full-width {
13+ max-width : unset;
14+ }
15+
16+ @media (min-width : 834px ) {
17+ .container {
18+ padding : 0 40px ;
19+ }
20+ }
21+
22+ @media (min-width : 1440px ) {
23+ .container {
24+ padding : 0 ;
25+ }
26+ }
Original file line number Diff line number Diff line change 230230 width : 45% ;
231231 }
232232 .level .name {
233- text-align : center;
234233 padding : 1rem 0 0.25rem 0 ;
235234 margin : auto;
236235 border-top-left-radius : .75rem ;
237236 border-top-right-radius : .75rem ;
237+
238+ h3 {
239+ text-align : center;
240+
241+ }
238242 }
239243
240244 .corporate-sponsors {
241245 display : flex;
242246 flex-wrap : wrap;
243247 justify-content : space-between;
244248 gap : 1rem ;
249+ margin-top : 48px ;
245250 }
246251 .level .ruby , .level .gold {
247252 flex : 1 1 100% ;
You can’t perform that action at this time.
0 commit comments