mirror of
https://github.com/django/django.git
synced 2025-08-30 23:37:50 +00:00
Refs #20910 -- Replaced snippet directive with code-block.
This commit is contained in:
parent
f8ff529ee3
commit
c49ea6f591
32 changed files with 234 additions and 375 deletions
5
docs/_theme/djangodocs-epub/static/epub.css
vendored
5
docs/_theme/djangodocs-epub/static/epub.css
vendored
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue