@@ -59,8 +59,12 @@ md-path__list > .md-path__item > .md-path__link {
5959 margin-right : 6.7% ;
6060}
6161
62- /* This forces all main content EXCEPT the index page to be 45rem wide */
63- .md-sidebar--primary : is ([hidden ]) ~ .md-content : not (: has (.md-content__inner .index-page )) {
62+ /* This forces all main content EXCEPT the index and blog pages to be 45rem wide */
63+ /* The blog page includes the blog left sidebar in the width, and needs to be ignored */
64+ /* Docs page has its own width limits, and is ignored here. */
65+ .md-sidebar--primary : is ([hidden ]) ~ .md-content : not (: has (.index-page , .md-sidebar--post )) .md-content__inner : not (: has (.docs-page )),
66+ .md-post__content ,
67+ .md-content--post > .md-content__inner {
6468 max-width : 45rem ;
6569}
6670
@@ -339,6 +343,11 @@ a.index-main-keep {
339343 min-width : 15rem ;
340344}
341345
346+ /* The right sidebar when not on blog pages */
347+ .md-sidebar--secondary : has (+ : not (.md-content--post )) {
348+ margin-right : 5.5% ;
349+ }
350+
342351h2 # sidebar {
343352 margin-top : 0rem ;
344353}
@@ -537,6 +546,11 @@ h1 .news {
537546 width : 13rem ;
538547}
539548
549+ .md-content--post > .md-content__inner ,
550+ .md-content__inner : has (.md-post ) {
551+ margin-top : 1.8rem ;
552+ }
553+
540554.md-post__content h2 : first-of-type {
541555 display : none;
542556}
@@ -553,6 +567,7 @@ h1 .news {
553567.md-sidebar--primary : is ([hidden ]) ~ .md-content .md-content--post {
554568 margin-left : 0 ;
555569 margin-right : 0 ;
570+ max-width : fit-content;
556571}
557572
558573@media screen and (min-width : 76.25em ) {
0 commit comments