-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Update styles from upstream Sphinx Book Theme
- Loading branch information
1 parent
d35de85
commit de3f661
Showing
11 changed files
with
99 additions
and
78 deletions.
There are no files selected for viewing
4 changes: 3 additions & 1 deletion
4
src/plone_sphinx_theme/assets/styles/sphinx-book-theme/base/_base.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 6 additions & 4 deletions
10
src/plone_sphinx_theme/assets/styles/sphinx-book-theme/components/_back-to-top.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
@use "../abstracts/variables"; | ||
|
||
#pst-back-to-top { | ||
// Reduce size to be slightly less intrusive on the page | ||
font-size: 0.8rem; | ||
|
||
// We should only display the back-to-top button when the TOC is not available. | ||
// AKA, on narrow-ish screens. | ||
// This over-rides a PST default | ||
@media (min-width: $breakpoint-xl) { | ||
@media (min-width: variables.$breakpoint-xl) { | ||
display: none !important; | ||
} | ||
|
||
// Reduce size to be slightly less intrusive on the page | ||
font-size: 0.8rem; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
src/plone_sphinx_theme/assets/styles/sphinx-book-theme/sections/_footer-article.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.