Skip to content

Commit 1862c5d

Browse files
committed
Update logo/styling
1 parent 534b65c commit 1862c5d

File tree

6 files changed

+64
-57
lines changed

6 files changed

+64
-57
lines changed

docs/mkdocs.yaml

+16-6
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ theme:
2828
name: material
2929
custom_dir: src/.overrides
3030
icon:
31-
logo: main/project-logo-black
32-
favicon: assets/images/project-logo-color.png
31+
logo: main/company-logo
32+
favicon: assets/images/company-logo-blue.png
3333
features:
3434
- toc.integrate
3535
- content.code.annotate # Add codeblock annotations
@@ -77,28 +77,38 @@ markdown_extensions:
7777
format: !!python/name:pymdownx.superfences.fence_code_format
7878
extra:
7979
generator: false # Disable watermark
80+
analytics:
81+
provider: google
82+
property: !ENV GOOGLE_ANALYTICS_KEY
8083
version:
8184
provider: mike
8285
social:
8386
- icon: main/company-logo
84-
link: https://www.datajoint.com/
85-
- icon: fontawesome/solid/ticket
86-
link: https://support.djneuro.io/portal/en/home
87+
link: https://www.datajoint.com
88+
name: DataJoint
8789
- icon: fontawesome/brands/slack
8890
link: https://datajoint.slack.com
91+
name: Slack
8992
- icon: fontawesome/brands/linkedin
9093
link: https://www.linkedin.com/company/datajoint
94+
name: LinkedIn
9195
- icon: fontawesome/brands/twitter
92-
link: https://twitter.com/DataJointIO
96+
link: https://twitter.com/datajoint
97+
name: Twitter
9398
- icon: fontawesome/brands/github
9499
link: https://github.com/datajoint
100+
name: GitHub
95101
- icon: fontawesome/brands/docker
96102
link: https://hub.docker.com/u/datajoint
103+
name: DockerHub
97104
- icon: fontawesome/brands/python
98105
link: https://pypi.org/user/datajointbot
106+
name: PyPI
99107
- icon: fontawesome/brands/stack-overflow
100108
link: https://stackoverflow.com/questions/tagged/datajoint
109+
name: StackOverflow
101110
- icon: fontawesome/brands/youtube
102111
link: https://www.youtube.com/channel/UCdeCuFOTCXlVMRzh6Wk-lGg
112+
name: YouTube
103113
extra_css:
104114
- assets/stylesheets/extra.css
Loading

docs/src/.overrides/.icons/main/project-logo-black.svg

-22
This file was deleted.
Loading
Binary file not shown.

docs/src/.overrides/assets/stylesheets/extra.css

+37-8
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,40 @@
66
--dj-white: #ffffff;
77
}
88

9+
/* footer previous/next navigation */
10+
.md-footer__inner:not([hidden]) {
11+
display: none
12+
}
13+
14+
/* footer social icons */
15+
html a[title="DataJoint"].md-social__link svg {
16+
color: var(--dj-primary);
17+
}
18+
html a[title="Slack"].md-social__link svg {
19+
color: var(--dj-primary);
20+
}
21+
html a[title="LinkedIn"].md-social__link svg {
22+
color: var(--dj-primary);
23+
}
24+
html a[title="Twitter"].md-social__link svg {
25+
color: var(--dj-primary);
26+
}
27+
html a[title="GitHub"].md-social__link svg {
28+
color: var(--dj-primary);
29+
}
30+
html a[title="DockerHub"].md-social__link svg {
31+
color: var(--dj-primary);
32+
}
33+
html a[title="PyPI"].md-social__link svg {
34+
color: var(--dj-primary);
35+
}
36+
html a[title="StackOverflow"].md-social__link svg {
37+
color: var(--dj-primary);
38+
}
39+
html a[title="YouTube"].md-social__link svg {
40+
color: var(--dj-primary);
41+
}
42+
943
[data-md-color-scheme="datajoint"] {
1044
/* ribbon */
1145
/* ribbon + markdown heading expansion */
@@ -29,7 +63,7 @@
2963

3064
/* footer */
3165
/* previous/next text */
32-
--md-footer-fg-color: var(--dj-primary);
66+
/* --md-footer-fg-color: var(--dj-primary); */
3367
}
3468

3569
[data-md-color-scheme="slate"] {
@@ -47,18 +81,13 @@
4781

4882
/* main */
4983
/* main header + already viewed*/
50-
--md-default-fg-color--light: var(--dj-background);
84+
/* --md-default-fg-color--light: var(--dj-background); */
5185
/* primary text */
5286
--md-typeset-color: var(--dj-white);
5387
/* code comments + diagram text */
5488
--md-code-fg-color: var(--dj-primary);
5589

5690
/* footer */
5791
/* previous/next text */
58-
--md-footer-fg-color: var(--dj-white);
92+
/* --md-footer-fg-color: var(--dj-white); */
5993
}
60-
61-
62-
.md-footer__inner:not([hidden]) {
63-
display: none
64-
}

0 commit comments

Comments
 (0)