From 79a86020fe4c2149c2b474521ab38c1275127d90 Mon Sep 17 00:00:00 2001 From: Julia Kent <46687291+jukent@users.noreply.github.com> Date: Tue, 2 Apr 2024 12:11:28 -0600 Subject: [PATCH] theme udpate --- .gitignore | 4 ++++ _config.yml | 23 ++++++++++++------- _static/custom.css | 6 +++++ environment.yml | 4 +--- .../images/logos/NCAR-contemp-logo-blue.svg | 1 - .../NSF-NCAR_Lockup-UCAR-Dark_102523.svg | 1 + 6 files changed, 27 insertions(+), 12 deletions(-) create mode 100644 _static/custom.css delete mode 100644 notebooks/images/logos/NCAR-contemp-logo-blue.svg create mode 100644 notebooks/images/logos/NSF-NCAR_Lockup-UCAR-Dark_102523.svg diff --git a/.gitignore b/.gitignore index ab9299b..3bd9ee5 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,7 @@ __pycache__/ # Distribution / packaging .Python build/ +_build/ notebooks/_build/ develop-eggs/ dist/ @@ -134,3 +135,6 @@ dmypy.json # MacBook .DS_Store + +# IDEs +.vscode/ \ No newline at end of file diff --git a/_config.yml b/_config.yml index 852114b..6122d05 100644 --- a/_config.yml +++ b/_config.yml @@ -4,11 +4,11 @@ title: NA-CORDEX Visualization Cookbook author: Brian Bonnlander, Seth McGinnis, Anderson Banihirwe, Eric Nienhouse, Jeff de La Beaujardière logo: notebooks/images/logos/pythia_logo-white-rtext.svg -copyright: "2023" +copyright: "2024" execute: # To execute notebooks via a binder instead, replace 'cache' with 'binder' - execute_notebooks: binder + execute_notebooks: cache # execute_notebooks: cache timeout: 3600 # this cookbook needs longer than default run time allow_errors: False # cells with expected failures must set the `raises-exception` cell tag @@ -41,7 +41,9 @@ sphinx: use_issues_button: true use_repository_button: true use_edit_page_button: true - google_analytics_id: G-T52X8HNYE8 + use_fullscreen_button: true + analytics: + google_analytics_id: G-T52X8HNYE8 github_url: https://github.com/ProjectPythia twitter_url: https://twitter.com/project_pythia icon_links: @@ -52,10 +54,12 @@ sphinx: launch_buttons: binderhub_url: https://binder.projectpythia.org notebook_interface: jupyterlab - extra_navbar: | - Theme by Project Pythia.

- All code in Pythia Cookbooks is licensed under Apache 2.0. All other non-code content is licensed under Creative Commons BY 4.0 (CC BY 4.0).

- logo_link: https://projectpythia.org + logo: + link: https://projectpythia.org + navbar_start: + - navbar-logo + navbar_end: + - navbar-icon-links navbar_links: - name: Home url: https://projectpythia.org @@ -68,6 +72,9 @@ sphinx: - name: Community url: https://projectpythia.org/index.html#join-us footer_logos: - NCAR: notebooks/images/logos/NCAR-contemp-logo-blue.svg + NCAR: notebooks/images/logos/NSF-NCAR_Lockup-UCAR-Dark_102523.svg Unidata: notebooks/images/logos/Unidata_logo_horizontal_1200x300.svg UAlbany: notebooks/images/logos/UAlbany-A2-logo-purple-gold.svg + footer_start: + - footer-logos + - footer-info diff --git a/_static/custom.css b/_static/custom.css new file mode 100644 index 0000000..0c9948b --- /dev/null +++ b/_static/custom.css @@ -0,0 +1,6 @@ +.bd-main .bd-content .bd-article-container { + max-width: 100%; /* default is 60em */ + } + .bd-page-width { + max-width: 100%; /* default is 88rem */ + } diff --git a/environment.yml b/environment.yml index b91ed9e..228ccf1 100644 --- a/environment.yml +++ b/environment.yml @@ -24,6 +24,4 @@ dependencies: - jupyter-book - jupyterlab - jupyter_server -- pip -- pip: - - sphinx-pythia-theme +- sphinx-pythia-theme diff --git a/notebooks/images/logos/NCAR-contemp-logo-blue.svg b/notebooks/images/logos/NCAR-contemp-logo-blue.svg deleted file mode 100644 index 3bcda63..0000000 --- a/notebooks/images/logos/NCAR-contemp-logo-blue.svg +++ /dev/null @@ -1 +0,0 @@ -NCAR-contemp-logo-blue.a diff --git a/notebooks/images/logos/NSF-NCAR_Lockup-UCAR-Dark_102523.svg b/notebooks/images/logos/NSF-NCAR_Lockup-UCAR-Dark_102523.svg new file mode 100644 index 0000000..538f8ec --- /dev/null +++ b/notebooks/images/logos/NSF-NCAR_Lockup-UCAR-Dark_102523.svg @@ -0,0 +1 @@ +