Skip to content

Commit 1e82b12

Browse files
committed
Make codeblocks have a background
1 parent 9ce84cd commit 1e82b12

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

_static/css/pytorch_theme.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,3 +116,8 @@ footer p {
116116
nav .hidden-section {
117117
display: inherit;
118118
}
119+
120+
/* Make code blocks have a background */
121+
.codeblock,pre.literal-block,.rst-content .literal-block,.rst-content pre.literal-block,div[class^='highlight'] {
122+
background: rgba(0, 0, 0, 0.0470588);
123+
}

_static/img/thumbnails/babel.jpg

118 KB
Loading

0 commit comments

Comments
 (0)