33 --font-family : system-ui, -apple-system, "Segoe UI" , "Roboto" , "Ubuntu" , "Cantarell" , "Noto Sans" , sans-serif, "Apple Color Emoji" , "Segoe UI Emoji" , "Segoe UI Symbol" , "Noto Color Emoji" ;
44 --line-height : 1.5 ;
55 --font-weight : 400 ;
6+ --font-weight-bold : 700 ;
67 --font-size : 16px ;
78 --border-radius : 0.25rem ;
89 --border-width : 1px ;
2021 --nav-link-spacing-vertical : 0.5rem ;
2122 --nav-link-spacing-horizontal : 0.5rem ;
2223 --form-label-font-weight : var (--font-weight );
23- --transition : 0.2s ease-in-out
24+ --transition : 0.2s ease-in-out;
25+ --function-name-color : # 1de9b6 ;
26+ --function-name-color-hover : # 0091ea ;
2427}
2528
2629@media (min-width : 576px ) {
@@ -923,6 +926,8 @@ input, select, textarea {
923926 box-shadow : var (--box-shadow );
924927 color : var (--color );
925928 font-weight : var (--font-weight );
929+ font-size : 1rem ;
930+ line-height : var (--line-height );
926931 transition : background-color var (--transition ), border-color var (--transition ), color var (--transition ), box-shadow var (--transition )
927932}
928933
@@ -1476,7 +1481,8 @@ pre > code {
14761481 padding : var (--spacing );
14771482 background-color : rgba (0 , 0 , 0 , 0.55 );
14781483 font-size : 14px ;
1479- line-height : var (--line-height )
1484+ line-height : var (--line-height );
1485+ overflow-x : auto;
14801486}
14811487
14821488code b {
@@ -2370,18 +2376,11 @@ hgroup {
23702376 text-align : center
23712377}
23722378
2373- hgroup h2 {
2374- margin-bottom : var (--spacing )
2375- }
23762379
23772380hgroup : after {
23782381 display : none
23792382}
23802383
2381- h3 {
2382- --font-weight : 400
2383- }
2384-
23852384svg {
23862385 color : var (--primary );
23872386 width : auto;
@@ -2662,37 +2661,84 @@ section#demo {
26622661.panel-container {
26632662 display : flex;
26642663 flex-direction : column;
2665- gap : 1.5 rem ;
2664+ gap : 1 rem ;
26662665}
26672666
26682667@media (min-width : 768px ) {
26692668 .panel-container {
26702669 flex-direction : row;
2671- gap : 2.5rem ;
26722670 }
26732671}
26742672
26752673.snippet-panel {
26762674 flex : 1 ;
2677- margin-right : 10px ; /* adjust as needed */
2675+ width : 50% ;
2676+ }
2677+
2678+ .snippet-documentation-panel {
2679+ margin : var (--block-spacing-vertical ) 0 ;
2680+ }
2681+
2682+ .snippet-documentation-panel h2 {
2683+ font-size : 2.0rem ;
26782684}
26792685
26802686.documentation-panel {
26812687 background-color : rgba (255 , 255 , 255 , 0.10 );
2682- border-radius : 20 px ;
2688+ border-radius : var ( --border-radius ) ;
26832689 flex : 1 ;
2684- padding : 30px ;
2690+ height : 100% ;
2691+ padding : 1rem ;
26852692 backdrop-filter : blur (10px );
26862693 border : 1px solid rgba (255 , 255 , 255 , 0.15 );
26872694}
26882695
2689- .snippet-documentation-panel {
2690- margin-top : 20px ;
2691- margin-bottom : 20px ;
2696+ .documentation-panel > div : first-child {
2697+ display : flex;
2698+ flex-direction : column;
2699+ gap : 1rem ;
26922700}
26932701
2694- .snippet-documentation-panel h2 {
2695- font-size : 2.0rem ;
2702+ .documentation-panel h2 {
2703+ margin-bottom : var (--spacing );
2704+ }
2705+
2706+ .documentation-panel h2 , .documentation-panel h2 a {
2707+ color : var (--function-name-color );
2708+ }
2709+
2710+ .documentation-panel h3 {
2711+ font-size : 1.25rem ;
2712+ color : # fff ;
2713+ margin-top : 0 ;
2714+ margin-bottom : 0 ;
2715+ }
2716+
2717+ .documentation-panel p {
2718+ font-size : 1rem ;
2719+ color : # e0e6ed ;
2720+ margin-bottom : 1em ;
2721+ }
2722+
2723+ .documentation-panel div pre {
2724+ margin-bottom : 0 ;
2725+ }
2726+
2727+ .documentation-panel .admonition {
2728+ background : rgba (126 , 224 , 255 , 0.10 );
2729+ border : 2px solid rgba (126 , 224 , 255 , 0.10 );
2730+ border-radius : var (--border-radius );
2731+ padding : 0.5rem 0.75rem ;
2732+ backdrop-filter : blur (10px );
2733+ /* margin: 1em 0; */
2734+ }
2735+
2736+ .documentation-panel .admonition h4 {
2737+ font-size : 0.95rem ;
2738+ font-weight : 600 ;
2739+ color : # 7ee0ff ;
2740+ margin-bottom : 0.2em ;
2741+ letter-spacing : 0.01em ;
26962742}
26972743
26982744.halign-left {
@@ -2791,6 +2837,7 @@ nav {
27912837}
27922838
27932839.banner-snippet code {
2840+ color : # fff ;
27942841 margin-top : 0.5rem ;
27952842 background-color : rgba (255 , 255 , 255 , 0.10 );
27962843}
@@ -3121,3 +3168,26 @@ header .header-image {
31213168 row-gap : 1rem ;
31223169 }
31233170}
3171+
3172+ .features hgroup {
3173+ margin-bottom : var (--block-spacing-vertical );
3174+ }
3175+
3176+ /* Alignment helpers for flex/grid children */
3177+ .align-left { justify-self : start !important ; align-self : start !important ; }
3178+ .align-center { justify-self : center !important ; align-self : center !important ; }
3179+ .align-right { justify-self : end !important ; align-self : end !important ; }
3180+
3181+ .align-top { align-self : start !important ; }
3182+ .align-middle { align-self : center !important ; }
3183+ .align-bottom { align-self : end !important ; }
3184+
3185+ /* For flex containers (if needed) */
3186+ .flex-align-left { margin-right : auto !important ; }
3187+ .flex-align-center { margin-left : auto !important ; margin-right : auto !important ; }
3188+ .flex-align-right { margin-left : auto !important ; }
3189+
3190+ .snippet-image {
3191+ display : flex;
3192+ height : 100% ;
3193+ }
0 commit comments