forked from PyWavelets/pywt
-
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.
Provide JupyterLite and download links via include file
- Loading branch information
Showing
10 changed files
with
95 additions
and
152 deletions.
There are no files selected for viewing
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,27 +1,42 @@ | ||
/* Custom CSS rules for the interactive documentation button */ | ||
|
||
.try_examples_button { | ||
color: white; | ||
background-color: #0054a6; | ||
border: none; | ||
padding: 5px 10px; | ||
border-radius: 10px; | ||
margin-bottom: 5px; | ||
box-shadow: 0 2px 5px rgba(108,108,108,0.2); | ||
font-weight: bold; | ||
font-size: small; | ||
color: white; | ||
background-color: #0054a6; | ||
border: none; | ||
padding: 5px 10px; | ||
border-radius: 10px; | ||
margin-bottom: 5px; | ||
box-shadow: 0 2px 5px rgba(108,108,108,0.2); | ||
font-weight: bold; | ||
font-size: small; | ||
} | ||
|
||
.try_examples_button:hover { | ||
background-color: #0066cc; | ||
transform: scale(1.02); | ||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); | ||
cursor: pointer; | ||
background-color: #0066cc; | ||
transform: scale(1.02); | ||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); | ||
cursor: pointer; | ||
} | ||
|
||
.try_examples_button_container { | ||
display: flex; | ||
justify-content: flex-start; | ||
gap: 10px; | ||
margin-bottom: 20px; | ||
display: flex; | ||
justify-content: flex-start; | ||
gap: 10px; | ||
margin-bottom: 20px; | ||
} | ||
|
||
/* | ||
Admonitions on this site are styled with some top margin. This makes sense when | ||
the admonition appears within the flow of the article. But when it is the very | ||
first child of an article, its top margin gets added to the article's top | ||
padding, resulting in too much whitespace. | ||
We use "tip" admonitions at the top of each doc in the regression/ directory. | ||
This rule removes the top margin for tip admonitions when they occur as the very | ||
first child of some container. This will not affect non-first-child tip | ||
admonitions. | ||
*/ | ||
.admonition.tip:first-child { | ||
margin-top: 0; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
````{tip} | ||
This page can also be run or downloaded as a notebook. | ||
```{jupyterlite} {{ parent_docname }}.ipynb | ||
:new_tab: True | ||
``` | ||
Downloads: | ||
1. {download}`Download {{ parent_docname }}.ipynb <{{ parent_docname }}.ipynb>` | ||
2. {download}`Download {{ parent_docname }}.md <{{ parent_docname }}.md>` | ||
```` |
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
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