|
14 | 14 | }
|
15 | 15 |
|
16 | 16 | :root {
|
17 |
| - /* Ansys colors */ |
18 |
| - --ansysGold: 255, 183, 27; /* #FFB71B */ |
19 |
| - --ansysBronze: 200, 146, 17; /* #C89211 */ |
20 |
| - --pythonBlue: 57, 114, 161; /* #3972a1 */ |
21 |
| - |
22 |
| - |
23 |
| - /***************************************************************************** |
24 |
| - * Theme config |
25 |
| - **/ |
26 |
| - --pst-header-height: 60px; |
27 |
| - |
28 |
| - /***************************************************************************** |
29 |
| - * Font size |
30 |
| - **/ |
31 |
| - --pst-font-size-base: 15px; /* base font size - applied at body / html level */ |
32 |
| - |
33 |
| - /* heading font sizes */ |
34 |
| - --pst-font-size-h1: 36px; |
35 |
| - --pst-font-size-h2: 32px; |
36 |
| - --pst-font-size-h3: 26px; |
37 |
| - --pst-font-size-h4: 21px; |
38 |
| - --pst-font-size-h5: 18px; |
39 |
| - --pst-font-size-h6: 16px; |
40 |
| - |
41 |
| - /* smaller then heading font sizes*/ |
42 |
| - --pst-font-size-milli: 12px; |
43 |
| - |
44 |
| - --pst-sidebar-font-size: .9em; |
45 |
| - --pst-sidebar-caption-font-size: .9em; |
| 17 | + /* Ansys specific changes to the theme */ |
46 | 18 |
|
47 | 19 | /*****************************************************************************
|
48 |
| - * Font family |
| 20 | + * Ansys Font family |
49 | 21 | **/
|
50 | 22 | /* These are adapted from https://systemfontstack.com/ */
|
51 | 23 | --pst-font-family-base-system: -apple-system, BlinkMacSystemFont, Segoe UI, "Helvetica Neue",
|
|
57 | 29 | --pst-font-family-heading: 'Source Sans Pro', sans-serif, var(--pst-font-family-base-system);
|
58 | 30 | --pst-font-family-monospace: Courier, var(--pst-font-family-monospace-system);
|
59 | 31 |
|
60 |
| - /* --pst-font-family-base: var(--pst-font-family-base-system); */ |
61 |
| - /* --pst-font-family-heading: var(--pst-font-family-base); */ |
62 |
| - /* --pst-font-family-monospace: var(--pst-font-family-monospace-system); */ |
63 |
| - |
64 | 32 | /*****************************************************************************
|
65 |
| - * Color |
| 33 | + * Ansys compatible colors |
66 | 34 | *
|
67 | 35 | * Colors are defined in rgb string way, "red, green, blue"
|
68 | 36 | **/
|
69 |
| - --pst-color-primary: 19, 6, 84; |
70 |
| - --pst-color-success: 40, 167, 69; |
71 |
| - --pst-color-info: 0, 123, 255; /*23, 162, 184;*/ |
72 |
| - --pst-color-warning: 255, 193, 7; |
73 |
| - --pst-color-danger: 220, 53, 69; |
74 |
| - --pst-color-text-base: 51, 51, 51; |
75 |
| - |
76 |
| - --pst-color-h1: 57, 114, 161; /*pythonBlue*/ |
77 |
| - --pst-color-h2: 57, 114, 161; /*pythonBlue*/ |
78 |
| - --pst-color-h3: 57, 114, 161; /*pythonBlue*/ |
79 |
| - --pst-color-h4: 57, 114, 161; /*pythonBlue*/ |
80 |
| - --pst-color-h5: 57, 114, 161; /*pythonBlue*/ |
81 |
| - --pst-color-h6: 57, 114, 161; /*pythonBlue*/ |
82 |
| - --pst-color-paragraph: var(--pst-color-text-base); |
83 |
| - --pst-color-link: 0, 91, 129; |
84 |
| - --pst-color-link-hover: 227, 46, 0; |
85 |
| - --pst-color-headerlink: 198, 15, 15; |
86 |
| - --pst-color-headerlink-hover: 255, 255, 255; |
87 |
| - --pst-color-preformatted-text: 34, 34, 34; |
88 |
| - --pst-color-preformatted-background: 250, 250, 250; |
89 |
| - --pst-color-inline-code: 232, 62, 140; |
| 37 | + --ansysGold: 255, 183, 27; /* #FFB71B */ |
| 38 | + --ansysBronze: 200, 146, 17; /* #C89211 */ |
| 39 | + --pythonBlue: 57, 114, 161; /* #3972a1 */ |
90 | 40 |
|
91 | 41 | --pst-color-active-navigation: 200, 146, 17; /* --ansysBronze */
|
92 | 42 | --pst-color-navbar-link: 255, 255, 255;
|
93 | 43 | --pst-color-navbar-link-hover: 255, 183, 27; /* --ansysBronze */
|
94 | 44 | --pst-color-navbar-link-active: 255, 183, 27; /* --ansysBronze */
|
95 | 45 |
|
96 |
| - --pst-color-sidebar-link: 77, 77, 77; |
97 |
| - --pst-color-sidebar-link-hover: var(--pst-color-active-navigation); |
98 |
| - --pst-color-sidebar-link-active: var(--pst-color-active-navigation); |
99 |
| - --pst-color-sidebar-expander-background-hover: 255, 183, 27; /* --ansysGold */ |
100 |
| - --pst-color-sidebar-caption: 77, 77, 77; |
101 |
| - --pst-color-toc-link: 119, 117, 122; |
102 |
| - --pst-color-toc-link-hover: var(--pst-color-active-navigation); |
103 |
| - --pst-color-toc-link-active: var(--pst-color-active-navigation); |
104 |
| - |
105 |
| - /***************************************************************************** |
106 |
| - * Icon |
107 |
| - **/ |
108 |
| - |
109 |
| - /* font awesome icons*/ |
110 |
| - --pst-icon-check-circle: '\f058'; |
111 |
| - --pst-icon-info-circle: '\f05a'; |
112 |
| - --pst-icon-exclamation-triangle: '\f071'; |
113 |
| - --pst-icon-exclamation-circle: '\f06a'; |
114 |
| - --pst-icon-times-circle: '\f057'; |
115 |
| - --pst-icon-lightbulb: '\f0eb'; |
116 |
| - |
117 |
| - /***************************************************************************** |
118 |
| - * Admonitions |
119 |
| - **/ |
120 |
| - |
121 |
| - --pst-color-admonition-default: var(--pst-color-info); |
122 |
| - --pst-color-admonition-note: var(--pst-color-info); |
123 |
| - --pst-color-admonition-attention: var(--pst-color-warning); |
124 |
| - --pst-color-admonition-caution: var(--pst-color-warning); |
125 |
| - --pst-color-admonition-warning: var(--pst-color-warning); |
126 |
| - --pst-color-admonition-danger: var(--pst-color-danger); |
127 |
| - --pst-color-admonition-error: var(--pst-color-danger); |
128 |
| - --pst-color-admonition-hint: var(--pst-color-success); |
129 |
| - --pst-color-admonition-tip: var(--pst-color-success); |
130 |
| - --pst-color-admonition-important: var(--pst-color-success); |
131 |
| - |
132 |
| - --pst-icon-admonition-default: var(--pst-icon-info-circle); |
133 |
| - --pst-icon-admonition-note: var(--pst-icon-info-circle); |
134 |
| - --pst-icon-admonition-attention: var(--pst-icon-exclamation-circle); |
135 |
| - --pst-icon-admonition-caution: var(--pst-icon-exclamation-triangle); |
136 |
| - --pst-icon-admonition-warning: var(--pst-icon-exclamation-triangle); |
137 |
| - --pst-icon-admonition-danger: var(--pst-icon-exclamation-triangle); |
138 |
| - --pst-icon-admonition-error: var(--pst-icon-times-circle); |
139 |
| - --pst-icon-admonition-hint: var(--pst-icon-lightbulb); |
140 |
| - --pst-icon-admonition-tip: var(--pst-icon-lightbulb); |
141 |
| - --pst-icon-admonition-important: var(--pst-icon-exclamation-circle); |
142 |
| - |
143 | 46 | }
|
144 | 47 |
|
145 | 48 | .docutils {
|
|
0 commit comments