@@ -1304,28 +1304,28 @@ html.no-infinite-scroll .pagination {
1304
1304
is laid out on top of. Canvas just defines the grid, we don't
1305
1305
use it for applying any other styles. */
1306
1306
1307
- .gh-canvas {
1307
+ .gh-canvas ,
1308
+ .kg-width-full .kg-content-wide {
1309
+ --gap : max (4vmin , 20px );
1310
+ --main : min (var (--content-width , 720px ), 100% - var (--gap ) * 2 );
1311
+ --wide : minmax (0 , calc ((var (--container-width , 1200px ) - var (--content-width , 720px )) / 2 ));
1312
+ --full : minmax (var (--gap ), 1fr );
1313
+
1308
1314
display : grid;
1309
1315
grid-template-columns :
1310
- [full-start]
1311
- minmax (max (4vmin , 20px ), auto)
1312
- [wide-start]
1313
- minmax (auto, 240px )
1314
- [main-start]
1315
- min (720px , calc (100% - max (8vmin , 40px )))
1316
- [main-end]
1317
- minmax (auto, 240px )
1318
- [wide-end]
1319
- minmax (max (4vmin , 20px ), auto)
1320
- [full-end]
1321
- ;
1316
+ [full-start] var (--full )
1317
+ [wide-start] var (--wide )
1318
+ [main-start] var (--main ) [main-end]
1319
+ var (--wide ) [wide-end]
1320
+ var (--full ) [full-end];
1322
1321
}
1323
1322
1324
1323
.gh-canvas > * {
1325
1324
grid-column : main-start / main-end;
1326
1325
}
1327
1326
1328
- .kg-width-wide {
1327
+ .kg-width-wide ,
1328
+ .kg-content-wide > div {
1329
1329
grid-column : wide-start / wide-end;
1330
1330
}
1331
1331
@@ -2128,8 +2128,7 @@ html.dark-mode figcaption a {
2128
2128
color : # fff ;
2129
2129
}
2130
2130
2131
- html .dark-mode .gh-head ,
2132
- html .dark-mode .has-cover : not (.home-template ) .gh-head {
2131
+ html .dark-mode body : not (.has-cover ) .gh-head {
2133
2132
background : var (--color-darkmode );
2134
2133
color : # fff ;
2135
2134
}
@@ -2297,8 +2296,8 @@ html.dark-mode .footer-cta-title {
2297
2296
}
2298
2297
2299
2298
@media (max-width : 767px ) {
2300
- html .dark-mode .gh-head-open # gh-head ,
2301
- html .dark-mode .gh-head-open # gh-head .gh-head-actions {
2299
+ html .dark-mode .gh-head-open : not (. has-cover ) # gh-head ,
2300
+ html .dark-mode .gh-head-open : not (. has-cover ) # gh-head .gh-head-actions {
2302
2301
background : var (--color-darkmode );
2303
2302
}
2304
2303
}
@@ -2321,8 +2320,7 @@ html.dark-mode .footer-cta-title {
2321
2320
color : # fff ;
2322
2321
}
2323
2322
2324
- html .auto-color .gh-head ,
2325
- html .auto-color .has-cover : not (.home-template ) .gh-head {
2323
+ html .auto-color body : not (.has-cover ) .gh-head {
2326
2324
background : var (--color-darkmode );
2327
2325
color : # fff ;
2328
2326
}
@@ -2490,8 +2488,8 @@ html.dark-mode .footer-cta-title {
2490
2488
}
2491
2489
2492
2490
@media (max-width : 767px ) {
2493
- html .auto-color .gh-head-open # gh-head ,
2494
- html .auto-color .gh-head-open # gh-head .gh-head-actions {
2491
+ html .auto-color .gh-head-open : not (. has-cover ) # gh-head ,
2492
+ html .auto-color .gh-head-open : not (. has-cover ) # gh-head .gh-head-actions {
2495
2493
background : var (--color-darkmode );
2496
2494
}
2497
2495
}
0 commit comments