Skip to content

Commit

Permalink
Update style.css (#4455)
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.

Co-authored-by: Lazaro Alonso <[email protected]>
  • Loading branch information
jkrumbiegel and lazarusA authored Oct 7, 2024
1 parent 6093799 commit e90c042
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 e90c042

Please sign in to comment.