From 273fcab599c294fa1a4615fb2b359be7bb910d11 Mon Sep 17 00:00:00 2001 From: Lazaro Alonso Date: Fri, 4 Oct 2024 18:08:49 +0200 Subject: [PATCH] Update style.css This should fix your API code blocks, to be properly framed. See https://luxdl.github.io/DocumenterVitepress.jl/v0.1.3/api, that is how is supposed to look like. --- docs/src/.vitepress/theme/style.css | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/docs/src/.vitepress/theme/style.css b/docs/src/.vitepress/theme/style.css index 177b7f1c976..60f2f6e5467 100644 --- a/docs/src/.vitepress/theme/style.css +++ b/docs/src/.vitepress/theme/style.css @@ -171,4 +171,18 @@ mjx-container > svg { --vp-c-brand-3: #91dd33; --vp-c-sponsor: #91dd33; --vitest-c-sponsor-hover: #e51370; -} \ No newline at end of file +} + +/* Component: Docstring Custom Block */ + +.jldocstring.custom-block { + border: 1px solid var(--vp-c-gray-2); + color: var(--vp-c-text-1) +} + +.jldocstring.custom-block summary { + font-weight: 700; + cursor: pointer; + user-select: none; + margin: 0 0 8px; +}