diff options
| author | Curtis Maloney <curtis@tinbrain.net> | 2018-09-11 03:00:34 +1000 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-09-10 13:00:34 -0400 |
| commit | c49ea6f5911296dcb40190c905e38b43cdc7c7a3 (patch) | |
| tree | 56d6341ed09e5d77cd3361bcc5275eab5733db4a /docs/_theme/djangodocs-epub | |
| parent | f8ff529ee32c79b270176f5e8d7a3f6ef048ac31 (diff) | |
Refs #20910 -- Replaced snippet directive with code-block.
Diffstat (limited to 'docs/_theme/djangodocs-epub')
| -rw-r--r-- | docs/_theme/djangodocs-epub/static/epub.css | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/_theme/djangodocs-epub/static/epub.css b/docs/_theme/djangodocs-epub/static/epub.css index b74af5e9bf..7db68b53fb 100644 --- a/docs/_theme/djangodocs-epub/static/epub.css +++ b/docs/_theme/djangodocs-epub/static/epub.css @@ -29,15 +29,14 @@ pre { } /* Header for some code blocks. */ -.snippet-filename { +.code-block-caption { background-color: #393939; color: white; margin: 0; padding: 0.5em; font: bold 90% monospace; } -.snippet-filename + .highlight > pre, -.snippet-filename + pre { +.literal-block-wrapper pre { margin-top: 0; } |
