Skip to content

Commit

Permalink
Update style.css
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
lazarusA authored Oct 4, 2024
1 parent 51e03c0 commit 273fcab
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion docs/src/.vitepress/theme/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -171,4 +171,18 @@ mjx-container > svg {
--vp-c-brand-3: #91dd33;
--vp-c-sponsor: #91dd33;
--vitest-c-sponsor-hover: #e51370;
}
}

/* 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;
}

0 comments on commit 273fcab

Please sign in to comment.