11
2- /* Spacing + sizing for the two homepage logos */
3- table .logos-row td {
4- padding : 0 16px !important ; /* horizontal gap between logos */
5- vertical-align : middle;
6- }
2+ @import url ("https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&display=swap" );
73
8- table .logos-row img .logo .mainlogo {
4+ .eegdash-hero { text-align : center; margin : 0 0 1.25rem ; }
5+
6+ .eegdash-hero__title {
97 display : block;
10- margin : 0 auto;
11- width : 100% ;
12- max-height : 90px ; /* adjust as needed */
13- object-fit : contain;
8+ text-align : center;
9+ font-family : "Sora" , var (--pst-font-family-base , system-ui), sans-serif;
10+ font-weight : 800 ;
11+ font-size : clamp (3.6rem , 9vw , 5.9rem );
12+ line-height : 1.08 ;
13+ margin : 0 0 .85rem ;
14+ color : var (--pst-color-text , # 111827 );
15+ letter-spacing : .01em ;
1416}
1517
18+ html [data-theme = "light" ] .eegdash-hero__title {
19+ color : # 0f172a ;
20+ }
1621
22+ html [data-theme = "dark" ] .eegdash-hero__title {
23+ color : # f9fafb ;
24+ text-shadow : 0 3px 12px rgba (0 , 0 , 0 , 0.45 );
25+ }
26+
27+ .eegdash-hero img .logo .mainlogo { display : block; margin : 0 auto; }
28+
29+ /* Core API title with icon */
30+ h1 # core-api {
31+ display : inline-flex;
32+ align-items : center;
33+ gap : 0.85rem ;
34+ font-weight : 800 ;
35+ }
36+
37+ h1 # core-api ::before {
38+ content : "\f2db" ;
39+ font-family : "Font Awesome 6 Free" ;
40+ font-weight : 900 ;
41+ font-size : 1.75rem ;
42+ line-height : 1 ;
43+ color : var (--sd-color-primary , # 0a6fb6 );
44+ }
45+
46+ h1 # core-api .headerlink {
47+ margin-left : 0.6rem ;
48+ }
49+
50+ /* Spacing + sizing for the two homepage logos */
51+ table .logos-row {
52+ border-collapse : separate !important ;
53+ border-spacing : 20px 0 !important ; /* horizontal gap between cells */
54+ }
55+ /* spacing between logos (table cells) */
56+ table .logos-row {
57+ border-collapse : separate !important ;
58+ border-spacing : 20px 0 !important ; /* adjust gap */
59+ background : transparent !important ;
60+ box-shadow : none !important ;
61+ border : 0 !important ;
62+ }
1763
18- /* Remove grey/zebra background from the logos table (pydata theme tables) */
19- table .logos-row ,
64+ /* remove zebra/row styling from PyData theme */
2065table .logos-row tbody tr ,
2166table .logos-row td ,
2267table .logos-row th {
2368 background : transparent !important ;
2469 box-shadow : none !important ;
2570 border : 0 !important ;
2671}
27-
28- /* Also disable zebra striping specifically for this table */
2972table .logos-row tbody tr : nth-child (odd) td ,
3073table .logos-row tbody tr : nth-child (odd) th {
3174 background : transparent !important ;
3275}
3376
34- /* Keep the horizontal gap and sizing */
77+ /* cell alignment (light padding optional now) */
3578table .logos-row td {
36- padding : 0 16 px !important ;
79+ padding : 0 8 px !important ; /* optional, can be 0 */
3780 vertical-align : middle;
3881}
3982
83+ /* logo sizing */
4084table .logos-row img .logo .mainlogo {
4185 display : block;
4286 margin : 0 auto;
@@ -45,6 +89,35 @@ table.logos-row img.logo.mainlogo {
4589 object-fit : contain;
4690}
4791
92+ /* small screens: shrink max-height a bit */
93+ @media (max-width : 640px ) {
94+ table .logos-row img .logo .mainlogo { max-height : 70px ; }
95+ }
96+
97+ .logos-flex {
98+ display : flex;
99+ flex-wrap : wrap; /* wraps on small screens */
100+ justify-content : center; /* <-- centers the whole group */
101+ align-items : center;
102+ gap : 30px 24px ; /* row x column space between logos */
103+ margin : 12px 0 24px ;
104+ }
105+
106+ /* center each image itself */
107+ .logos-flex img .flex-logo {
108+ display : block;
109+ margin : 0 auto; /* <-- centers each image within its slot */
110+ height : auto;
111+ max-height : 110px ; /* optional cap */
112+ }
113+
114+
115+ /* Small screens */
116+ @media (max-width : 640px ) {
117+ .logos-flex { gap : 16px ; }
118+ .logos-flex img .flex-logo { max-height : 80px ; }
119+ }
120+
48121/* -------------------------------------------------------------
49122 Dataset summary table: increase font size slightly and
50123 align with PyData theme base font size.
@@ -551,3 +624,39 @@ html.dataset-summary-page .bd-main .bd-content .bd-article-container {
551624 max-width : 100% ;
552625 }
553626}
627+
628+ /* Inline reading time badge for tutorials */
629+ .eegdash-reading-time {
630+ display : inline-flex;
631+ align-items : baseline;
632+ gap : 0.4rem ;
633+ margin : 0.5rem 0 1.25rem ;
634+ padding : 0.35rem 0.75rem ;
635+ border-radius : 0.65rem ;
636+ background : var (--sd-color-surface-secondary , rgba (10 , 111 , 182 , 0.08 ));
637+ color : var (--pst-color-text-muted , # 4b5563 );
638+ font-size : 0.95rem ;
639+ font-weight : 500 ;
640+ }
641+
642+ .eegdash-reading-time__label {
643+ text-transform : uppercase;
644+ letter-spacing : 0.08em ;
645+ font-size : 0.75rem ;
646+ font-weight : 600 ;
647+ color : var (--sd-color-primary , # 0a6fb6 );
648+ }
649+
650+ .eegdash-reading-time__value {
651+ font-weight : 700 ;
652+ color : var (--pst-color-text , # 111827 );
653+ }
654+
655+ html [data-theme = "dark" ] .eegdash-reading-time {
656+ background : rgba (15 , 118 , 184 , 0.22 );
657+ color : var (--pst-color-text-muted , # d1d5db );
658+ }
659+
660+ html [data-theme = "dark" ] .eegdash-reading-time__value {
661+ color : var (--pst-color-text , # f9fafb );
662+ }
0 commit comments