Skip to content

Commit

Permalink
Add the depreciation styles (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
Revathyvenugopal162 committed Jan 23, 2023
1 parent 89f54dd commit 335ce2a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion doc/source/getting_started/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Consider using the ``conf.py`` for this repository:

.. literalinclude:: ../conf.py
:language: python

.. toctree::
:hidden:
:maxdepth: 2
Expand Down
10 changes: 10 additions & 0 deletions src/ansys_sphinx_theme/static/css/ansys_sphinx_theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -855,4 +855,14 @@ max-width: 220px;
margin-left: auto;
margin-right: auto;
font-family: var(--pst-font-family-base);
}

div.deprecated {
border-color: var(--pst-color-danger);
background-color: #dc354514;
}

div.versionadded {
border-color: var(--pst-color-success);
background: #88ca881f;
}

0 comments on commit 335ce2a

Please sign in to comment.