A community-maintained Python framework for creating mathematical animations.
Improve the look of the docs. (#1594)
Laith Bahodibe1e21e7e7c8
diff --git a/docs/source/_static/custom.css b/docs/source/_static/custom.cssindex 0f50ea6b1..59e8cb3e3 100644--- a/docs/source/_static/custom.css+++ b/docs/source/_static/custom.css@@ -11,6 +11,8 @@}.admonition-manim-example p.admonition-title {+ font-weight: 600;+ font-size: 0.925rem;margin: 0;}@@ -56,6 +58,26 @@cursor: pointer;}+p.rubric{+ text-transform: capitalize;+ font-size: 1.25rem;+ font-weight: bold;+}++.sig-param{+ color: var(--color-content-foreground);+}++dl.c .field-list dt, dl.cpp .field-list dt, dl.js .field-list dt, dl.py .field-list dt {+ text-transform: capitalize;+ font-weight: bold;+ font-size: var(--font-size--normal);+}++h4, h5, h6{+ text-transform: none;+}+/* yikes-ish attempt at bugfix for navbar on some browsers */.sidebar-tree a.internal.reference {display: table-cell;diff --git a/docs/source/conf.py b/docs/source/conf.pyindex 9874d20ab..cc84e4f5d 100644--- a/docs/source/conf.py+++ b/docs/source/conf.py@@ -102,15 +102,16 @@ html_theme_options = {"light_logo": "manim-logo-sidebar.svg","dark_logo": "manim-logo-sidebar-dark.svg","light_css_variables": {- "color-content-foreground": "#413c3c",- "color-background-primary": "#f1ece9",- "color-background-border": "#ded6d4",- "color-sidebar-background": "#ece6e2",- "color-brand-content": "#2196f3",- "color-brand-primary": "#525893",- "color-link": "#e07a5f",- "color-link--hover": "#a05744",- "color-inline-code-background": "#f9f9f9",+ "color-content-foreground": "#000000",+ "color-background-primary": "#ffffff",+ "color-background-border": "#ffffff",+ "color-sidebar-background": "#f8f9fb",+ "color-brand-content": "#1c00e3",+ "color-brand-primary": "#192bd0",+ "color-link": "#c93434",+ "color-link--hover": "#5b0000",+ "color-inline-code-background": "#f6f6f6;",+ "color-foreground-secondary": "#000",},"dark_css_variables": {"color-content-foreground": "#ffffffd9",@@ -118,10 +119,11 @@ html_theme_options = {"color-background-border": "#303335","color-sidebar-background": "#1a1c1e","color-brand-content": "#2196f3",- "color-brand-primary": "#87c2a5",- "color-link": "#e07a5f",- "color-link--hover": "#ffb7a4",- "color-inline-code-background": "#383838",+ "color-brand-primary": "#007fff",+ "color-link": "#51ba86",+ "color-link--hover": "#9cefc6",+ "color-inline-code-background": "#262626",+ "color-foreground-secondary": "#ffffffd9",},}html_title = f"Manim Community v{manim.__version__}"