|
1 | 1 | /* Provided by the Sphinx base theme template at build time */
|
2 | 2 | @import "../basic.css";
|
| 3 | +@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@600&display=swap'); |
| 4 | + |
3 | 5 |
|
4 | 6 | @font-face {
|
5 | 7 | font-family: "Source Sans Pro Light";
|
|
11 | 13 | src: url(../fonts/SourceSansPro-Regular.ttf);
|
12 | 14 | }
|
13 | 15 |
|
14 |
| - |
15 | 16 | :root {
|
16 | 17 | /* Ansys colors */
|
17 | 18 | --ansysGold: 255, 183, 27; /* #FFB71B */
|
|
143 | 144 |
|
144 | 145 | .docutils {
|
145 | 146 | color: #C89211;
|
146 |
| - font-family: "Source Code Pro", "Courier New", monospace; |
| 147 | + font-family: 'Inconsolata'; |
147 | 148 | font-weight: bold;
|
| 149 | + font-size: 15.5px; |
148 | 150 | }
|
149 | 151 |
|
150 | 152 | .sig-prename {
|
|
154 | 156 |
|
155 | 157 | .sig-name.descname {
|
156 | 158 | color: #C89211;
|
157 |
| - /* font-family: 'Source Sans Pro', sans-serif; */ |
| 159 | + /* font-family: ' Source Sans Pro', sans-serif; */ |
158 | 160 | }
|
159 | 161 |
|
160 | 162 | .sig-name {
|
|
166 | 168 | i.fa-github-square:before {
|
167 | 169 | color: #ffffff !important;
|
168 | 170 | }
|
| 171 | + |
| 172 | +/* Increase empty-space around classes, methods, properties, etc. that are descendants |
| 173 | + of other items */ |
| 174 | +dl.class dl.py { |
| 175 | + margin-top: 2.5em; |
| 176 | + margin-bottom: 2.5em; |
| 177 | +} |
| 178 | + |
| 179 | +/* Reduce empty-space around Notes and Examples headings */ |
| 180 | +p.rubric { |
| 181 | + margin-top: 0.75em; |
| 182 | + margin-bottom: 0.75em; |
| 183 | +} |
| 184 | + |
| 185 | + |
| 186 | + |
| 187 | +/* |
| 188 | +############### |
| 189 | + table |
| 190 | +############### |
| 191 | +*/ |
| 192 | + |
| 193 | +table { |
| 194 | + width:100%; |
| 195 | + max-width: 100%; |
| 196 | + border-spacing: 0; |
| 197 | + border-collapse: collapse; |
| 198 | + overflow: hidden; |
| 199 | + vertical-align: middle; |
| 200 | + |
| 201 | + /* Disabling scroll bars */ |
| 202 | + overflow-y: scroll; |
| 203 | + scrollbar-width: none; /* Firefox */ |
| 204 | + -ms-overflow-style: none; /* Internet Explorer 10+ */ |
| 205 | + } |
| 206 | + |
| 207 | +tr { |
| 208 | + background-color: white; |
| 209 | +} |
| 210 | + |
| 211 | +th { |
| 212 | + background-color: rgb(255, 183, 27, 0.55); |
| 213 | +} |
| 214 | + |
| 215 | +tr:nth-child(odd){ |
| 216 | + background-color: white; |
| 217 | +} |
| 218 | + |
| 219 | +tr:nth-child(even){ |
| 220 | +background-color: rgb(255, 183, 27, 0.15); |
| 221 | +} |
| 222 | + |
| 223 | +/* |
| 224 | +##################### |
| 225 | + Table-centered |
| 226 | +##################### |
| 227 | +Same as table but with horizontally centered text. |
| 228 | +
|
| 229 | +
|
| 230 | +Use as: |
| 231 | +
|
| 232 | +.. table:: |
| 233 | + :class: table-centered |
| 234 | +
|
| 235 | + +---------------------------+-------------------+ |
| 236 | + | | MAPDL Command | |
| 237 | + +===========================+===================+ |
| 238 | + | **GUI commands** | * ``*ASK`` | |
| 239 | + | +-------------------+ |
| 240 | + | ... |
| 241 | + | ... |
| 242 | +
|
| 243 | +
|
| 244 | +*/ |
| 245 | +table.table-centered { |
| 246 | + width:100%; |
| 247 | + max-width: 100%; |
| 248 | + border-spacing: 0; |
| 249 | + border-collapse: collapse; |
| 250 | + overflow: hidden; |
| 251 | + vertical-align: middle; |
| 252 | + text-align: center; |
| 253 | + |
| 254 | + /* Disabling scroll bars */ |
| 255 | + overflow-y: scroll; |
| 256 | + scrollbar-width: none; /* Firefox */ |
| 257 | + -ms-overflow-style: none; /* Internet Explorer 10+ */ |
| 258 | + } |
| 259 | + |
| 260 | +.table-centered tr { |
| 261 | + background-color: white; |
| 262 | + text-align: center; |
| 263 | +} |
| 264 | + |
| 265 | +.table-centered th { |
| 266 | + background-color: rgb(255, 183, 27, 0.55); |
| 267 | + text-align: center; |
| 268 | +} |
| 269 | + |
| 270 | +.table-centered tr:nth-child(odd){ |
| 271 | + text-align: center; |
| 272 | + background-color: white; |
| 273 | +} |
| 274 | + |
| 275 | +.table-centered tr:nth-child(even){ |
| 276 | + background-color: rgb(255, 183, 27, 0.15); |
| 277 | + text-align: center; |
| 278 | +} |
| 279 | + |
| 280 | + |
| 281 | +/* |
| 282 | +############### |
| 283 | + longtable |
| 284 | +############### |
| 285 | +*/ |
| 286 | + |
| 287 | +table.longtable tr:hover td { |
| 288 | + background-color: rgb(255, 183, 27, 0.6); |
| 289 | +} |
| 290 | + |
| 291 | +/* |
| 292 | +######################### |
| 293 | + longtable-centered |
| 294 | +######################### |
| 295 | +
|
| 296 | +Use as: |
| 297 | +
|
| 298 | +
|
| 299 | +.. table:: |
| 300 | + :class: longtable-centered |
| 301 | +
|
| 302 | + +---------------------------+-------------------+ |
| 303 | + | | MAPDL Command | |
| 304 | + +===========================+===================+ |
| 305 | + | **GUI commands** | * ``*ASK`` | |
| 306 | + | +-------------------+ |
| 307 | + | ... |
| 308 | + | ... |
| 309 | +
|
| 310 | +*/ |
| 311 | + |
| 312 | +table.longtable-centered { |
| 313 | + text-align: center; |
| 314 | + } |
| 315 | + |
| 316 | +.longtable-centered tr { |
| 317 | + text-align: center; |
| 318 | +} |
| 319 | + |
| 320 | +.longtable-centered th { |
| 321 | + text-align: center; |
| 322 | +} |
| 323 | + |
| 324 | +.longtable-centered tr:nth-child(odd){ |
| 325 | + text-align: center; |
| 326 | +} |
| 327 | + |
| 328 | +.longtable-centered tr:nth-child(even){ |
| 329 | + text-align: center; |
| 330 | +} |
| 331 | + |
| 332 | +table.longtable-centered tr:hover td { |
| 333 | + background-color: rgb(255, 183, 27, 0.6); |
| 334 | + text-align: center; |
| 335 | +} |
| 336 | + |
| 337 | +/* |
| 338 | +############## |
| 339 | + DataFrame |
| 340 | +############## |
| 341 | +Not sure why the odd columns (white) are rendered gray. |
| 342 | +
|
| 343 | +I do not think we will be able to call this class. |
| 344 | +*/ |
| 345 | + |
| 346 | +.dataframe tr{ |
| 347 | + background-color: white; |
| 348 | + } |
| 349 | + |
| 350 | +.dataframe tr:nth-child(odd){ |
| 351 | + background-color: white !important; |
| 352 | + } |
| 353 | + |
| 354 | +.dataframe tr:nth-child(even){ |
| 355 | + background-color: rgb(255, 183, 27, 0.15); |
| 356 | +} |
| 357 | + |
| 358 | +.dataframe tr:hover td { |
| 359 | + background-color: rgb(255, 183, 27, 0.6); |
| 360 | +} |
| 361 | + |
| 362 | + |
| 363 | +/* |
| 364 | +######################### |
| 365 | + DataFrame-centered |
| 366 | +######################### |
| 367 | +Not sure why the odd columns (white) are rendered gray. |
| 368 | +
|
| 369 | +I do not think we will be able to call this class. |
| 370 | +*/ |
| 371 | + |
| 372 | +.dataframe-centered tr{ |
| 373 | + background-color: white; |
| 374 | + text-align: center; |
| 375 | + } |
| 376 | + |
| 377 | +.dataframe-centered tr:nth-child(odd){ |
| 378 | + background-color: white !important; |
| 379 | + text-align: center; |
| 380 | + } |
| 381 | + |
| 382 | +.dataframe-centered tr:nth-child(even){ |
| 383 | + background-color: rgb(255, 183, 27, 0.15); |
| 384 | + text-align: center; |
| 385 | +} |
| 386 | + |
| 387 | +.dataframe-centered tr:hover td { |
| 388 | + background-color: rgb(255, 183, 27, 0.6); |
| 389 | + text-align: center; |
| 390 | +} |
| 391 | + |
| 392 | +.dataframe thead th { |
| 393 | + text-align: center; |
| 394 | +} |
| 395 | + |
| 396 | + |
| 397 | + |
| 398 | +/* |
| 399 | +############### |
| 400 | + Autosummary |
| 401 | +############### |
| 402 | +*/ |
| 403 | +/* .autosummary { |
| 404 | + text-align: left; |
| 405 | + } */ |
| 406 | + |
| 407 | +.autosummary tr:nth-child(odd){ |
| 408 | + background-color: white; |
| 409 | + } |
| 410 | + |
| 411 | +.autosummary tr:nth-child(even){ |
| 412 | + background-color: white; |
| 413 | +} |
| 414 | + |
| 415 | + |
| 416 | + |
| 417 | + |
0 commit comments