File tree Expand file tree Collapse file tree
src/components/ParserOpenRPC/DetailsBox Expand file tree Collapse file tree Original file line number Diff line number Diff line change 394394 }
395395}
396396
397+ // Fallback selector for contexts where CSS module class names don't apply (e.g., wallet documentation)
398+ :global([id = ' centerContent' ] .md-content ) {
399+ font-size : inherit ;
400+ line-height : inherit ;
401+
402+ a {
403+ color : var (--ifm-link-color );
404+ text-decoration : underline ;
405+ text-decoration-color : var (--ifm-link-color );
406+ text-decoration-thickness : 0.1rem ;
407+ text-underline-offset : 0.4rem ;
408+ transition : color var (--ifm-transition-fast ) var (--ifm-transition-timing-default );
409+ font-weight : 500 ;
410+
411+ & :hover {
412+ color : var (--ifm-link-hover-color );
413+ text-decoration : underline ;
414+ text-decoration-color : var (--ifm-link-hover-color );
415+ text-decoration-thickness : 0.1rem ;
416+ text-underline-offset : 0.4rem ;
417+ }
418+ }
419+
420+ code {
421+ font-family : var (--font-mm-sans-mono );
422+ font-size : var (--parser-code-font-size );
423+ padding-left : 0.5rem ;
424+ padding-right : 0.5rem ;
425+ background : var (--ifm-code-background );
426+ border-radius : 0.4rem ;
427+ }
428+
429+ ul ,
430+ ol {
431+ font-size : inherit !important ;
432+ line-height : inherit ;
433+ margin : 0.5rem 0 ;
434+ }
435+
436+ li {
437+ font-size : inherit !important ;
438+ line-height : inherit ;
439+ }
440+
441+ p {
442+ font-size : inherit ;
443+ line-height : inherit ;
444+ }
445+ }
446+
397447// Additional high-specificity selectors to ensure lists match paragraph font size
398448:global(.type-paragraph-m ul ),
399449:global(.type-paragraph-m ol ),
You can’t perform that action at this time.
0 commit comments