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 2121/* anything related to the dark theme */
2222html [data-theme = "dark" ] {
2323 --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+ }
2431}
2532
2633
@@ -331,3 +338,46 @@ aside.footnote {
331338 background-color : var (--pst-color-target );
332339 }
333340 }
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 1313# import os
1414# import sys
1515# sys.path.insert(0, os.path.abspath('.'))
16+ from datetime import datetime
17+
18+ current_year = datetime .now ().year
19+ organization_name = "pyOpenSci"
20+
1621
1722
1823# -- Project information -----------------------------------------------------
1924
20- project = "python-package-guide "
21- copyright = "2024, pyOpenSci "
25+ project = "pyOpenSci Python Package Guide "
26+ copyright = f" { current_year } , { organization_name } "
2227author = "pyOpenSci Community"
2328
2429# The full version, including alpha/beta/rc tags
You can’t perform that action at this time.
0 commit comments