Commit 287fd07 1 parent c4b05bf commit 287fd07 Copy full SHA for 287fd07
File tree 2 files changed +37
-36
lines changed
src/ansys_sphinx_theme/theme/ansys_sphinx_theme/static/css
2 files changed +37
-36
lines changed Original file line number Diff line number Diff line change @@ -101,42 +101,6 @@ html[data-theme="dark"] .highlight pre {
101
101
color : var (--pst-color-text-base ) !important ;
102
102
}
103
103
104
- /*
105
- #################################
106
- Right side toctree color and font
107
- #################################
108
- */
109
- .toc-entry a .nav-link {
110
- padding : 0.125rem 1.5rem ;
111
- color : var (--pst-color-link );
112
- }
113
-
114
- .toc-entry a .nav-link .active {
115
- font-weight : bold;
116
- color : var (--pst-color-text-base );
117
- background-color : transparent;
118
- border-left : 2px solid var (--pst-color-text-muted );
119
- }
120
-
121
- .toc-h2 {
122
- font-size : 0.98rem ;
123
- padding : 0.05em ;
124
- }
125
-
126
- .toc-h3 {
127
- font-size : 0.96rem ;
128
- }
129
-
130
- .toc-h4 {
131
- font-size : 0.9rem ;
132
- }
133
-
134
- .toc-entry a .nav-link : hover {
135
- color : var (--pst-color-link );
136
- text-decoration : none;
137
- font-weight : 600 ;
138
- }
139
-
140
104
/*
141
105
###########
142
106
Directives
Original file line number Diff line number Diff line change @@ -333,6 +333,7 @@ html[data-theme="light"] #pst-back-to-top {
333
333
color : var (--pst-color-sig );
334
334
}
335
335
336
+ /* highlighted objects inside the api reference */
336
337
dt : target ,
337
338
span .highlighted {
338
339
background-color : var (--pst-color-codecell ) !important ;
@@ -344,3 +345,39 @@ dl.class dl.py {
344
345
margin-top : 2.5em ;
345
346
margin-bottom : 2.5em ;
346
347
}
348
+
349
+ /*
350
+ #################################
351
+ Right side toctree color and font
352
+ #################################
353
+ */
354
+ .toc-entry a .nav-link {
355
+ padding : 0.125rem 1.5rem ;
356
+ color : var (--pst-color-link );
357
+ }
358
+
359
+ .toc-entry a .nav-link .active {
360
+ font-weight : bold;
361
+ color : var (--pst-color-text-base );
362
+ background-color : transparent;
363
+ border-left : 2px solid var (--pst-color-text-muted );
364
+ }
365
+
366
+ .toc-h2 {
367
+ font-size : 0.98rem ;
368
+ padding : 0.05em ;
369
+ }
370
+
371
+ .toc-h3 {
372
+ font-size : 0.96rem ;
373
+ }
374
+
375
+ .toc-h4 {
376
+ font-size : 0.9rem ;
377
+ }
378
+
379
+ .toc-entry a .nav-link : hover {
380
+ color : var (--pst-color-link );
381
+ text-decoration : none;
382
+ font-weight : 600 ;
383
+ }
You can’t perform that action at this time.
0 commit comments