Website improvements (#387)

This commit is contained in:
Franck Nijhof 2022-06-15 13:32:11 +02:00 committed by GitHub
parent 5c0d4115e2
commit 5ac8a14ec5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 35 additions and 13 deletions

View File

@ -35,12 +35,12 @@
}
}
.md-header-nav__button.md-logo img {
.md-logo img {
margin-top: -3px;
width: 42px !important;
height: 42px !important;
}
.md-footer-nav nav {
.md-footer__link--next {
display: none;
}

View File

@ -3,12 +3,11 @@ site_name: "Awesome Home Assistant"
site_url: "https://www.awesome-ha.com"
site_description: "A curated list of awesome Home Assistant resources for automating every aspect of your home"
site_author: "Franck Nijhof"
copyright: "Copyright 2018 - 2020 - Franck Nijhof. Creative Commons Attribution 4.0."
copyright: "Copyright 2018 - 2022 - Franck Nijhof. Creative Commons Attribution 4.0."
# Repository
repo_name: "awesome-home-assistant"
repo_url: "https://github.com/frenck/awesome-home-assistant"
edit_uri: ""
# Theme configuration
theme:
@ -16,10 +15,30 @@ theme:
logo: "https://www.awesome-ha.com/images/icon.svg"
language: "en"
palette:
primary: "light-blue"
accent: "pink"
feature:
- tabs
# Palette toggle for dark mode
- scheme: slate
primary: "light-blue"
accent: "pink"
toggle:
icon: material/brightness-4
name: Switch to light mode
# Palette toggle for light mode
- scheme: default
primary: "light-blue"
accent: "pink"
toggle:
icon: material/brightness-7
name: Switch to dark mode
features:
- navigation.expand
- navigation.instant
- navigation.tabs
- navigation.tracking
- search.highlight
- search.suggest
- toc.integrate
extra_css:
- css/extra.css
@ -33,7 +52,7 @@ extra:
- icon: fontawesome/brands/instagram
link: "https://instagram.com/frenck"
- icon: fontawesome/brands/twitch
link: "https://twitch.tv/internetofthings"
link: "https://twitch.tv/frenck"
- icon: fontawesome/brands/youtube
link: "https://youtube.com/frenck"
- icon: fontawesome/brands/linkedin
@ -64,5 +83,7 @@ markdown_extensions:
nav:
- "The Awesome List": "index.md"
- "Contributing": "contributing.md"
- "Code of Conduct": "code-of-conduct.md"
- "License": "license.md"
plugins:
- git-revision-date-localized:
type: timeago

View File

@ -1,3 +1,4 @@
mkdocs==1.3.0
mkdocs-material==8.3.5
mdx_truly_sane_lists==1.2
mkdocs-git-revision-date-localized-plugin==1.0.1
mkdocs-material==8.3.5
mkdocs==1.3.0