Skip to content

Commit 1bd577c

Browse files
fix: table background (#319)
1 parent f4efbb2 commit 1bd577c

File tree

3 files changed

+44
-7
lines changed

3 files changed

+44
-7
lines changed

doc/styles/Vocab/ANSYS/accept.txt

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
ANSYS
2-
Ansys
3-
ansys
4-
Ansys Sphinx Theme
2+
[Aa]nsys
3+
[Ss]phinx
4+
[Tt]heme
55
boolean
66
datatable
77
MeiliSearch
8-
Linkcode
9-
linkcode
8+
[Ll]inkcode
109
link_code_library
1110
link_code_source
1211
link_code_branch
13-
html_context
12+
html_context
13+
HTML
14+
CSS
15+
PDF

src/ansys_sphinx_theme/theme/ansys_sphinx_theme/_templates/autoapi/python/class.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Bases: {% for base in obj.bases %}{{ base|link_objs }}{% if not loop.last %}, {%
5050
{% endif %}
5151

5252
{% if obj.docstring -%}
53-
{{ obj.summary|indent(3) }}
53+
{{ obj.docstring|indent(3) }}
5454
{% endif %}
5555

5656
{% if "inherited-members" in autoapi_options %}

src/ansys_sphinx_theme/theme/ansys_sphinx_theme/static/css/ansys_sphinx_theme.css

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ html[data-theme="light"] {
8888

8989
--pst-color-link: #1e6ddc;
9090
--pst-color-link-hover: #32cfea;
91+
--pst-color-link-visted: #9428f2;
9192
--pst-color-inline-code: #000;
9293
--pst-color-target: rgb(255, 255, 255);
9394

@@ -144,6 +145,7 @@ html[data-theme="dark"] {
144145

145146
--pst-color-link: #579ce5;
146147
--pst-color-link-hover: #12b2e2;
148+
--pst-color-link-visted: #c58af9;
147149
--pst-color-inline-code: #fff;
148150
--pst-color-target: rgb(71, 39, 0);
149151

@@ -1133,3 +1135,36 @@ div#searchbox p.highlight-link a {
11331135
.header-article__inner {
11341136
padding: 0 1rem;
11351137
}
1138+
1139+
.table > :not(caption) > * > * {
1140+
background-color: transparent !important;
1141+
color: var(--pst-color-text-base) !important;
1142+
}
1143+
1144+
nav.bd-links li > a {
1145+
text-decoration: none;
1146+
}
1147+
1148+
.bd-header .navbar-nav li a.nav-link:hover {
1149+
text-decoration: none;
1150+
font-weight: 600;
1151+
}
1152+
1153+
a {
1154+
text-decoration: none;
1155+
}
1156+
1157+
a:active,
1158+
a:visited,
1159+
a:visited:hover,
1160+
a:active:hover,
1161+
a:hover {
1162+
text-decoration: underline;
1163+
color: var(--pst-color-link);
1164+
font-weight: 500;
1165+
}
1166+
1167+
a:visited,
1168+
a:visited:hover {
1169+
color: var(--pst-color-link-visted);
1170+
}

0 commit comments

Comments
 (0)