Skip to content

Commit 6bb4b3f

Browse files
committed
style(css): Match usage block styling to shell examples
Add consistent styling to pre.argparse-usage to match code blocks: - background: #272822 (Monokai, same as .highlight) - padding, line-height, border-radius - thin scrollbars using Furo CSS variable
1 parent 246e46c commit 6bb4b3f

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

docs/_static/css/argparse-highlight.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,17 @@
192192
* token highlighting. These selectors provide fallback and ensure consistent
193193
* styling.
194194
*/
195+
196+
/* Usage block container - match Pygments monokai background and code block styling */
197+
pre.argparse-usage {
198+
background: #272822; /* Monokai - same as .highlight */
199+
padding: .625rem .875rem;
200+
line-height: 1.5;
201+
border-radius: .2rem;
202+
scrollbar-color: var(--color-foreground-border) transparent;
203+
scrollbar-width: thin;
204+
}
205+
195206
.argparse-usage .gh {
196207
color: #61AFEF;
197208
font-weight: bold;

0 commit comments

Comments
 (0)