Add new material theme features
parent
30c505544c
commit
0c2054e833
|
@ -0,0 +1,28 @@
|
||||||
|
.md-nav__list {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
padding-top: 0px;
|
||||||
|
padding-right: 0px;
|
||||||
|
padding-bottom: 0px;
|
||||||
|
padding-left: 0px;
|
||||||
|
list-style: none;
|
||||||
|
padding-left: 7px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.md-nav__item--section > .md-nav > .md-nav__title {
|
||||||
|
display: block;
|
||||||
|
padding: 0;
|
||||||
|
padding-top: 0px;
|
||||||
|
pointer-events: none;
|
||||||
|
scroll-snap-align: start;
|
||||||
|
padding-top: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.md-nav__item .md-nav__link--active {
|
||||||
|
color: var(--md-typeset-a-color);
|
||||||
|
background-color: var(--md-code-bg-color);
|
||||||
|
}
|
||||||
|
|
||||||
|
.md-nav__item .md-nav__link--active::before {
|
||||||
|
/* content: ">"; */
|
||||||
|
}
|
31
mkdocs.yml
31
mkdocs.yml
|
@ -1,5 +1,4 @@
|
||||||
site_name: RAPIDS
|
site_name: RAPIDS
|
||||||
# theme: 'material'
|
|
||||||
markdown_extensions:
|
markdown_extensions:
|
||||||
- toc:
|
- toc:
|
||||||
permalink: True
|
permalink: True
|
||||||
|
@ -31,11 +30,12 @@ markdown_extensions:
|
||||||
- pymdownx.tilde
|
- pymdownx.tilde
|
||||||
- attr_list
|
- attr_list
|
||||||
- pymdownx.keys
|
- pymdownx.keys
|
||||||
site_favicon: material/air-filter
|
|
||||||
extra:
|
extra:
|
||||||
social:
|
social:
|
||||||
- icon: fontawesome/brands/twitter
|
- icon: fontawesome/brands/twitter
|
||||||
link: 'https://twitter.com/julio_ui'
|
link: 'https://twitter.com/julio_ui'
|
||||||
|
version:
|
||||||
|
method: mike
|
||||||
extra_javascript:
|
extra_javascript:
|
||||||
- javascripts/config.js
|
- javascripts/config.js
|
||||||
- https://polyfill.io/v3/polyfill.min.js?features=es6
|
- https://polyfill.io/v3/polyfill.min.js?features=es6
|
||||||
|
@ -46,13 +46,27 @@ repo_url: 'https://github.com/carissalow/rapids'
|
||||||
copyright: 'Released under AGPL'
|
copyright: 'Released under AGPL'
|
||||||
theme:
|
theme:
|
||||||
name: material
|
name: material
|
||||||
palette:
|
|
||||||
primary: blue
|
|
||||||
icon:
|
icon:
|
||||||
logo: material/air-filter
|
logo: material/air-filter
|
||||||
|
palette:
|
||||||
|
- scheme: default
|
||||||
|
primary: blue
|
||||||
|
accent: blue
|
||||||
|
toggle:
|
||||||
|
icon: material/toggle-switch
|
||||||
|
name: Switch to light mode
|
||||||
|
- scheme: slate
|
||||||
|
primary: blue
|
||||||
|
accent: blue
|
||||||
|
toggle:
|
||||||
|
icon: material/toggle-switch-off-outline
|
||||||
|
name: Switch to dark mode
|
||||||
features:
|
features:
|
||||||
- navigation.sections
|
- navigation.sections
|
||||||
|
- search.suggest
|
||||||
|
- search.highlight
|
||||||
|
extra_css:
|
||||||
|
- stylesheets/extra.css
|
||||||
nav:
|
nav:
|
||||||
- Home: 'index.md'
|
- Home: 'index.md'
|
||||||
- Setup:
|
- Setup:
|
||||||
|
@ -86,6 +100,7 @@ nav:
|
||||||
- Documentation: developers/documentation.md
|
- Documentation: developers/documentation.md
|
||||||
- Testing: developers/testing.md
|
- Testing: developers/testing.md
|
||||||
- Test cases: developers/test-cases.md
|
- Test cases: developers/test-cases.md
|
||||||
- Frequently Asked Questions: faq.md
|
- Others:
|
||||||
- Team: team.md
|
- Frequently Asked Questions: faq.md
|
||||||
- Citation: citation.md
|
- Team: team.md
|
||||||
|
- Citation: citation.md
|
||||||
|
|
Loading…
Reference in New Issue