File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed
Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -168,19 +168,17 @@ body {
168168 color : rgb (94 234 212 );
169169}
170170
171- .blog-article-body : where (pre ) {
171+ .blog-article-body : where (figure . shiki ) {
172172 margin-block : 2rem ;
173- overflow-x : auto;
174- border : 1px solid rgb (229 231 235 );
175- border-radius : 1rem ;
176- background : rgb (3 7 18 );
177- padding : 1rem ;
178173}
179174
180- .dark .blog-article-body : where (pre ) {
181- border-color : rgb (31 41 55 );
175+ .blog-article-body : where (: not (pre ) > code ) {
176+ font-size : 0.95em ;
177+ border-radius : 0.375rem ;
178+ background : rgba (15 , 23 , 42 , 0.06 );
179+ padding : 0.15rem 0.35rem ;
182180}
183181
184- .blog-article-body : where (code ) {
185- font-size : 0.95 em ;
182+ .dark . blog-article-body : where (: not ( pre ) > code ) {
183+ background : rgba ( 255 , 255 , 255 , 0.08 ) ;
186184}
You can’t perform that action at this time.
0 commit comments