From 607a8a6dc043530de3e2bde1e8622f4c47bd3c9b Mon Sep 17 00:00:00 2001 From: Mara-Li Date: Mon, 6 Jan 2025 10:34:16 +0100 Subject: [PATCH] theme --- docs/_static/css/customization.css | 19 ++++++++++++++----- mkdocs.yml | 8 ++++---- 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/docs/_static/css/customization.css b/docs/_static/css/customization.css index 8870e91..27eca81 100644 --- a/docs/_static/css/customization.css +++ b/docs/_static/css/customization.css @@ -1,7 +1,16 @@ - -.md-tabs__item:nth-child(4) { - display: none; -} +.md-tabs__item:nth-child(4), a.md-nav__link.md-nav__link--active[href="."] { display: none; -} \ No newline at end of file +} + +.md-header, +.md-nav--primary .md-nav__title { + background: var(--md-primary-fg-color) + url(https://images.unsplash.com/photo-1510070009289-b5bc34383727?w=950&q=80&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D); + background-size: cover; + background-repeat: no-repeat; +} + +.md-tabs { + background-color: #00000094; + } \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index 25bdfce..5c26568 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -16,8 +16,8 @@ theme: # Light mode - media: "(prefers-color-scheme: light)" scheme: default - primary: teal - accent: light blue + primary: deep orange + accent: amber toggle: icon: material/weather-night name: Passer au mode sombre @@ -25,8 +25,8 @@ theme: # Dark mode - media: "(prefers-color-scheme: dark)" scheme: slate - primary: blue grey - accent: light blue + primary: deep orange + accent: amber toggle: icon: material/weather-sunny name: Passer en mode clair