doc: ensure the footer has the same color than the background.

This commit is contained in:
Alexandre Pujol 2023-09-30 23:12:14 +01:00
parent 2cc7627879
commit 972b08e74c
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC
2 changed files with 15 additions and 2 deletions

View File

@ -0,0 +1,12 @@
[data-md-color-scheme=default] {
--md-footer-fg-color: var(--md-text-color);
--md-footer-fg-color--light: #808080;
--md-footer-fg-color--lighter: #b6b6b6;
--md-footer-bg-color: transparent;
--md-footer-bg-color--dark: transparent;
}
[data-md-color-scheme=slate] {
--md-footer-bg-color: transparent;
--md-footer-bg-color--dark: var(--md-default-bg-color--darkest);
}

View File

@ -44,8 +44,6 @@ theme:
- content.action.view - content.action.view
- content.code.annotate - content.code.annotate
- content.code.copy - content.code.copy
- navigation.expand
- navigation.footer
- navigation.indexes - navigation.indexes
- navigation.sections - navigation.sections
- navigation.tabs - navigation.tabs
@ -54,6 +52,9 @@ theme:
- search.share - search.share
- search.suggest - search.suggest
extra_css:
- assets/stylesheets/extra.css
# Plugins # Plugins
plugins: plugins:
- search - search