Skip to content

Commit 772ef6a

Browse files
🐛 BUG: fix double border in deprecated box (#243)
1 parent 236d4c6 commit 772ef6a

File tree

5 files changed

+15
-7
lines changed

5 files changed

+15
-7
lines changed

docs/demo/demo.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,12 @@ Admonitions
459459
error
460460
hint
461461
462+
Deprecated
463+
----------
464+
465+
.. deprecated:: 0.1.1
466+
Something is deprecated, use something else instead.
467+
462468

463469
Topics, Sidebars, and Rubrics
464470
-----------------------------

pydata_sphinx_theme/static/css/index.d431a4ee1c1efae0e38bdfebc22debff.css renamed to pydata_sphinx_theme/static/css/index.e00ebc5fe59cde01733db895d987848c.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pydata_sphinx_theme/static/webpack-macros.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
{% endmacro %}
1717

1818
{% macro head_pre_bootstrap() %}
19-
<link rel="stylesheet" href="{{ pathto('_static/css/index.d431a4ee1c1efae0e38bdfebc22debff.css', 1) }}">
19+
<link rel="stylesheet" href="{{ pathto('_static/css/index.e00ebc5fe59cde01733db895d987848c.css', 1) }}">
2020
{% endmacro %}
2121

2222
{% macro head_js_preload() %}
23-
<link rel="preload" as="script" href="{{ pathto('_static/js/index.30270b6e4c972e43c488.js', 1) }}">
23+
<link rel="preload" as="script" href="{{ pathto('_static/js/index.88dc4f4c5bd3676d55da.js', 1) }}">
2424
{% endmacro %}
2525

2626
{% macro body_post() %}
27-
<script src="{{ pathto('_static/js/index.30270b6e4c972e43c488.js', 1) }}"></script>
27+
<script src="{{ pathto('_static/js/index.88dc4f4c5bd3676d55da.js', 1) }}"></script>
2828
{% endmacro %}

src/scss/index.scss

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,14 @@ $container-max-widths: (
1616
@import './admonitions';
1717

1818
// Custom css, TODO: to be refactored in different partials
19-
.deprecated {
19+
div.deprecated {
2020
margin-bottom: 10px;
2121
margin-top: 10px;
2222
padding: 7px;
23-
background-color: #ffe4e4;
24-
border: 1px solid #f66;
23+
color: #b94a48;
24+
background-color: #F3E5E5;
25+
border: 1px solid #eed3d7;
26+
border-radius: .5rem;
2527

2628
p {
2729
display: inline;

0 commit comments

Comments
 (0)