Website improvements (#387)
This commit is contained in:
parent
5c0d4115e2
commit
5ac8a14ec5
|
@ -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;
|
||||
}
|
||||
|
|
39
mkdocs.yml
39
mkdocs.yml
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue