Skip to content

Commit

Permalink
theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Mara-Li committed Jan 6, 2025
1 parent 2899a42 commit 607a8a6
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 9 deletions.
19 changes: 14 additions & 5 deletions docs/_static/css/customization.css
Original file line number Diff line number Diff line change
@@ -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;
}
}

.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;
}
8 changes: 4 additions & 4 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ 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

# 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
Expand Down

0 comments on commit 607a8a6

Please sign in to comment.