Skip to content

Commit

Permalink
Merge pull request #22 from kmpaul/main
Browse files Browse the repository at this point in the history
Fixes for Portal and Foundations rollout
  • Loading branch information
Kevin Paul authored Dec 17, 2021
2 parents 79569f0 + c1b5ef9 commit 45e1169
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 9 deletions.
2 changes: 1 addition & 1 deletion sphinx_pythia_theme/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from .banner import Banner

__version__ = "2021.12.5"
__version__ = "2021.12.6"


def get_html_theme_path():
Expand Down
2 changes: 1 addition & 1 deletion sphinx_pythia_theme/static/sphinx-pythia-theme.min.css

Large diffs are not rendered by default.

13 changes: 10 additions & 3 deletions src/scss/_bootstrap4.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,23 @@ div.admonition.alert-danger {
.btn-primary {
background-color: rgba(var(--pst-color-primary), 1) !important;
border-color: rgba(var(--pst-color-primary), 1) !important;
:hover {
background-color: rgba(var(--pst-color-primary-hover), 1) !important;
}
}

.btn-primary:hover {
background-color: rgba(var(--pst-color-primary-hover), 1) !important;
}

.btn-outline-primary {
border-color: rgba(var(--pst-color-primary), 1) !important;
color: rgba(var(--pst-color-primary), 1) !important;
}

.btn-outline-primary:hover,
.show>.btn-outline-primary.dropdown-toggle {
background-color: rgba(var(--pst-color-primary), 1) !important;
color: white !important;
}

.btn-link {
color: rgba(var(--pst-color-primary), 1) !important;
}
Expand Down
16 changes: 12 additions & 4 deletions src/scss/_fontawesome.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
i.fab::before,
i.far::before,
i.fas::before {
line-height: inherit;
i.fab,
i.far,
i.fas {
font-size: 70%;
}

a.headerlink i.fab,
a.headerlink i.far,
a.headerlink i.fas {
position: absolute;
top: 50%;
transform: translateY(-50%);
}
3 changes: 3 additions & 0 deletions src/scss/_sphinx-basic-theme.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
a.headerlink {
position: relative;
text-decoration: none;
font-size: unset !important;
padding: 0 0.7rem !important;
}

a.headerlink:hover {
Expand Down
2 changes: 2 additions & 0 deletions src/scss/sphinx-pythia-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
--pst-color-primary: var(--spt-color-blue);
--pst-color-primary-hover: var(--spt-color-blue-lighter);
--pst-color-link: var(--pst-color-primary);
--pst-color-link-hover: var(--pst-color-primary);
--pst-color-headerlink: var(--spt-color-gray-500);
--pst-color-headerlink-hover: var(--spt-color-gray-500);

--tabs-size-label: 0.8rem !important;
--tabs-color-label-active: rgba(var(--pst-color-primary), 1) !important;
Expand Down

0 comments on commit 45e1169

Please sign in to comment.