diff --git a/custom_theme/partials/header.html b/custom_theme/partials/header.html index 49fabe8..4d74da3 100644 --- a/custom_theme/partials/header.html +++ b/custom_theme/partials/header.html @@ -1,19 +1,61 @@ {#- This file was copied from the Material theme - You can find the file in .venv/lib/python3.10/site-packages/material/partials/header.html + You can find the file in https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/src/partials/header.html -#} + + + {% set class = "md-header" %} {% if "navigation.tabs.sticky" in features %} - {% set class = class ~ " md-header--lifted" %} + {% set class = class ~ " md-header--shadow md-header--lifted" %} +{% elif "navigation.tabs" not in features %} + {% set class = class ~ " md-header--shadow" %} {% endif %} + +
-