Debian Codegraph @

src/pydata_sphinx_theme/assets/styles/components/_prev-next.scss

raw
1 /**
2 * Previous / Next navigation buttons
3 **/
4 .prev-next-area {
5 width: 100%;
6
7 p {
8 color: var(--pst-color-text-muted);
9 margin: 0 0.3em;
10 line-height: 1.3em;
11 }
12
13 i {
14 font-size: 1.2em;
15 }
16
17 a {
18 // So that buttons align with icons
19 display: flex;
20 align-items: center;
21 border: none;
22 padding: 10px;
23 max-width: 45%;
24 overflow-x: hidden;
25 color: var(--pst-color-text-muted);
26 text-decoration: none;
27
28 p.prev-next-title {
29 @include link-style-default;
30
31 font-weight: var(--pst-admonition-font-weight-heading);
32 font-size: 1.1em;
33 }
34
35 &:hover,
36 &:visited:hover {
37 p.prev-next-title {
38 @include link-style-hover;
39 }
40 }
41
42 .prev-next-info {
43 flex-direction: column;
44 margin: 0 0.5em;
45
46 .prev-next-subtitle {
47 text-transform: capitalize;
48 }
49 }
50
51 &.left-prev {
52 float: left;
53 }
54
55 &.right-next {
56 float: right;
57
58 div.prev-next-info {
59 text-align: right;
60 }
61 }
62 }
63 }