3
3
}
4
4
5
5
.bd-main .bd-content .bd-article-container {
6
- max-width : 100% ; /* default is 60em */
6
+ max-width : 100% ;
7
+ /* default is 60em */
7
8
}
9
+
8
10
.bd-page-width {
9
- max-width : 100% ; /* default is 88rem */
11
+ max-width : 100% ;
12
+ /* default is 88rem */
10
13
}
11
14
12
15
.sd-card-footer {
@@ -20,7 +23,8 @@ main.banner-main #project-pythia {
20
23
}
21
24
22
25
main .banner-main # project-pythia p {
23
- font-size : 1.4rem ; /* default: 1.25rem * /
26
+ font-size : 1.4rem ;
27
+ /* default: 1.25rem * /
24
28
/* font-weight: 700; default: 300 */
25
29
}
26
30
@@ -163,7 +167,7 @@ details.sd-dropdown {
163
167
box-shadow : none !important ;
164
168
}
165
169
166
- details .sd-dropdown summary .sd-card-header + div .sd-summary-content {
170
+ details .sd-dropdown summary .sd-card-header + div .sd-summary-content {
167
171
background-color : white !important ;
168
172
border : 0.2rem solid var (--pst-sd-dropdown-color ) !important ;
169
173
border-radius : calc (.25rem - 1px );
@@ -195,18 +199,33 @@ p {
195
199
margin-bottom : 1rem ;
196
200
}
197
201
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 */
200
206
}
201
207
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 */
204
212
}
205
213
214
+ /* Target specific elements that need adjustment */
206
215
html [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 */
212
231
}
0 commit comments