1
0
mirror of https://github.com/django/django.git synced 2025-10-25 06:36:07 +00:00

[2.1.x] Refs #20910 -- Replaced snippet directive with code-block.

Backport of c49ea6f591 from master
This commit is contained in:
Curtis Maloney
2018-09-11 03:00:34 +10:00
committed by Tim Graham
parent 2b2474b75d
commit 1853e2dbf2
32 changed files with 234 additions and 375 deletions

View File

@@ -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;
}