mirror of
https://github.com/0xrsydn/idx-cli.git
synced 2026-11-07 09:45:36 +00:00
fix(web): compact prev/next links on docs pages
Starlight's pagination cards use a 2xl title, a shadow and 1rem padding, which outweighs the page content above them. Shrink them to a small label over a base-size title. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ep2qFFvuFEnBvLpoLxxdEi
This commit is contained in:
parent
0859c00020
commit
a047112737
1 changed files with 19 additions and 0 deletions
|
|
@ -40,3 +40,22 @@
|
|||
.sl-markdown-content code:not(:where(.not-content *)) {
|
||||
font-size: 0.875em;
|
||||
}
|
||||
|
||||
/* Prev/next links: Starlight's are card-sized with a 2xl title; keep them compact. */
|
||||
.pagination-links {
|
||||
gap: 0.75rem;
|
||||
}
|
||||
.pagination-links > a {
|
||||
padding: 0.625rem 0.875rem;
|
||||
box-shadow: none;
|
||||
font-size: var(--sl-text-xs);
|
||||
color: var(--sl-color-gray-3);
|
||||
line-height: 1.4;
|
||||
}
|
||||
.pagination-links .link-title {
|
||||
font-size: var(--sl-text-base);
|
||||
font-weight: 600;
|
||||
}
|
||||
.pagination-links svg {
|
||||
--sl-icon-size: 1rem !important;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue