diff --git a/docs/theme/style.css b/docs/theme/style.css new file mode 100644 index 0000000..d4023a0 --- /dev/null +++ b/docs/theme/style.css @@ -0,0 +1,14 @@ +/** Code blocks */ +code { + padding: 0.2em 0.4em !important; + border-radius: 6px !important; +} +/** Not inlined code blocks */ +pre > code { + padding: 0.8em 1.2em !important; +} + +/** Make dark theme background darker */ +[data-md-color-scheme="slate"] { + --md-default-bg-color: #0d1117; +} diff --git a/mkdocs.yml b/mkdocs.yml index 4d0e3c2..f65485f 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -27,6 +27,7 @@ theme: toggle: icon: material/weather-night name: Switch to light mode + primary: custom language: en favicon: terminal.png font: @@ -38,6 +39,8 @@ theme: - navigation.instant - search.suggest - search.highlight +extra_css: + - theme/style.css markdown_extensions: - toc: