Skip to content

Commit 335ce2a

Browse files
Add the depreciation styles (#182)
1 parent 89f54dd commit 335ce2a

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

doc/source/getting_started/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Consider using the ``conf.py`` for this repository:
2828

2929
.. literalinclude:: ../conf.py
3030
:language: python
31-
31+
3232
.. toctree::
3333
:hidden:
3434
:maxdepth: 2

src/ansys_sphinx_theme/static/css/ansys_sphinx_theme.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -855,4 +855,14 @@ max-width: 220px;
855855
margin-left: auto;
856856
margin-right: auto;
857857
font-family: var(--pst-font-family-base);
858+
}
859+
860+
div.deprecated {
861+
border-color: var(--pst-color-danger);
862+
background-color: #dc354514;
863+
}
864+
865+
div.versionadded {
866+
border-color: var(--pst-color-success);
867+
background: #88ca881f;
858868
}

0 commit comments

Comments
 (0)