@@ -82,21 +82,34 @@ starlight-tabs {
8282 margin-top : .5em ;
8383}
8484
85- /* inline code css , config font in uno.config.ts */
85+ /* Inline code styles */
8686.prose : where (: not (pre ) > code ): not (: where (.not-prose , .not-prose * )) {
87- border-radius : .25rem ;
88- padding : .15rem ;
89- --un-bg-opacity : .13 ;
90- background-color : hsl (var (--foreground ) / var (--un-bg-opacity )) !important ;
87+ font-size : 0.9em !important ;
88+ font-weight : 500 !important ;
89+ border-radius : 0.25rem !important ;
90+ padding : 0.1rem 0.35rem !important ;
91+ border : 1px solid hsl (var (--border )) !important ;
92+ background-color : hsl (45 25% 92% ) !important ;
93+ background-image :
94+ repeating-linear-gradient (45deg , transparent, transparent 2px , hsl (45 20% 88% ) 2px , hsl (45 20% 88% ) 4px ),
95+ repeating-linear-gradient (-45deg , transparent, transparent 2px , hsl (45 20% 88% ) 2px , hsl (45 20% 88% ) 4px ) !important ;
9196 color : hsl (var (--foreground )) !important ;
97+ display : inline-block !important ;
98+ box-decoration-break : clone !important ;
99+ -webkit-box-decoration-break : clone !important ;
100+ line-height : 1.6 !important ;
92101 & ::before , & ::after {
93102 content : '' !important ;
94103 }
95104}
96105
97106html .dark .prose : where (: not (pre ) > code ): not (: where (.not-prose , .not-prose * )) {
98- background-color : rgba (220 , 220 , 220 , 0.13 ) !important ;
99- color : # f8fafc ;
107+ border-color : hsl (var (--border )) !important ;
108+ background-color : hsl (30 15% 18% ) !important ;
109+ background-image :
110+ repeating-linear-gradient (45deg , transparent, transparent 2px , hsl (30 12% 22% ) 2px , hsl (30 12% 22% ) 4px ),
111+ repeating-linear-gradient (-45deg , transparent, transparent 2px , hsl (30 12% 22% ) 2px , hsl (30 12% 22% ) 4px ) !important ;
112+ color : hsl (var (--foreground )) !important ;
100113}
101114
102115/* Reading progress bar using modern CSS scroll-driven animations */
0 commit comments