Skip to content

Commit 3d84796

Browse files
Merge pull request #162 from sccn/develop
Sinc
2 parents 5760c31 + 5e368f6 commit 3d84796

39 files changed

+2505
-720
lines changed

docs/plot_dataset/bubble.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ def generate_dataset_bubble(
240240

241241
fig.update_layout(
242242
height=height,
243-
width=max_width,
243+
width=None,
244244
margin=dict(l=60, r=40, t=80, b=60),
245245
template="plotly_white",
246246
legend=dict(

docs/plot_dataset/ridgeline.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,8 @@ def generate_modality_ridgeline(
138138
date_stamp = datetime.now().strftime("%d/%m/%Y")
139139
fig.update_layout(
140140
height=kde_height,
141-
width=1200,
141+
width=None,
142+
autosize=True,
142143
template="plotly_white",
143144
xaxis=dict(
144145
type="log",
@@ -169,7 +170,6 @@ def generate_modality_ridgeline(
169170
yanchor="top",
170171
font=dict(size=20),
171172
),
172-
autosize=True,
173173
font=dict(size=16),
174174
)
175175

docs/source/_static/custom.css

Lines changed: 125 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,86 @@
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 */
2065
table.logos-row tbody tr,
2166
table.logos-row td,
2267
table.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 */
2972
table.logos-row tbody tr:nth-child(odd) td,
3073
table.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) */
3578
table.logos-row td {
36-
padding: 0 16px !important;
79+
padding: 0 8px !important; /* optional, can be 0 */
3780
vertical-align: middle;
3881
}
3982

83+
/* logo sizing */
4084
table.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+
}
-322 KB
Binary file not shown.

docs/source/_static/eegdash_long.svg renamed to docs/source/_static/eegdash_long_dark.svg

Lines changed: 10 additions & 16 deletions
Loading

docs/source/_static/eegdash_long_white.svg

Lines changed: 100 additions & 0 deletions
Loading

docs/source/_static/logos/bgu.png

-39.8 KB
Binary file not shown.
Lines changed: 101 additions & 0 deletions
Loading
-40.6 KB
Binary file not shown.
Lines changed: 91 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)