@@ -984,7 +984,13 @@ html:not(.v3):has(.boostlook) {
984984 /* Prevent text overflow */
985985}
986986
987- .boostlook : not (pre ): not ([class ^= "L" ]) > code {
987+ /* Two forms of the same reset: the code's parent may be a descendant of the
988+ .boostlook element (doc/container case, e.g. div.boostlook > p > code) or the
989+ .boostlook element itself (leaf case, e.g. p.boostlook > code — used by the
990+ website-v2 site components). Covering both keeps inline code from falling
991+ through to the host page's global `code` color. */
992+ .boostlook : not (pre ): not ([class ^= "L" ]) > code ,
993+ .boostlook : not (pre ): not ([class ^= "L" ]) > code {
988994 /* overrides builtin colors */
989995 color : var (--text-code-text , # 050816 );
990996 border : 0 ;
@@ -5731,6 +5737,13 @@ html.v3 .boostlook {
57315737.boostlook .markdown-content h5 ,
57325738.boostlook .markdown-content h6 { font-size : var (--font-size-small ); }
57335739
5740+ /* Asciidoctor wraps each heading in a .sectN div, so it isn't a direct flex child and the
5741+ container gap can't space it — the `margin: 0` above collapses it against its body text.
5742+ Restore the gap, scoped to the nested case so flat markdown doesn't double up. #2535. */
5743+ .boostlook .markdown-content : is (.sect1 , .sect2 , .sect3 ) > : is (h1 , h2 , h3 , h4 , h5 , h6 ) {
5744+ margin-bottom : var (--space-default );
5745+ }
5746+
57345747.boostlook .markdown-content b ,
57355748.boostlook .markdown-content strong {
57365749 color : var (--color-text-primary );
@@ -5816,7 +5829,8 @@ html.v3 .boostlook {
58165829
58175830/* Release highlights card (what's-new via inline_markdown) — #2491. inline_markdown
58185831 emits only <strong> and <code>; layout/base type stays in release-highlights-card.css.
5819- Bold uses the site's medium weight; inline code inherits boostlook's treatment. */
5832+ Bold uses the site's medium weight; inline code inherits boostlook's treatment (the
5833+ leaf-case reset in 04-reset.css covers `p.boostlook > code`). */
58205834.boostlook .release-highlight__description strong {
58215835 font-weight : var (--font-weight-medium );
58225836}
0 commit comments