Debian Codegraph @

src/pydata_sphinx_theme/assets/styles/content/_quotes.scss

raw
1 // GitHub blockquote style
2 blockquote {
3 padding: 1em;
4 color: var(--pst-color-text-muted);
5 border-left: 0.25em solid var(--pst-color-blockquote-notch);
6 border-radius: $admonition-border-radius;
7 position: relative;
8
9 p {
10 color: var(--pst-color-text-base);
11 }
12
13 // remove padding from included line-block to avoid duplication
14 .line-block {
15 margin: 0;
16 }
17
18 // remove margin bottom for the last p
19 p:last-child {
20 margin-bottom: 0;
21 }
22
23 @include legacy-backdrop-placeholder;
24
25 background-color: var(--pst-color-surface);
26
27 // Ensure there is enough contrast against the background
28 a {
29 color: var(--pst-color-link-higher-contrast);
30 }
31
32 // hack to make the text in the blockquote selectable
33 &::before {
34 z-index: -1;
35 }
36 }