diff --git a/_static/custom.css b/_static/custom.css index 4af205fd..32a50317 100644 --- a/_static/custom.css +++ b/_static/custom.css @@ -449,3 +449,24 @@ main > div .flex.justify-between.items-center.pt-6 { .offline-docs .urls a:first-child { padding-left: 0px !important; } + +/* navigation */ +.navigation-dropdown { + border-radius: 0.75rem; + margin-left: -48%; + margin-top: 5px; + transition-duration: 0.4s; + transition-property: opacity; + color: var(--background-color); + padding-top: 0.5rem; + padding-bottom: 0.5rem; + border: 1px solid hsl(var(--border)); +} +.navigation-dropdown a { + padding: .375rem 1rem; + white-space: nowrap; + width: 100%; +} +#left-sidebar nav.md\:hidden { + margin-top: 1rem !important; +} diff --git a/_static/docs-og.png b/_static/docs-og.png new file mode 100644 index 00000000..43ed9788 Binary files /dev/null and b/_static/docs-og.png differ diff --git a/_templates/header.html b/_templates/header.html new file mode 100644 index 00000000..64c06b59 --- /dev/null +++ b/_templates/header.html @@ -0,0 +1,47 @@ +{% extends "!header.html" %} + +{%- block header_main_nav %} +{%- if main_nav_links|tobool -%} + +{%- endif %} +{%- endblock header_main_nav %} diff --git a/_templates/layout.html b/_templates/layout.html index b2fe41ee..71d4c59b 100644 --- a/_templates/layout.html +++ b/_templates/layout.html @@ -2,6 +2,9 @@ {% block linktags %} {{ super() }} + + + {% endblock %} diff --git a/_templates/sidebar_main_nav_links.html b/_templates/sidebar_main_nav_links.html new file mode 100644 index 00000000..1d42d185 --- /dev/null +++ b/_templates/sidebar_main_nav_links.html @@ -0,0 +1,38 @@ +{#- Template for the main navigation links in the sidebar -#} +{% if main_nav_links|tobool %} + +{% endif %} diff --git a/_templates/sidebar_toc.html b/_templates/sidebar_toc.html index b5d82fb4..9713bc5f 100644 --- a/_templates/sidebar_toc.html +++ b/_templates/sidebar_toc.html @@ -1,4 +1,4 @@ -