Skip to content

Commit 39af76c

Browse files
authored
Rethinking code style (#18)
* Increase the font size. * Adding import of inconsolata font. * Increased size to 15.5px for inline code.
1 parent 3b65ec3 commit 39af76c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

pyansys_sphinx_theme/static/css/theme.css

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/* Provided by the Sphinx base theme template at build time */
22
@import "../basic.css";
3+
@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@600&display=swap');
4+
35

46
@font-face {
57
font-family: "Source Sans Pro Light";
@@ -11,7 +13,6 @@
1113
src: url(../fonts/SourceSansPro-Regular.ttf);
1214
}
1315

14-
1516
:root {
1617
/* Ansys colors */
1718
--ansysGold: 255, 183, 27; /* #FFB71B */
@@ -143,8 +144,9 @@
143144

144145
.docutils {
145146
color: #C89211;
146-
font-family: "Source Code Pro", "Courier New", monospace;
147+
font-family: 'Inconsolata';
147148
font-weight: bold;
149+
font-size: 15.5px;
148150
}
149151

150152
.sig-prename {
@@ -154,7 +156,7 @@
154156

155157
.sig-name.descname {
156158
color: #C89211;
157-
/* font-family: 'Source Sans Pro', sans-serif; */
159+
/* font-family: ' Source Sans Pro', sans-serif; */
158160
}
159161

160162
.sig-name {

0 commit comments

Comments
 (0)