Skip to content

Commit e9a4b29

Browse files
authored
Bring back CSS attributes for code-block-caption
1 parent 779f8b9 commit e9a4b29

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

python_docs_theme/static/pydoctheme.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,13 @@ div.body {
284284
}
285285

286286
div.code-block-caption {
287+
background-color: #eee;
288+
border: 1px solid #ac9;
289+
border-bottom: none;
290+
border-radius: 3px 3px 0 0;
291+
padding: 0.3em 0.6em;
292+
font-size: 90%;
293+
color: #333;
287294
& + div pre {
288295
border-top-left-radius: 0 !important;
289296
border-top-right-radius: 0 !important;

0 commit comments

Comments
 (0)