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,85 @@ 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+ width : 50% ;
2691+ height : 100% ;
2692+ padding : 1rem ;
26852693 backdrop-filter : blur (10px );
26862694 border : 1px solid rgba (255 , 255 , 255 , 0.15 );
26872695}
26882696
2689- .snippet-documentation-panel {
2690- margin-top : 20px ;
2691- margin-bottom : 20px ;
2697+ .documentation-panel > div : first-child {
2698+ display : flex;
2699+ flex-direction : column;
2700+ gap : 1rem ;
26922701}
26932702
2694- .snippet-documentation-panel h2 {
2695- font-size : 2.0rem ;
2703+ .documentation-panel h2 {
2704+ margin-bottom : var (--spacing );
2705+ }
2706+
2707+ .documentation-panel h2 , .documentation-panel h2 a {
2708+ color : var (--function-name-color );
2709+ }
2710+
2711+ .documentation-panel h3 {
2712+ font-size : 1.25rem ;
2713+ color : # fff ;
2714+ margin-top : 0 ;
2715+ margin-bottom : 0 ;
2716+ }
2717+
2718+ .documentation-panel p {
2719+ font-size : 1rem ;
2720+ color : # e0e6ed ;
2721+ margin-bottom : 1em ;
2722+ }
2723+
2724+ .documentation-panel div pre {
2725+ margin-bottom : 0 ;
2726+ }
2727+
2728+ .documentation-panel .admonition {
2729+ background : rgba (126 , 224 , 255 , 0.10 );
2730+ border : 2px solid rgba (126 , 224 , 255 , 0.10 );
2731+ border-radius : var (--border-radius );
2732+ padding : 0.5rem 0.75rem ;
2733+ backdrop-filter : blur (10px );
2734+ /* margin: 1em 0; */
2735+ }
2736+
2737+ .documentation-panel .admonition h4 {
2738+ font-size : 0.95rem ;
2739+ font-weight : 600 ;
2740+ color : # 7ee0ff ;
2741+ margin-bottom : 0.2em ;
2742+ letter-spacing : 0.01em ;
26962743}
26972744
26982745.halign-left {
@@ -2791,6 +2838,7 @@ nav {
27912838}
27922839
27932840.banner-snippet code {
2841+ color : # fff ;
27942842 margin-top : 0.5rem ;
27952843 background-color : rgba (255 , 255 , 255 , 0.10 );
27962844}
@@ -3121,3 +3169,26 @@ header .header-image {
31213169 row-gap : 1rem ;
31223170 }
31233171}
3172+
3173+ .features hgroup {
3174+ margin-bottom : var (--block-spacing-vertical );
3175+ }
3176+
3177+ /* Alignment helpers for flex/grid children */
3178+ .align-left { justify-self : start !important ; align-self : start !important ; }
3179+ .align-center { justify-self : center !important ; align-self : center !important ; }
3180+ .align-right { justify-self : end !important ; align-self : end !important ; }
3181+
3182+ .align-top { align-self : start !important ; }
3183+ .align-middle { align-self : center !important ; }
3184+ .align-bottom { align-self : end !important ; }
3185+
3186+ /* For flex containers (if needed) */
3187+ .flex-align-left { margin-right : auto !important ; }
3188+ .flex-align-center { margin-left : auto !important ; margin-right : auto !important ; }
3189+ .flex-align-right { margin-left : auto !important ; }
3190+
3191+ .snippet-image {
3192+ display : flex;
3193+ height : 100% ;
3194+ }
0 commit comments