Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline code color changes from pink to black #126

Merged
merged 4 commits into from
Oct 3, 2022
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 17 additions & 5 deletions src/ansys_sphinx_theme/static/css/ansys_sphinx_theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ html[data-theme="light"] {

--pst-color-link:#1E6DDC;
--pst-color-link-hover:#32cfea;
--pst-color-inline-code: #CD186D;
--pst-color-inline-code: #000;
--pst-color-target: rgb(255, 255, 255);
/* color for sphinx-gallery-code output*/
--pst-color-codeout: #fafae2;
Expand Down Expand Up @@ -125,7 +125,7 @@ html[data-theme="dark"] {

--pst-color-link: #0088CC;
--pst-color-link-hover:#32cfea;
--pst-color-inline-code: rgb(221, 158, 194);
--pst-color-inline-code: #fff;
--pst-color-target: rgb(71, 39, 0);
/* color for sphinx-gallery-code output*/
--pst-color-codeout: #6c757d;
Expand All @@ -144,6 +144,10 @@ h1, h2 {
color: #ddd;
}

dt:target, span.highlighted {
background-color: var(--pst-color-border)!important;
}

.docutils {
color: var(--pst-color-inline-code);
font-family:var(--font-family-monospace);
Expand All @@ -163,11 +167,19 @@ code.literal {
}

.xref.std.std-ref {
color: #C89211;
color: var(--pst-color-inline-code);
font-family: 'Inconsolata';
font-weight: bold;
font-weight: normal;
font-style: italic;
font-size: 107%;
padding: .1rem .25rem;
padding-top: 0.1rem;
padding-right: 0.25rem;
padding-bottom: 0.1rem;
padding-left: 0.25rem;
font-size: 90%;
background-color: var(--pst-color-on-surface);
border: 1px solid var(--pst-color-border);
border-radius: .25rem;
}

.sig-prename {
Expand Down