Skip to content

Commit ada20cf

Browse files
Inline code color changes from pink to black (#126)
* Add inline code theme for bool func * Add inline code block and padding * inline code color
1 parent 8b5e83d commit ada20cf

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

src/ansys_sphinx_theme/static/css/ansys_sphinx_theme.css

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ h1, h2 {
145145
}
146146

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

151151
.docutils {
@@ -167,11 +167,19 @@ code.literal {
167167
}
168168

169169
.xref.std.std-ref {
170-
color: #C89211;
170+
color: var(--pst-color-inline-code);
171171
font-family: 'Inconsolata';
172-
font-weight: bold;
172+
font-weight: normal;
173173
font-style: italic;
174-
font-size: 107%;
174+
padding: .1rem .25rem;
175+
padding-top: 0.1rem;
176+
padding-right: 0.25rem;
177+
padding-bottom: 0.1rem;
178+
padding-left: 0.25rem;
179+
font-size: 90%;
180+
background-color: var(--pst-color-on-surface);
181+
border: 1px solid var(--pst-color-border);
182+
border-radius: .25rem;
175183
}
176184

177185
.sig-prename {

0 commit comments

Comments
 (0)