Browse files

Added CSS for sphinx snippet directive.

refs #20910.
  • Loading branch information...
1 parent f4ce13e commit 1be21651988374fc5b9b3cf8eb9afb76de229ff0 @timgraham timgraham committed Oct 14, 2013
Showing with 7 additions and 0 deletions.
  1. +7 −0 static/css/docs/docs.css
View
7 static/css/docs/docs.css
@@ -12,3 +12,10 @@
/* Search results */
#search-results span.highlighted { background-color: #ffe761; font-weight: bold; }
+
+div.snippet-filename {
+ color: white; background-color: #234F32; margin: 0; padding: 2px 5px;
+ font-family: monospace; font-size: small; line-height: 1.3em;
+}
+div.snippet-filename + div.highlight > pre { margin-top: 0; }
+div.snippet-filename + pre { margin-top: 0; }

0 comments on commit 1be2165

Please sign in to comment.