File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change @@ -146,6 +146,7 @@ export default defineConfig({
146146 } ,
147147 sidebar : await autogenSections ( ) ,
148148 customCss : [
149+ "./src/asides.css" ,
149150 "./src/headings.css" ,
150151 "./src/input.css" ,
151152 "./src/kbd.css" ,
Original file line number Diff line number Diff line change 1+ .starlight-aside {
2+ border : unset;
3+ border-radius : 4px ;
4+
5+ & .starlight-aside--note {
6+ background-color : rgb (236 , 244 , 255 );
7+ }
8+
9+ & .starlight-aside--caution {
10+ background-color : rgb (255 , 248 , 228 );
11+
12+ }
13+
14+ .starlight-aside__title {
15+ margin-left : 30px ;
16+
17+ svg {
18+ margin-left : -30px ;
19+ }
20+ }
21+
22+ .starlight-aside__content {
23+ margin-top : unset;
24+ margin-left : 30px ;
25+ }
26+ }
27+
28+ : root [data-theme = "dark" ] {
29+ .starlight-aside--note {
30+ background-color : rgb (0 , 28 , 67 );
31+ }
32+
33+ .starlight-aside--caution {
34+ background-color : rgb (98 , 73 , 10 );
35+ }
36+ }
You can’t perform that action at this time.
0 commit comments