diff --git a/_static/bids_logo.svg b/_static/bids_logo.svg new file mode 100644 index 0000000..43e2fb9 --- /dev/null +++ b/_static/bids_logo.svg @@ -0,0 +1,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/_static/bids_logo_dark.svg b/_static/bids_logo_dark.svg new file mode 100644 index 0000000..13c26c9 --- /dev/null +++ b/_static/bids_logo_dark.svg @@ -0,0 +1,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/_static/custom.css b/_static/custom.css index cf14e3d..beba928 100644 --- a/_static/custom.css +++ b/_static/custom.css @@ -73,3 +73,44 @@ background-color: var(--bg-secondary, #2d2d2d); } } + +/* Sponsor box styles */ +.only-dark { display: none !important; } + +@media (prefers-color-scheme: dark) { + .only-light { display: none !important; } + .only-dark { display: inline-block !important; } +} + +:root { + --sponsor-text: #0d652d; + --sponsor-bg: #e6f4ea; + --sponsor-border: #a8dab5; + --sponsor-accent: #1e8e3e; +} + +@media (prefers-color-scheme: dark) { + :root { + --sponsor-text: #81c995; + --sponsor-bg: #0d3a1f; + --sponsor-border: #14592d; + --sponsor-accent: #34a853; + } +} + +.hero.summary-box { + margin-bottom: var(--space-lg); +} + +.sponsor-box { + color: var(--sponsor-text); + background-color: var(--sponsor-bg); + border-color: var(--sponsor-border); + border-left: 4px solid var(--sponsor-accent); + padding: var(--space-lg); +} + +.sponsor-box img { + margin: var(--space-sm) var(--space-xl) var(--space-sm) 0; + vertical-align: middle; +} diff --git a/_static/czi_logo.svg b/_static/czi_logo.svg new file mode 100644 index 0000000..4615d4d --- /dev/null +++ b/_static/czi_logo.svg @@ -0,0 +1,38 @@ + + + + Group + Created with Sketch. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/_static/czi_logo_dark.svg b/_static/czi_logo_dark.svg new file mode 100644 index 0000000..978324e --- /dev/null +++ b/_static/czi_logo_dark.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/_static/nominal_logo.svg b/_static/nominal_logo.svg new file mode 100644 index 0000000..f7a5a9b --- /dev/null +++ b/_static/nominal_logo.svg @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/_static/nominal_logo_dark.svg b/_static/nominal_logo_dark.svg new file mode 100644 index 0000000..37a9789 --- /dev/null +++ b/_static/nominal_logo_dark.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/index.rst b/index.rst index eaab707..915dd0e 100644 --- a/index.rst +++ b/index.rst @@ -22,6 +22,46 @@ peer-reviewed code, written by an active `community of volunteers `__. +.. container:: well hero row-fluid summary-box sponsor-box + + The scikit-image team is hard at work at bringing you **scikit-image v2**, a major overhaul with a cleaner and more intuitive API. We would like to thank our project sponsors, + + |czi_logo| |czi_logo_dark| |nominal_logo| |nominal_logo_dark| |bids_logo| |bids_logo_dark| + + as well as our `grassroots contributors `__. + + `Reach out `__ if you would like to join them in supporting the next generation of open source image processing in Python. + +.. |czi_logo| image:: _static/czi_logo.svg + :class: only-light + :target: https://chanzuckerberg.com/eoss/ + :height: 40px + +.. |czi_logo_dark| image:: _static/czi_logo_dark.svg + :class: only-dark + :target: https://chanzuckerberg.com/eoss/ + :height: 40px + +.. |nominal_logo| image:: _static/nominal_logo.svg + :class: only-light + :target: https://nominal.io/ + :height: 24px + +.. |nominal_logo_dark| image:: _static/nominal_logo_dark.svg + :class: only-dark + :target: https://nominal.io/ + :height: 24px + +.. |bids_logo| image:: _static/bids_logo.svg + :class: only-light + :target: https://bids.berkeley.edu/ + :height: 56px + +.. |bids_logo_dark| image:: _static/bids_logo_dark.svg + :class: only-dark + :target: https://bids.berkeley.edu/ + :height: 56px + .. container:: well hero row-fluid summary-box citation .. raw:: html