Skip to content

Commit

Permalink
custom css
Browse files Browse the repository at this point in the history
  • Loading branch information
ulysseherbach committed Oct 8, 2024
1 parent d878de0 commit fb0fe4e
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 1 deletion.
41 changes: 41 additions & 0 deletions docs/_static/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
html[data-theme="dark"] .mermaid svg {
filter: invert();
}

html[data-theme="dark"] .bd-content div.cell_output img {
padding: unset;
}

html[data-theme="dark"] .hide summary {
background-color: #29313d !important;
color: #EEFFFF;
}

div.cell details.above-input > summary {
border-bottom: var(--mystnb-source-border-width) var(--mystnb-source-border-color) solid;
}

div.cell details.above-input div.cell_input {
border-top: var(--mystnb-source-border-width) var(--mystnb-source-border-color) solid;
}

.nbinput button.copybtn {
top: 0.3em;
}

.nboutput button.copybtn,
.cell_output button.copybtn {
display: none;
}

button.btn.version-switcher__button {
margin-bottom: unset
}

div.cell_output tbody tr:nth-child(2n+1){
background: unset;
}

div.cell_output tbody tr:hover {
background: rgba(66, 165, 245, 0.2);
}
4 changes: 3 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@

# -- Options for HTML output -------------------------------------------------

html_theme = 'pydata_sphinx_theme'
html_baseurl = 'https://ulysseherbach.github.io/fluffyclone/'
html_static_path = ['_static']
html_css_files = ['custom.css']
# html_copy_source = False

html_theme = 'pydata_sphinx_theme'
html_theme_options = {
'icon_links': [
{
Expand Down

0 comments on commit fb0fe4e

Please sign in to comment.