File tree Expand file tree Collapse file tree 2 files changed +50
-1
lines changed
Expand file tree Collapse file tree 2 files changed +50
-1
lines changed Original file line number Diff line number Diff line change 1+ .page-layout > * ,
2+ .full-width > * {
3+ grid-column : content ;
4+ }
5+ .page-layout ,
6+ .full-width {
7+ --minimum-content-padding : 2rem ;
8+
9+ /* * TRACK WIDTHS **/
10+ --full-max-width : 1fr ;
11+ --popout-max-width : 1400px ;
12+ --content-max-width : 860px ;
13+
14+ /* * TRACK SIZES **/
15+ --full : minmax ( var (--minimum-content-padding ), 1fr );
16+ --popout : minmax ( 0 , calc ( ( var (--popout-max-width ) - var (--content-max-width )) * 0.5 ) );
17+ --content : min ( var (--content-max-width ), 100% - var (--minimum-content-padding ) * 2 );
18+
19+ display : grid ;
20+ grid-template-columns :
21+ [full- start]
22+ var (--full )
23+ [popout- start]
24+ var (--popout )
25+ [content- start]
26+ var (--content )
27+ [content- end]
28+ var (--popout )
29+ [popout- end]
30+ var (--full )
31+ [full- end];
32+ }
33+
34+ /* * CLASSES **/
35+ .full { grid-column : full; }
36+ .full-start { grid-column-start : full- start; }
37+ .full-end { grid-column-end : full- end; }
38+
39+ .popout { grid-column : popout; }
40+ .popout-start { grid-column-start : popout- start; }
41+ .popout-end { grid-column-end : popout- end; }
42+
43+ .content { grid-column : content ; }
44+ .content-start { grid-column-start : content- start; }
45+ .content-end { grid-column-end : content- end; }
46+
47+ .full-width { grid-column : full; }
48+ .full-content , .full-content-nopad { grid-column : full; }
49+ .full-content { padding-inline : var (--minimum-content-padding ); }
Original file line number Diff line number Diff line change 1515 </div >
1616
1717 {{ featured_image }}
18- <div class =" the-content wysiwyg" >
18+ <div class =" the-content wysiwyg page-layout " >
1919 {{ the_content }}
2020 </div >
2121 </div >
You can’t perform that action at this time.
0 commit comments