From 88a3f2726b003afc3672ad17c9fc9eccd9d0a9ba Mon Sep 17 00:00:00 2001 From: Julia Kent <46687291+jukent@users.noreply.github.com> Date: Tue, 2 Apr 2024 12:46:39 -0600 Subject: [PATCH 1/4] theme update --- .vscode/settings.json | 22 +++++++++++++++++++ _config.yml | 21 ++++++++++++------ _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, 44 insertions(+), 11 deletions(-) create mode 100644 .vscode/settings.json 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/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..5be0973 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,22 @@ +{ + "workbench.colorCustomizations": { + "activityBar.activeBackground": "#93e6fc", + "activityBar.background": "#93e6fc", + "activityBar.foreground": "#15202b", + "activityBar.inactiveForeground": "#15202b99", + "activityBarBadge.background": "#fa45d4", + "activityBarBadge.foreground": "#15202b", + "commandCenter.border": "#15202b99", + "sash.hoverBorder": "#93e6fc", + "statusBar.background": "#61dafb", + "statusBar.foreground": "#15202b", + "statusBarItem.hoverBackground": "#2fcefa", + "statusBarItem.remoteBackground": "#61dafb", + "statusBarItem.remoteForeground": "#15202b", + "titleBar.activeBackground": "#61dafb", + "titleBar.activeForeground": "#15202b", + "titleBar.inactiveBackground": "#61dafb99", + "titleBar.inactiveForeground": "#15202b99" + }, + "peacock.color": "#61dafb" +} \ No newline at end of file diff --git a/_config.yml b/_config.yml index de423be..63de531 100644 --- a/_config.yml +++ b/_config.yml @@ -4,7 +4,7 @@ title: EOFs Cookbook author: the Project Pythia Community 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' @@ -40,7 +40,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: @@ -51,10 +53,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 @@ -67,6 +71,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 a2789ed..7245810 100644 --- a/environment.yml +++ b/environment.yml @@ -19,6 +19,4 @@ dependencies: - gcsfs - cftime - pydap - - 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 @@ + From 7732158d34e9dec89487c82756fa0726a700de3d Mon Sep 17 00:00:00 2001 From: Julia Kent <46687291+jukent@users.noreply.github.com> Date: Tue, 2 Apr 2024 13:10:55 -0600 Subject: [PATCH 2/4] eofs in environment --- environment.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/environment.yml b/environment.yml index 7245810..da2fa47 100644 --- a/environment.yml +++ b/environment.yml @@ -20,3 +20,6 @@ dependencies: - cftime - pydap - sphinx-pythia-theme + - pip + - pip: + - eofs From c35abc36dc879323aabfabed9b1f5b1bfc94c498 Mon Sep 17 00:00:00 2001 From: Julia Kent <46687291+jukent@users.noreply.github.com> Date: Tue, 2 Apr 2024 13:12:04 -0600 Subject: [PATCH 3/4] gitignore --- .gitignore | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index b68c859..0585e8e 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,7 @@ __pycache__/ # Distribution / packaging .Python build/ +_build/ notebooks/_build/ develop-eggs/ dist/ @@ -131,3 +132,6 @@ dmypy.json # Pyre type checker .pyre/ + +# IDEs +.vscode/ From d5e0414e222680a0ddd29cd63f86fb829613014f Mon Sep 17 00:00:00 2001 From: Julia Kent <46687291+jukent@users.noreply.github.com> Date: Tue, 2 Apr 2024 13:51:29 -0600 Subject: [PATCH 4/4] xeofs --- environment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/environment.yml b/environment.yml index da2fa47..faf7df0 100644 --- a/environment.yml +++ b/environment.yml @@ -22,4 +22,4 @@ dependencies: - sphinx-pythia-theme - pip - pip: - - eofs + - xeofs