This commit is contained in:
Stephen Simpson
2025-12-11 11:08:47 -06:00
parent 87692de410
commit 76fc2e9deb

View File

@@ -112,6 +112,47 @@ font-size: 0.9em;
color: var(--success);
}
/* OPTIONS section specific styling */
/* Style paragraphs that contain option flags (b tags followed by i tags or immediately followed by Bd-indent) */
.man-content section.Sh p.Pp:has(+ .Bd-indent) {
font-weight: 600;
font-size: 1.05em;
margin-top: 1.5rem;
margin-bottom: 0.5rem;
padding: 0.5rem 0.75rem;
background: linear-gradient(90deg, var(--bg-tertiary) 0%, transparent 100%);
border-left: 3px solid var(--accent-primary);
}
.man-content section.Sh p.Pp:has(+ .Bd-indent) b {
color: var(--accent-primary);
font-size: 1em;
}
.man-content section.Sh p.Pp:has(+ .Bd-indent) i {
color: var(--text-secondary);
font-style: italic;
}
/* Indented description blocks */
.man-content .Bd-indent {
margin-left: 2.5rem;
margin-bottom: 1.5rem;
padding-left: 1rem;
border-left: 2px solid var(--border-color);
color: var(--text-primary);
}
/* Add spacing between nested paragraphs in descriptions */
.man-content .Bd-indent > p.Pp {
margin-top: 0.75rem;
margin-bottom: 0.75rem;
}
.man-content .Bd-indent > p.Pp:first-child {
margin-top: 0;
}
.man-content pre {
background-color: var(--bg-primary);
border: 1px solid var(--border-color);
@@ -215,6 +256,16 @@ margin-left: 1rem;
.man-content .Bl-dash {
padding-left: 1rem;
}
.man-content section.Sh p.Pp:has(+ .Bd-indent) {
font-size: 1em;
padding: 0.4rem 0.5rem;
}
.man-content .Bd-indent {
margin-left: 1.5rem;
padding-left: 0.75rem;
}
}
@media (max-width: 480px) {