Skip to content

Commit 87f1017

Browse files
committed
🎨 Colorize the "important" admonition blocks
1 parent f19c07d commit 87f1017

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

‎MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ exclude noxfile.py
2222

2323
recursive-include src/pip/_vendor *.pem
2424
recursive-include src/pip/_vendor py.typed
25-
recursive-include docs Makefile *.rst *.py *.bat
25+
recursive-include docs *.css *.rst *.py
2626

2727
exclude src/pip/_vendor/six
2828
exclude src/pip/_vendor/six/moves
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.admonition.important {
2+
background-color: rgb(219, 250, 244);
3+
border: 1px solid rgb(26, 188, 156);
4+
}
5+
6+
.admonition.important>.admonition-title {
7+
color: rgb(26, 188, 156);
8+
}

‎docs/html/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@
181181
# Add any paths that contain custom static files (such as style sheets) here,
182182
# relative to this directory. They are copied after the builtin static files,
183183
# so a file named "default.css" will overwrite the builtin "default.css".
184-
html_static_path = []
184+
html_static_path = ['_static']
185185

186186
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
187187
# using the given strftime format.

0 commit comments

Comments
 (0)