From b8f3b14da65d7925d6ee14249d844a2b7ea5fe21 Mon Sep 17 00:00:00 2001 From: Riskfolio Date: Wed, 13 Nov 2024 18:10:08 -0500 Subject: [PATCH] Update docs mobile --- docs/source/_static/custom.css | 12 ++++++++++++ docs/source/conf.py | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/source/_static/custom.css b/docs/source/_static/custom.css index 63fe827a..59e3561a 100644 --- a/docs/source/_static/custom.css +++ b/docs/source/_static/custom.css @@ -9,4 +9,16 @@ header.md-header{ .md-footer{ background: #666666; +} + +@media only screen and (max-width: 75em){ + .md-nav__source{ + background-color: #996600; + } +} +@media only screen and (max-width: 75em){ + .md-nav--primary .md-nav__title[for=__drawer]{ + background-color: orange; + min-height: unset; + } } \ No newline at end of file diff --git a/docs/source/conf.py b/docs/source/conf.py index b00eac02..4617355b 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -93,7 +93,7 @@ html_search_language = 'en' html_theme_options = { - "palette": { "scheme": "default"}, + "palette": {"scheme": "default"}, "icon": {"repo": "fontawesome/brands/github"}, "site_url": "https://riskfolio-lib.readthedocs.io/en/latest", "repo_url": "https://github.com/dcajasn/Riskfolio-Lib",