diff --git a/README.md b/README.md index bad8926..03b76d9 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@

- - dbt_linreg logo + + dbt_linreg logo

diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index 860aa94..e19f848 100644 --- a/docs/mkdocs.yml +++ b/docs/mkdocs.yml @@ -41,6 +41,8 @@ markdown_extensions: - markdown_include.include: base_path: docs - sane_lists +extra_css: + - css/extra.css extra: social: - icon: fontawesome/brands/github diff --git a/docs/src/css/extra.css b/docs/src/css/extra.css new file mode 100644 index 0000000..ae3ab37 --- /dev/null +++ b/docs/src/css/extra.css @@ -0,0 +1,9 @@ +[data-md-color-scheme="light"] img[src$="#only-dark"], +[data-md-color-scheme="light"] img[src$="#gh-dark-mode-only"] { + display: none; /* Hide dark images in light mode */ +} + +[data-md-color-scheme="dark"] img[src$="#only-light"], +[data-md-color-scheme="dark"] img[src$="#gh-light-mode-only"] { + display: none; /* Hide light images in dark mode */ +}