File tree Expand file tree Collapse file tree 2 files changed +14
-6
lines changed
Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 55 margin : 0 auto;
66 position : relative;
77 width : auto;
8+ padding : 0 calc (1.875rem + 1em );
89}
910@media screen and (min-width : 1024px ) {
1011 .container {
11- max-width : 960 px ;
12+ max-width : calc ( 70 em + 15 em + 1.875 rem ) ;
1213 }
1314}
1415@media screen and (min-width : 1216px ) {
1516 .container {
16- max-width : 1152 px ;
17+ max-width : calc ( 70 em + 15 em + 1.875 rem ) ;
1718 }
1819}
1920@media screen and (max-width : 768px ) {
Original file line number Diff line number Diff line change 22 display : flex;
33 flex-wrap : nowrap;
44 justify-content : center;
5- margin : 1em ;
5+ margin : 1em auto;
6+ max-width : calc (70em + 15em + 1.875rem );
7+ padding : 0 calc (1.875rem + 1em );
8+ gap : 1.875rem ;
69}
710
811.content-container {
912 flex-basis : 70em ;
1013 flex-shrink : 1 ;
1114 flex-direction : column;
12- margin : 0 1.875rem ;
13- padding : 1rem ;
15+ margin : 0 ;
16+ padding : 1rem 0 ;
17+ }
1418
15- /* Handle code cells overflowing */
19+ /* Code blocks handle their own overflow */
20+ .content-container : has (pre ),
21+ .content-container : has (.highlight ),
22+ .content-container : has (.chroma ) {
1623 overflow : auto;
1724}
You can’t perform that action at this time.
0 commit comments