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

Updated css to de-jumble theme header icons #20

Open
lwasser opened this issue Aug 29, 2024 · 4 comments
Open

Updated css to de-jumble theme header icons #20

lwasser opened this issue Aug 29, 2024 · 4 comments

Comments

@lwasser
Copy link
Member

lwasser commented Aug 29, 2024

@sneakers-the-rat suggested some great changes here that i will merge to "ungoof-if-fy" our sphinx theme. we should add those same styles here so they can be applied across all of our books once we create a release!

https://github.com/pyOpenSci/python-package-guide/pull/393/files

this is the css

/* --------------------------------------
De-jumble header items.
See https://github.com/pydata/pydata-sphinx-theme/pull/1784
*/

.bd-header .bd-header__inner {
  padding: 0 1rem;
}

.bd-header .navbar-item {
  height: unset;
  max-height: unset;
}

@media (max-width: 960px) {
  .bd-header .navbar-header-items {
    flex-wrap: wrap;
    row-gap: 0.5rem;
  }
}

.bd-header .navbar-header-items__end,
.bd-header .navbar-header-items__center,
.bd-header .navbar-header-items__start {
  flex-flow: nowrap;
}

.bd-header .navbar-header-items__start {
  width: unset;
}

.bd-header .navbar-header-items__center {
  margin-right: 0.25em !important;
}

.bd-header ul.navbar-nav {
  flex-wrap: wrap;
}
@lwasser lwasser changed the title Updated css Updated css to de-jumble theme header icons Aug 29, 2024
@lwasser
Copy link
Member Author

lwasser commented Aug 30, 2024

@all-contributors add @lwasser for code

Copy link
Contributor

@lwasser

I've put up a pull request to add @lwasser! 🎉

@lwasser
Copy link
Member Author

lwasser commented Aug 30, 2024

@all-contributors please add @Midnighter for code,review

Copy link
Contributor

@lwasser

I've put up a pull request to add @Midnighter! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant