From 47fa545bca53f060570cce3a7f29ea7e6dc63ba3 Mon Sep 17 00:00:00 2001 From: Joe Hamman Date: Wed, 12 Jun 2024 11:29:49 -0400 Subject: [PATCH 1/2] Add user survey announcement to docs --- doc/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/conf.py b/doc/conf.py index 152eb6794b4..80b24445f71 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -242,7 +242,7 @@ Theme by the Executable Book Project

""", twitter_url="https://twitter.com/xarray_dev", icon_links=[], # workaround for pydata/pydata-sphinx-theme#1220 - announcement="🍾 Xarray is now 10 years old! 🎉", + announcement="Xarray's 2024 User Survey is live now. Please take ~5 minutes to fill it out and help us improve Xarray.", ) From 17e2b8123343feff91e8e17005ba17b6054b82a2 Mon Sep 17 00:00:00 2001 From: Deepak Cherian Date: Wed, 12 Jun 2024 11:54:14 -0600 Subject: [PATCH 2/2] FIx styling --- doc/_static/style.css | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/_static/style.css b/doc/_static/style.css index ea42511c51e..bc1390f8b3d 100644 --- a/doc/_static/style.css +++ b/doc/_static/style.css @@ -7,9 +7,8 @@ table.docutils td { word-wrap: break-word; } -div.bd-header-announcement { - background-color: unset; - color: #000; +.bd-header-announcement { + background-color: var(--pst-color-info-bg); } /* Reduce left and right margins */