File: theme_overrides.css

package info (click to toggle)
skimage 0.26.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 32,720 kB
  • sloc: python: 61,600; cpp: 2,592; ansic: 1,591; xml: 1,342; javascript: 1,267; makefile: 135; sh: 16
file content (27 lines) | stat: -rw-r--r-- 840 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* Additional styling for the PyData Sphinx theme. */

/* Avoid "slow" animated scroll when navigating to anchors
May be removed if this is addressed upstream
https://github.com/pydata/pydata-sphinx-theme/issues/2260
*/
:root {
    scroll-behavior: auto;
}

/* Use hyperlink color for grid-item-cards.
TODO find a way to only apply this to grid-item-cards that link somewhere */
.sd-card-title {
    color: var(--pst-color-link);
}

/* Use text base color for hyperlinks in code cells. Pygments "default" theme
doesn't seem to set this color, so the default light blue link color is applied
which has a very low contrast with the background. */
div.highlight a {
    color: var(--pst-color-text-base);
}

/* Stack components in footer vertically. */
.bd-footer .footer-items__end, .bd-footer .footer-items__start {
  flex-direction: row;
}