From bf248e5b42185733a7d7b2f51306cd4da08d6fd2 Mon Sep 17 00:00:00 2001 From: rasmus-kirk Date: Thu, 8 Aug 2024 10:43:51 +0200 Subject: [PATCH] updated code style in wiki --- docs/pandoc/inline-code-style.css | 6 ++++++ mkDocs.nix | 1 + 2 files changed, 7 insertions(+) create mode 100644 docs/pandoc/inline-code-style.css diff --git a/docs/pandoc/inline-code-style.css b/docs/pandoc/inline-code-style.css new file mode 100644 index 0000000..cdcae1e --- /dev/null +++ b/docs/pandoc/inline-code-style.css @@ -0,0 +1,6 @@ +code { + background-color: var(--bg); + border-radius: 5em / 10em; + padding-left: 0.3em; + padding-right: 0.3em; +} diff --git a/mkDocs.nix b/mkDocs.nix index 5136483..a15eea7 100644 --- a/mkDocs.nix +++ b/mkDocs.nix @@ -45,6 +45,7 @@ in --highlight-style docs/pandoc/gruvbox.theme \ --lua-filter docs/pandoc/lua/anchor-links.lua \ --css /docs/pandoc/style.css \ + --css /docs/pandoc/inline-code-style.css \ --template docs/pandoc/template.html \ -V lang=en \ -V --mathjax \