File tree Expand file tree Collapse file tree 2 files changed +57
-2
lines changed Expand file tree Collapse file tree 2 files changed +57
-2
lines changed Original file line number Diff line number Diff line change 21
21
/* anything related to the dark theme */
22
22
html [data-theme = "dark" ] {
23
23
--pst-color-info-bg : # 400f59!important ;
24
+ --pst-color-tbl-row : # 2E2E2E!important ;
25
+ }
26
+
27
+ /* anything related to the light theme */
28
+ html [data-theme = "light" ] {
29
+ --pst-color-tbl-row : # f5f1ff!important ;
30
+ }
24
31
}
25
32
26
33
@@ -331,3 +338,46 @@ aside.footnote {
331
338
background-color : var (--pst-color-target );
332
339
}
333
340
}
341
+
342
+
343
+ .fa-circle-check {
344
+ color : # 7BCDBA ;
345
+ }
346
+
347
+ /* pyOpenSci table styles */
348
+
349
+ .pyos-table {
350
+ & th .head , .pyos-table th .head .stub {
351
+ background-color : # 33205C!important ;
352
+
353
+ & p {
354
+ color : # fff
355
+ }
356
+ }
357
+ & th .stub {
358
+ background-color : var (--pst-color-tbl-row );
359
+ font-weight : 500 ;
360
+ }
361
+ & td {
362
+ vertical-align : middle;
363
+ text-align : center;
364
+ }
365
+ }
366
+
367
+
368
+ /* Make the first column in a table a "header" like thing */
369
+
370
+
371
+ /* Dark mode fix for tables */
372
+ @media (prefers-color-scheme : dark) {
373
+ td : not (.row-header ): nth-child (1 ) {
374
+ background-color : var (--pst-color-tbl-row ); /* Adjust the dark mode color */
375
+ color : # ffffff ; /* Adjust the text color for better contrast */
376
+ font-weight : 500 ;
377
+ }
378
+ }
379
+
380
+ td , th {
381
+ border : 1px solid # ccc ; /* Light gray border */
382
+ padding : 8px ; /* Add some padding for better readability */
383
+ }
Original file line number Diff line number Diff line change 13
13
# import os
14
14
# import sys
15
15
# sys.path.insert(0, os.path.abspath('.'))
16
+ from datetime import datetime
17
+
18
+ current_year = datetime .now ().year
19
+ organization_name = "pyOpenSci"
20
+
16
21
17
22
18
23
# -- Project information -----------------------------------------------------
19
24
20
- project = "python-package-guide "
21
- copyright = "2024, pyOpenSci "
25
+ project = "pyOpenSci Python Package Guide "
26
+ copyright = f" { current_year } , { organization_name } "
22
27
author = "pyOpenSci Community"
23
28
24
29
# The full version, including alpha/beta/rc tags
You can’t perform that action at this time.
0 commit comments