We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0fc8a2 commit a46bf7cCopy full SHA for a46bf7c
doc/_static/style.css
@@ -8,6 +8,15 @@
8
9
}
10
11
+html[data-theme="light"] {
12
+ --mne-color-github: #000;
13
+ --mne-color-discourse: #231e20,
14
+}
15
+html[data-theme="dark"] {
16
+ --mne-color-github: #fff;
17
+ --mne-color-discourse: #d1c498;
18
19
+
20
/* ************************************************************ Sphinx fixes */
21
dl.field-list {
22
grid-template-columns: auto 1fr;
@@ -156,17 +165,23 @@ div.frontpage-gallery:hover .fadeout {
156
165
opacity: 0.0;
157
166
transition: 200ms linear;
158
167
168
+div.card {
169
+ background-color: rgb(var(--pst-color-background));
170
171
+div.card img.institution {
172
+ background-color: #fffe;
173
159
174
160
175
/* ****************************************************** navbar quick links */
161
176
162
177
i.fa-github-square:before {
163
- color: #000;
178
+ color: rgb(var(--mne-color-github));
164
179
180
i.fa-twitter-square:before {
181
color: #55acee;
182
183
i.fa-discourse:before {
- color: #231e20;
184
+ color: rgb(var(--mne-color-discourse));
185
186
i.fa-discord:before {
187
color: #7289da; /* 99aab5 is also in-brand for discord */
doc/_templates/homepage.html
@@ -5,7 +5,7 @@
5
<div class="col-12 col-sm-6 col-lg-4 my-2">
6
<div class="card frontpage-gallery">
7
<a href="{{ item.url }}">
- <img class="card-img" src="{{ item.img if item.img.startswith('http') else pathto('_images/' + item.img, 1) }}" alt="{{ item.alt }}">
+ <img class="card-img institution" src="{{ item.img if item.img.startswith('http') else pathto('_images/' + item.img, 1) }}" alt="{{ item.alt }}">
<div class="card-img-overlay px-3 py-1">
<p class="lead mb-1 fadeout">{{ item.title }}</p>
<p class="card-text fadeout">{{ item.text }}</p>
@@ -23,7 +23,7 @@
23
{% for item in funders -%}
24
<div class="card my-1 mx-2 border-light" style="{{ 'width: ' + item.size + 'rem;' }}">
25
<a href="{{ pathto('funding.html', 1) }}">
26
- <img class="card-img" src="{{ pathto('_static/funding/' + item.img, 1) }}" title="{{ item.title }}" alt="{{ item.title }}">
+ <img class="card-img institution" src="{{ pathto('_static/funding/' + item.img, 1) }}" title="{{ item.title }}" alt="{{ item.title }}">
27
</a>
28
</div>
29
{% endfor %}
@@ -36,7 +36,7 @@
36
{% for inst in institutions -%}
37
<div class="card my-1 mx-2 border-light" style="{{ 'width: ' + inst.size + 'rem;' }}">
38
<a href="{{ inst.url }}">
39
- <img class="card-img" src="{{ pathto('_static/institution_logos/' + inst.img, 1) }}" title="{{ inst.name }}" alt="{{ inst.name }}"/>
+ <img class="card-img institution" src="{{ pathto('_static/institution_logos/' + inst.img, 1) }}" title="{{ inst.name }}" alt="{{ inst.name }}"/>
40
41
42
doc/conf.py
@@ -574,7 +574,7 @@ def append_attr_meth_examples(app, what, name, obj, options, lines):
574
'use_edit_page_button': False,
575
'navigation_with_keys': False,
576
'show_toc_level': 1,
577
- 'navbar_end': ['version-switcher', 'navbar-icon-links'],
+ 'navbar_end': ['theme-switcher', 'version-switcher', 'navbar-icon-links'],
578
'footer_items': ['copyright'],
579
'google_analytics_id': 'UA-37225609-1',
580
'switcher': {
@@ -634,6 +634,9 @@ def append_attr_meth_examples(app, what, name, obj, options, lines):
634
# variables to pass to HTML templating engine
635
html_context = {
636
'build_dev_html': bool(int(os.environ.get('BUILD_DEV_HTML', False))),
637
+ 'default_mode': 'auto',
638
+ 'pygment_light_style': 'tango',
639
+ 'pygment_dark_style': 'native',
640
'funders': [
641
dict(img='nih.png', size='3', title='National Institutes of Health'),
642
dict(img='nsf.png', size='3.5',
doc/install/install_type_selector.html
@@ -12,7 +12,7 @@ <h6 class="card-subtitle mb-2 mt-2 text-muted">For Beginners</h6>
everything to get you started!
</p>
- <div class="card-footer bg-white border-white"">
+ <div class="card-footer"">
<a class="btn btn-primary font-weight-bold shadow-sm mb-3" role="button" href="installers.html">
<i class="fa fa-cloud-download-alt"></i> Download Installers
@@ -31,7 +31,7 @@ <h6 class="card-subtitle mb-2 mt-2 text-muted">For Advanced Users</h6>
31
<code>conda</code>!
32
33
34
+ <div class="card-footer">
35
<a class="btn btn-primary font-weight-bold shadow-sm mb-3" role="button" href="manual_install.html">
<i class="fa fa-wrench"></i> Setup Instructions
requirements_doc.txt
@@ -1,7 +1,7 @@
1
# requirements for building docs
2
sphinx!=4.1.0
3
https://github.com/numpy/numpydoc/archive/main.zip
4
-https://github.com/pydata/pydata-sphinx-theme/archive/af02a6a5fe5c8f322f148274c5eeb4204638a7f4.zip
+https://github.com/pydata/pydata-sphinx-theme/archive/454918d43c9a9d10764aeccccfb1a7aca4918cfd.zip
https://github.com/sphinx-gallery/sphinx-gallery/archive/master.zip
sphinxcontrib-bibtex>=2.1.2
memory_profiler
0 commit comments