blob: 62e509d863a9b8dc809add4026e8dacf52a140d8 [file] [edit]
/*
* psutil-sphinx-theme: prev / next page navigation at the bottom.
*/
.prev-next {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 16px;
margin-top: 1.5em;
padding: 12px 0 4px;
border-top: 1px solid var(--border);
}
.prev-next-prev,
.prev-next-next {
display: inline-flex;
align-items: center;
gap: 12px;
flex: 1 1 0;
min-width: 0;
color: inherit;
text-decoration: none;
padding: 4px 8px;
border-radius: 4px;
transition: background 0.15s;
}
.prev-next-next {
justify-content: flex-end;
}
.prev-next-prev:hover,
.prev-next-next:hover {
background: var(--bg-hover);
text-decoration: none;
}
/* Push next-only (no prev) to the right edge. */
.prev-next-next:only-child {
margin-left: auto;
}
.prev-next-block {
display: inline-flex;
flex-direction: column;
justify-content: center;
gap: 8px;
line-height: 1.2;
min-width: 0;
}
.prev-next-prev .prev-next-block {
align-items: flex-start;
text-align: left;
}
.prev-next-next .prev-next-block {
align-items: flex-end;
text-align: right;
}
.prev-next-label {
font-size: 0.7rem;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--text-muted);
opacity: 0.85;
}
.prev-next-title {
font-size: 1rem;
font-weight: 400;
color: var(--headings);
overflow-wrap: anywhere;
}
.prev-next-arrow {
display: inline-flex;
align-items: center;
align-self: stretch;
color: var(--text-muted);
font-size: 1.6rem;
line-height: 1;
}