1+ @import url ('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700&display=swap' );
2+ @import url ('https://fonts.googleapis.com/css2?family=Overpass:wght@400;700&display=swap' );
3+ @import url ('https://fonts.googleapis.com/css2?family=Padauk:wght@400;700&display=swap' );
14/**
25See all the properties that can be customized for the Astro Starlight theme here:
36https://github.com/withastro/starlight/blob/main/packages/starlight/style/props.css
@@ -70,7 +73,7 @@ https://github.com/withastro/starlight/blob/main/packages/starlight/style/props.
7073 --sl-line-height : 1.8 ;
7174 --sl-line-height-headings : 1.2 ;
7275
73- --sl-font-system : ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI' , Roboto,
76+ --sl-font-system : 'Overpass' , ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI' , Roboto,
7477 'Helvetica Neue' , Arial, 'Noto Sans' , sans-serif, 'Apple Color Emoji' , 'Segoe UI Emoji' ,
7578 'Segoe UI Symbol' , 'Noto Color Emoji' ;
7679 --sl-font-system-mono : ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono' ,
@@ -83,9 +86,9 @@ https://github.com/withastro/starlight/blob/main/packages/starlight/style/props.
8386 --sl-nav-pad-x : 1rem ;
8487 --sl-nav-pad-y : 0.75rem ;
8588 --sl-mobile-toc-height : 3rem ;
86- --sl-sidebar-width : 18.75 rem ;
87- --sl-sidebar-pad-x : 1 rem ;
88- --sl-content-width : 45 rem ;
89+ --sl-sidebar-width : 25 vw ;
90+ /* --sl-sidebar-pad-x: 8rem; */
91+ --sl-content-width : 50 vw ;
8992 --sl-content-pad-x : 1rem ;
9093 --sl-menu-button-size : 2rem ;
9194 --sl-nav-gap : var (--sl-content-pad-x );
@@ -99,6 +102,23 @@ https://github.com/withastro/starlight/blob/main/packages/starlight/style/props.
99102 --sl-z-index-skiplink : 20 ;
100103}
101104
105+ body {
106+ font-family : 'Overpass' , ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI' , Roboto, 'Helvetica Neue' , Arial, 'Noto Sans' , sans-serif, 'Apple Color Emoji' , 'Segoe UI Emoji' , 'Segoe UI Symbol' , 'Noto Color Emoji' ;
107+ }
108+
109+ .font-nunito {
110+ font-family : 'Nunito' , ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI' , Roboto, 'Helvetica Neue' , Arial, 'Noto Sans' , sans-serif, 'Apple Color Emoji' , 'Segoe UI Emoji' , 'Segoe UI Symbol' , 'Noto Color Emoji' ;
111+ }
112+
113+ .font-overpass {
114+ font-family : 'Overpass' , ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI' , Roboto, 'Helvetica Neue' , Arial, 'Noto Sans' , sans-serif, 'Apple Color Emoji' , 'Segoe UI Emoji' , 'Segoe UI Symbol' , 'Noto Color Emoji' ;
115+ }
116+ .padauk-regular {
117+ font-family : "Padauk" , sans-serif;
118+ font-weight : 400 ;
119+ font-style : normal;
120+ }
121+
102122: root[data-theme = 'light' ],
103123[data-theme = 'light' ] ::backdrop {
104124 /* Colours (light mode) */
@@ -210,4 +230,15 @@ https://github.com/withastro/starlight/blob/main/packages/starlight/style/props.
210230.heading-link {
211231 text-decoration : none;
212232 color : var (--sl-color-text ) !important ;
213- }
233+ }
234+
235+ .content-panel {
236+ padding-left : 5rem ;
237+ padding-right : 5rem ;
238+ }
239+
240+ .sidebar-content {
241+ float : right;
242+ padding-right : 1.5rem ;
243+ }
244+
0 commit comments