Skip to content

Commit 1be2165

Browse files
committed
Added CSS for sphinx snippet directive.
refs #20910.
1 parent f4ce13e commit 1be2165

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

static/css/docs/docs.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,10 @@
1212

1313
/* Search results */
1414
#search-results span.highlighted { background-color: #ffe761; font-weight: bold; }
15+
16+
div.snippet-filename {
17+
color: white; background-color: #234F32; margin: 0; padding: 2px 5px;
18+
font-family: monospace; font-size: small; line-height: 1.3em;
19+
}
20+
div.snippet-filename + div.highlight > pre { margin-top: 0; }
21+
div.snippet-filename + pre { margin-top: 0; }

0 commit comments

Comments
 (0)