diff --git a/template/src/.vitepress/theme/style.css b/template/src/.vitepress/theme/style.css index 46165b4..464556b 100644 --- a/template/src/.vitepress/theme/style.css +++ b/template/src/.vitepress/theme/style.css @@ -111,15 +111,12 @@ code { /* Component: Docstring Custom Block */ -.custom-block.jldocstring { - color: var(--vp-c-text-1) -} - -.custom-block.jldocstring { +details.jldocstring.custom-block { border: 1px solid var(--vp-c-gray-2); + color: var(--vp-c-text-1) } -.custom-block.jldocstring summary { +details.jldocstring.custom-block summary { font-weight: 700; cursor: pointer; user-select: none;