Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not display search keyboard shortcut on home page #3220

Merged
merged 3 commits into from
Oct 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions doc/_static/custom.css
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you use the latest version as a minimum requirement in pyproject.toml to make sure that we use it from now on? "pydata-sphinx-theme>=0.14.1",

Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,23 @@ properly displayed on mobile devices and not restricted to 20% */
vertical-align: text-bottom;
margin-right: 3px;
}

.full-width-plot {
width: 100%;
}

/* This hides the Ctrl + K from the search box on the start page
* to make it less distracting on the home page.
* The shortcut still shows up when clicking the search box */
.search-button-field > .search-button__kbd-shortcut {
display: none;
}

/* Use old light blue color for banner since it goes better with the Altair logo */
.bd-header-announcement {
background-color: #daebf1 !important;
}

/* Configurations for the start page
------------------------------------ */
.lead {
Expand All @@ -92,4 +104,4 @@ properly displayed on mobile devices and not restricted to 20% */
/* Default is bolder which is less */
font-weight: bold;
}
/* ---------------------------------- */
/* ---------------------------------- */
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ doc = [
"jinja2",
"numpydoc",
"pillow>=9,<10",
"pydata-sphinx-theme",
"pydata-sphinx-theme>=0.14.1",
"geopandas",
"myst-parser",
"sphinx_copybutton",
Expand Down