Skip to content

Commit 8f565ec

Browse files
Bump version 0.7.3
1 parent 01d402d commit 8f565ec

File tree

2 files changed

+41
-7
lines changed

2 files changed

+41
-7
lines changed

src/ansys_sphinx_theme/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
from ansys_sphinx_theme.latex import generate_404 # noqa: F401
66

7-
__version__ = "0.7.2"
7+
__version__ = "0.7.3"
88

99
# get location of this directory
1010
_this_path = os.path.dirname(os.path.realpath(__file__))

src/ansys_sphinx_theme/static/css/ansys_sphinx_theme.css

Lines changed: 40 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
--pst-font-family-base: 'Source Sans Pro', sans-serif, var(--pst-font-family-base-system);
3232
--pst-font-family-heading: 'Source Sans Pro', sans-serif, var(--pst-font-family-base-system);
33-
--pst-font-family-monospace: Courier, var(--pst-font-family-monospace-system);
33+
--pst-font-family-monospace: monospace, Courier, var(--pst-font-family-monospace-system);
3434

3535
/*****************************************************************************
3636
* Ansys compatible colors
@@ -206,7 +206,7 @@ dt:target, span.highlighted {
206206

207207
.docutils {
208208
color: var(--pst-color-inline-code);
209-
font-family:var(--font-family-monospace);
209+
font-family:var(--pst-font-family-monospace);
210210
font-weight: 500;
211211
font-size: 87.5%;
212212
}
@@ -304,9 +304,7 @@ p.rubric {
304304

305305
.sd-sphinx-override, .sd-sphinx-override * {
306306
background-color: transparent !important;
307-
font-family: var(--pst-font-family-base)!important;
308307
font-size: medium;
309-
color: var(--pst-color-text-base)!important;
310308
flex: auto;
311309
}
312310

@@ -784,12 +782,12 @@ nav.bd-links li>a {
784782

785783
html[data-theme="light"] .highlight pre {
786784
line-height: 125%;
787-
font-size: 0.98em;
785+
font-size: 0.9em;
788786
}
789787

790788
html[data-theme="dark"] .highlight pre {
791789
line-height: 125%;
792-
font-size: 0.98em;
790+
font-size: 0.9em;
793791
}
794792

795793
.bd-toc {
@@ -817,4 +815,40 @@ html[data-theme="dark"] .highlight pre {
817815
}
818816
table.dataframe {
819817
table-layout: auto !important;
818+
}
819+
820+
.sd-card {
821+
border-radius: 0;
822+
padding: 10px 10px 10px 10px;
823+
font-family: var(--pst-font-family-base)!important;
824+
}
825+
826+
details.sd-dropdown .sd-summary-title {
827+
border: 1px solid var(--pst-color-text-base) !important;
828+
color: var(--sd-color-card-text) !important;
829+
font-family: var(monospace)!important;
830+
font-size: medium;
831+
text-align: left;
832+
padding-left: 1rem;
833+
}
834+
835+
.sd-card .sd-card-text {
836+
font-family: var(--pst-font-family-base)!important;
837+
}
838+
839+
.sd-card .sd-card-header {
840+
border: none;
841+
background-color:white;
842+
color: #150458 !important;
843+
font-size: var(--pst-font-size-h5);
844+
font-weight: bold;
845+
font-family: var(--pst-font-family-base);
846+
padding: .5rem 0rem 0.5rem 0rem;
847+
}
848+
849+
.sd-card .sd-card-footer .sd-card-text {
850+
max-width: 220px;
851+
margin-left: auto;
852+
margin-right: auto;
853+
font-family: var(--pst-font-family-base);
820854
}

0 commit comments

Comments
 (0)