Skip to content

Commit ea17053

Browse files
committed
[Docs Site] Adopt new pagination styling
1 parent 8b4c6ad commit ea17053

File tree

2 files changed

+36
-4
lines changed

2 files changed

+36
-4
lines changed

src/components/overrides/Footer.astro

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,6 @@ if (
154154
margin-top: 0 !important;
155155
}
156156

157-
:global(.pagination-links) {
158-
margin-top: 3rem !important;
159-
}
160-
161157
.feedback-prompt {
162158
h2 {
163159
color: var(--sl-color-white);

src/styles/pagination.css

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
.pagination-links {
2+
display: flex !important;
3+
justify-content: space-between;
4+
margin-top: 3rem;
5+
6+
& > a {
7+
flex-basis: unset;
8+
flex-grow: unset;
9+
width: fit-content;
10+
11+
padding: unset;
12+
border: unset;
13+
box-shadow: unset;
14+
15+
&[rel="prev"] {
16+
text-align: right;
17+
}
18+
19+
&[rel="next"] {
20+
text-align: left;
21+
}
22+
23+
& > span {
24+
font-size: 0.75rem;
25+
26+
.link-title {
27+
font-size: 1rem;
28+
}
29+
}
30+
31+
& > svg {
32+
align-self: self-end;
33+
color: theme("colors.cl1.brand.orange");
34+
}
35+
}
36+
}

0 commit comments

Comments
 (0)