Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions docs/theme/style.css
Original file line number Diff line number Diff line change
@@ -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;
}
3 changes: 3 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ theme:
toggle:
icon: material/weather-night
name: Switch to light mode
primary: custom
language: en
favicon: terminal.png
font:
Expand All @@ -38,6 +39,8 @@ theme:
- navigation.instant
- search.suggest
- search.highlight
extra_css:
- theme/style.css

markdown_extensions:
- toc:
Expand Down