Skip to content

Commit

Permalink
🐛 BUG: fix double border in deprecated box (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisvandenbossche authored Sep 4, 2020
1 parent 236d4c6 commit 772ef6a
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 7 deletions.
6 changes: 6 additions & 0 deletions docs/demo/demo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,12 @@ Admonitions
error
hint
Deprecated
----------

.. deprecated:: 0.1.1
Something is deprecated, use something else instead.


Topics, Sidebars, and Rubrics
-----------------------------
Expand Down

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions pydata_sphinx_theme/static/webpack-macros.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
{% endmacro %}

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

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

{% macro body_post() %}
<script src="{{ pathto('_static/js/index.30270b6e4c972e43c488.js', 1) }}"></script>
<script src="{{ pathto('_static/js/index.88dc4f4c5bd3676d55da.js', 1) }}"></script>
{% endmacro %}
8 changes: 5 additions & 3 deletions src/scss/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ $container-max-widths: (
@import './admonitions';

// Custom css, TODO: to be refactored in different partials
.deprecated {
div.deprecated {
margin-bottom: 10px;
margin-top: 10px;
padding: 7px;
background-color: #ffe4e4;
border: 1px solid #f66;
color: #b94a48;
background-color: #F3E5E5;
border: 1px solid #eed3d7;
border-radius: .5rem;

p {
display: inline;
Expand Down

0 comments on commit 772ef6a

Please sign in to comment.