33}
44
55.bd-main  .bd-content  .bd-article-container  {
6-   max-width :  100%  ;  /* default is 60em */ 
6+   max-width :  100%  ;
7+   /* default is 60em */ 
78}
9+ 
810.bd-page-width  {
9-   max-width :  100%  ;  /* default is 88rem */ 
11+   max-width :  100%  ;
12+   /* default is 88rem */ 
1013}
1114
1215.sd-card-footer  {
@@ -20,7 +23,8 @@ main.banner-main #project-pythia {
2023}
2124
2225main .banner-main  # project-pythia  p  {
23-   font-size :  1.4rem  ;  /* default: 1.25rem * / 
26+   font-size :  1.4rem  ;
27+   /* default: 1.25rem * / 
2428  /* font-weight: 700; default: 300 */ 
2529}
2630
@@ -163,7 +167,7 @@ details.sd-dropdown {
163167  box-shadow :  none !important ;
164168}
165169
166- details .sd-dropdown  summary .sd-card-header   +   div .sd-summary-content  {
170+ details .sd-dropdown  summary .sd-card-header + div .sd-summary-content  {
167171  background-color :  white !important ;
168172  border :  0.2rem   solid var (--pst-sd-dropdown-color ) !important ;
169173  border-radius :  calc (.25rem   -  1px  );
@@ -195,18 +199,33 @@ p {
195199  margin-bottom :  1rem  ;
196200}
197201
198- html [data-theme = "dark" ] h1 .display-1  {
199-   color :  white;
202+ /* Set a light color for text throughout in dark mode */ 
203+ html [data-theme = "dark" ] body  {
204+   color :  # e0e0e0 ;
205+   /* Light gray */ 
200206}
201207
202- html [data-them = "dark" ] h4 .display-4 .p-0  {
203-   color :  black !important ;
208+ /* Ensure links are visible */ 
209+ html [data-theme = "dark" ] a  {
210+   color :  # b0c4de ;
211+   /* Light blue */ 
204212}
205213
214+ /* Target specific elements that need adjustment */ 
206215html [data-theme = "dark" ] .sd-card-body .docutils  {
207-   background-color :  white;
208- }
209- 
210- html [data-theme = "dark" ] .container  p  {
211-   color :  black !important ;
216+   background-color :  # 202020 ;
217+   /* Darker gray background for cards */ 
218+   color :  # e0e0e0 ;
219+   /* Light gray text in cards */ 
220+ }
221+ 
222+ /* Adjust headings if necessary */ 
223+ html [data-theme = "dark" ] h1 , 
224+ html [data-theme = "dark" ] h2 , 
225+ html [data-theme = "dark" ] h3 , 
226+ html [data-theme = "dark" ] h4 , 
227+ html [data-theme = "dark" ] h5 , 
228+ html [data-theme = "dark" ] h6  {
229+   color :  # f5f5f5 ;
230+   /* Almost white for headings */ 
212231}
0 commit comments