Skip to content

Commit 2702d28

Browse files
authored
Merge pull request #317 from jupyterhub/jupytercon
Add JupyterCon banner and add Jupyter colors
2 parents 35a80fd + f03c427 commit 2702d28

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

doc/_static/custom.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
/* Header */
77

88
.support-button {
9-
background-color: #e66783;
9+
background-color: var(--sd-color-secondary);
1010
}
1111

1212
.support-button:hover {
13-
background-color: #b9556b;
13+
background-color: #bc7a3c;
1414
}
1515

1616
.support-button i {

doc/_templates/support-button.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<a class="btn btn-secondary support-button" href="https://mybinder.readthedocs.io/en/latest/about/support.html" role="button"><i class="fas fa-heart"></i>Support Binder</a>
1+
<a class="btn support-button" href="https://mybinder.readthedocs.io/en/latest/about/support.html" role="button"><i class="fas fa-heart"></i>Support Binder</a>

doc/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
# documentation.
5656
#
5757
html_theme_options = {
58+
"announcement": "🚀 Join us in San Diego · JupyterCon 2025 · Nov 4-5 · <a href=\"https://events.linuxfoundation.org/jupytercon/program/schedule/?ajs_aid=53afb00d-be65-4a99-9112-28cdaac99463\">SCHEDULE</a> · <a href=\"https://events.linuxfoundation.org/jupytercon/register/?ajs_aid=53afb00d-be65-4a99-9112-28cdaac99463\">REGISTER NOW</a>",
5859
"use_edit_page_button": True,
5960
"analytics": {
6061
"google_analytics_id": "UA-101904940-3",
@@ -141,3 +142,5 @@ def setup(app):
141142
# Plausible.io tracking
142143
app.add_js_file("https://plausible.io/js/script.file-downloads.hash.outbound-links.js", **{"data-domain": "mybinder.readthedocs.io", "defer": ""})
143144
app.add_js_file(filename=None, body="window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }")
145+
# Inherit some Jupyter branding CSS rules from the Jupyter Documentation
146+
app.add_css_file("https://docs.jupyter.org/en/latest/_static/jupyter.css")

0 commit comments

Comments
 (0)