Skip to content

Commit 1b37189

Browse files
authored
Documentation: Fix CSS issue (#1154)
* Fix css issue * Fix css issues on markers and icons
1 parent b6ac034 commit 1b37189

File tree

2 files changed

+17
-8
lines changed

2 files changed

+17
-8
lines changed

docs/_static/main_stylesheet.css

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
.wy-nav-content{
2-
max-width: 1000px;
3-
margin: auto;
1+
.wy-nav-content {
2+
max-width: 1000px;
3+
margin: auto;
4+
}
5+
6+
/* Undo img background from pydata-sphinx-theme dark theme */
7+
html[data-theme="dark"] img:not(.only-dark):not(.dark-light) {
8+
background-color: transparent !important;
9+
padding: 0 !important;
410
}

docs/conf.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,14 @@
6262
# "../../examples/WealthOfNations.ipynb", # did not install bqplot widget as a federated extension?
6363
"../../examples/WidgetControl.ipynb",
6464
]
65+
66+
# Output file base name for HTML help builder.
67+
html_theme = "pydata_sphinx_theme"
68+
#html_theme_path = [pydata_sphinx_theme.get_html_theme_path()]
69+
htmlhelp_basename = 'ipyleafletdoc'
70+
html_static_path = ['_static']
71+
72+
6573
def setup(app):
6674
app.add_css_file("main_stylesheet.css")
6775

@@ -77,8 +85,3 @@ def setup(app):
7785
highlight_language = 'python'
7886
pygments_style = 'sphinx'
7987

80-
# Output file base name for HTML help builder.
81-
html_theme = "pydata_sphinx_theme"
82-
#html_theme_path = [pydata_sphinx_theme.get_html_theme_path()]
83-
htmlhelp_basename = 'ipyleafletdoc'
84-
html_static_path = ['_static']

0 commit comments

Comments
 (0)