File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 < div class ="container-md markdown-body mb-5 ">
1010 < h1 class ="mb-4 f0-light "> {{ page.title }}</ h1 >
1111 {{ content }}
12- < div class ="mt-4 d-flex gap-2 ">
13- {% if page.previous %}
14- < a href ="{{page.previous.url}} " class ="prev-next-link ">
15- < span class ="prev-next-link__label "> Previous</ span >
16- < span class ="prev-next-link__name "> {{page.previous.subtitle}}</ span >
17- </ a >
18- {% endif %} {% if page.next %}
19- < a href ="{{page.next.url}} " class ="prev-next-link ">
20- < span class ="prev-next-link__label "> Next</ span >
21- < span class ="prev-next-link__name "> {{page.next.subtitle}}</ span >
22- </ a >
23- {% endif %}
12+ < div class ="mt-4 Box ">
13+ < nav class ="paginate-container Box-body " aria-label ="Pagination ">
14+ < div class ="pagination ">
15+ {% if page.previous %}
16+ < span class ="previous_page " aria-disabled ="true "> Previous</ span >
17+ {% else %}
18+ < a class ="previous_page " rel ="previous " href ="{{page.previous.url}} " aria-label ="Previous Page "> Previous</ a >
19+ {% endif %} {% if page.next %}
20+ < span class ="next_page " aria-disabled ="true "> Next</ span >
21+ {% else %}
22+ < a class ="next_page " rel ="next " href ="{{page.next.url}} " aria-label ="Next Page "> Next</ a >
23+ {% endif %}
24+ </ div >
25+ </ nav >
2426 </ div >
2527 </ div >
2628 </ section >
Original file line number Diff line number Diff line change 103103.code-tooltip {
104104 scroll-margin-top : 150px ;
105105}
106-
107- /* Prev next links */
108- .prev-next-link {
109- border-radius : 8px ;
110- border : solid 1px ;
111- padding : 16px ;
112- }
113-
114- .prev-next-link : hover {
115- border-color : var (--color-accent-fg );
116- }
117-
118- .prev-next-link__label {
119- text-transform : uppercase;
120- font-size : 12px ;
121- }
122-
123- .prev-next-link__name {
124- color : red;
125- }
You can’t perform that action at this time.
0 commit comments