Skip to content

Commit

Permalink
Merge pull request #13 from GRG-Projects/pydata-version-update
Browse files Browse the repository at this point in the history
GRG Sphinx Theme compatible with latest pydata version
  • Loading branch information
skoudoro authored Aug 12, 2024
2 parents 1dfb324 + dc69c43 commit 2e995c8
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 6 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ readme = "README.md"
requires-python = ">=3.8"
dependencies = [
"sphinx>=4",
"pydata-sphinx-theme==0.13.3",
"pydata-sphinx-theme==0.15.4",
]

license = { file = "LICENSE" }
Expand Down Expand Up @@ -43,7 +43,7 @@ download = "https://pypi.org/project/grg-sphinx-theme/#files"
tracker = "https://github.com/GRG-Projects/grg-sphinx-theme/issues"

[project.optional-dependencies]
all = ["grg-sphinx-theme[dev,doc,style,test]"]
all = ["grg-sphinx-theme[dev,docs,style,test]"]
dev = ["gitpython", "twine", "grg-sphinx-theme[style]", "wheel", "build"]
style = ["flake8", "isort"]
test = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,15 @@ ul.footer-section li a:visited {
text-decoration: none;
}

ul.footer-section li i {
ul.footer-section li a i,
ul.footer-section li a svg {
color: var(--bs-gray-300);
transform: rotate(45deg);
}

ul.footer-section li:hover a,
ul.footer-section li:hover i {
ul.footer-section li:hover i,
ul.footer-section li:hover svg {
color: var(--gst-color-primary);
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Customizing the navbar dropdown */
.bd-header .navbar-nav .dropdown .dropdown-menu {
.bd-header ul.navbar-nav .dropdown .dropdown-menu {
box-shadow: var(--gst-shadow);
border: 0;
animation: 0.1s slideDown;
Expand Down Expand Up @@ -34,8 +34,10 @@ ol li>p:first-child, ul li>p:first-child {
border-top: 1px solid var(--gst-color-border);
}

.nav-link i.external-icon {
.nav-link i.external-icon,
.nav-link svg.external-icon {
transform: rotate(45deg);
font-size: 0.7rem;
}

.dropdown-toggle:after {
Expand All @@ -47,3 +49,24 @@ ol li>p:first-child, ul li>p:first-child {
margin-top: 0.4rem;
margin-left: 0.5em;
}

.sidebar-header-items__title {
display: none;
}

.bd-header ul.navbar-nav>li.nav-item.dropdown>.dropdown-toggle:hover {
box-shadow: none;
color: var(--gst-color-primary);
}

.bd-header .navbar-nav li a.nav-link:hover {
text-decoration: none;
color: var(--gst-color-primary);
}

@media (min-width: 960px) {
.bd-header .navbar-header-items__start {
width: auto;
flex: 0 0 auto;
}
}

0 comments on commit 2e995c8

Please sign in to comment.