diff options
author | HampusM <hampus@hampusmat.com> | 2023-09-25 20:14:37 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2023-09-25 20:14:37 +0200 |
commit | 267ab1dc45c7e2cb68d8238c04376a258dcf61c9 (patch) | |
tree | 04c381c12376642fb95f1777a1022dea5f13e9bd /docs-style.html | |
parent | bb12872c71fbc1fd59a1a5d643db0ccee255e5c5 (diff) |
docs: fix custom CSS not used by docs.rs
Diffstat (limited to 'docs-style.html')
-rw-r--r-- | docs-style.html | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/docs-style.html b/docs-style.html new file mode 100644 index 0000000..1333b44 --- /dev/null +++ b/docs-style.html @@ -0,0 +1,30 @@ +<style> +.cf { + display: flex; + margin-left: 0px; + margin-bottom: 5px; + min-height: 36px; + padding:0 2px; + align-items: center; + vertical-align: text-bottom; + white-space: unset !important; + border-radius: 3px; + width: fit-content; + + background-color:var(--stab-background-color); + color:var(--main-color); + + font-weight:normal; + font-size:0.875rem; +} + +.cf code { + font-size: 0.875rem; + background-color: unset; + white-space: unset !important; +} + +.cf strong { + margin-left: 3px; +} +</style> |