diff --git a/doc/_static/custom.css b/doc/_static/custom.css
index dea07d8c1..853fdcfc8 100644
--- a/doc/_static/custom.css
+++ b/doc/_static/custom.css
@@ -20,47 +20,3 @@
border: 0px;
vertical-align: top;
}
-
-.pl-md-5, .px-md-5 {
- padding-left: 1rem !important;
-}
-
-.pt-md-5, .py-md-5 {
- padding-top: 1rem !important;
-}
-
-.cell_output {
- padding-left: 0;
-}
-
-@media (min-width: 1200px) {
- .container, .container-lg, .container-md, .container-sm, .container-xl {
- max-width: 1600px;
- }
-}
-
-#scroller-right {
- max-width: 14%;
-}
-
-@media (max-width: 1400px) {
- #scroller-right {
- position: relative;
- right: unset;
- top: unset;
- max-width: 100%;
- transform: unset;
- }
-}
-
-#navbar-icon-links i.fa-github-square:before {
- color: white;
-}
-
-.fa-discourse:before {
- color: white;
-}
-
-ul.current.nav.bd-sidenav {
- padding: 0;
-}
diff --git a/doc/_templates/layout.html b/doc/_templates/layout.html
deleted file mode 100644
index d71d75c41..000000000
--- a/doc/_templates/layout.html
+++ /dev/null
@@ -1,55 +0,0 @@
-{%- extends "!layout.html" %}
-
-{% block docs_navbar %}
-
- {%- include "sections/header.html" %}
-
-{% endblock %}
-
-{% block docs_sidebar %}
-{% if sidebars %}
-
-
-{% else %}
-
-{% endif %}
-{% endblock %}
-
-{% block docs_toc %}
-
- {% if meta is defined and not (meta is not none and 'notoc' in meta) %}
- {% for toc_item in theme_page_sidebar_items %}
-
- {% include toc_item %}
-
- {% endfor %}
- {% endif %}
- {% if ('gallery' in pagename or 'reference' in pagename or 'user_guide' in pagename) and not pagename.endswith('index') %}
-
Open this page in Binder
- {% endif %}
-
-{% endblock %}
-
-{% block docs_main %}
-{% if sidebars %}
-{% set content_col_class = "col-md-10 col-xl-8" %}
-{% else %}
-{% set content_col_class = "col-md-11 col-xl-8" %}
-{% endif %}
-
- {% block docs_body %}
-
- {% block body %} {% endblock %}
-
- {% endblock %}
- {% if theme_show_prev_next %}
-
- {% include "sections/footer-article.html" %}
-
- {% endif %}
-
-{% endblock %}
diff --git a/doc/_templates/sections/sidebar-primary.html b/doc/_templates/sections/sidebar-primary.html
deleted file mode 100644
index c19a1ffd3..000000000
--- a/doc/_templates/sections/sidebar-primary.html
+++ /dev/null
@@ -1,19 +0,0 @@
-{% block docs_sidebar %}
-{% if sidebars %}
-
-
-{% else %}
-
-{% endif %}
-{% endblock %}
diff --git a/doc/_templates/sidebar-nav-bs.html b/doc/_templates/sidebar-nav-bs.html
deleted file mode 100644
index 2adee94a5..000000000
--- a/doc/_templates/sidebar-nav-bs.html
+++ /dev/null
@@ -1,11 +0,0 @@
-