File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ <h1 data-toc-skip>{{ page.title }}</h1>
8686 < div class ="pl-1 pr-1 pl-sm-2 pr-sm-2 pl-md-4 pr-md-4 ">
8787 {% include related-posts.html %}
8888
89- < div class ="post-pager d-flex justify-content-between ">
89+ < div class ="post-navigation d-flex justify-content-between ">
9090 {% if page.previous.url %}
9191 < a href ="{{ site.baseurl }}{{ page.previous.url }} " class ="btn btn-outline-primary ">
9292 < p > {{ page.previous.title }}</ p >
@@ -104,7 +104,7 @@ <h1 data-toc-skip>{{ page.title }}</h1>
104104 < p > -</ p >
105105 {% endif %}
106106 </ a >
107- </ div > <!-- div.post-pager -->
107+ </ div > <!-- div.post-navigation -->
108108
109109 {% if site.disqus.comments and page.comments %}
110110 {% include disqus.html %}
Original file line number Diff line number Diff line change 2222 font-size : 0.85rem ;
2323}
2424
25- .post-pager {
26- border-top : 1px double #e9ecef ;
27- border-bottom : 1px double #e9ecef ;
25+ .post-navigation {
2826 padding : 1rem .2rem ;
2927 margin-bottom : 2rem ;
3028}
3129
32- .post-pager .btn ,
33- .post-pager .btn.disabled {
34- width : calc (50% - .5rem );
30+ .post-navigation .btn ,
31+ .post-navigation .btn.disabled {
32+ width : 50% ;
33+ position : relative ;
3534 color : #2a408e ;
36- border-color : #2a408e ;
35+ border-color : #e9ecef ;
3736}
3837
39- .post-pager .btn :hover {
38+ .post-navigation .btn :hover {
4039 background : #2a408e ;
4140 color : #fff ;
41+ border-color : #2a408e ;
4242}
4343
44- .post-pager a .btn.disabled {
44+ .post-navigation a .btn.disabled {
4545 pointer-events : auto ;
4646 cursor : not-allowed ;
4747 background : none ;
4848 color : gray ;
49- border-color : gray ;
49+ border-color : #e9ecef ;
50+ }
51+
52+ .post-navigation a .btn.btn-outline-primary.disabled :focus {
53+ box-shadow : none ;
5054}
5155
52- .post-pager a > p {
56+ .post-navigation a > p {
57+ font-size : 1.1rem ;
5358 font-weight : 600 ;
5459 line-height : 1.2rem ;
5560 margin-top : .3rem ;
5661 white-space : normal ;
5762}
5863
59- .post-pager a ::before {
64+ .post-navigation a :first-child {
65+ border-top-right-radius : 0 ;
66+ border-bottom-right-radius : 0 ;
67+ left : .5px ;
68+ }
69+
70+ .post-navigation a :last-child {
71+ border-top-left-radius : 0 ;
72+ border-bottom-left-radius : 0 ;
73+ right : .5px ;
74+ }
75+
76+ .post-navigation a ::before {
6077 color : gray ;
61- font-size : .85 rem ;
78+ font-size : .65 rem ;
6279 text-transform : uppercase ;
6380}
6481
65- .post-pager a :first-child ::before {
66- content : " previous " ;
82+ .post-navigation a :first-child ::before {
83+ content : " Older " ;
6784}
6885
69- .post-pager a :last-child ::before {
70- content : " next " ;
86+ .post-navigation a :last-child ::before {
87+ content : " Newer " ;
7188}
7289
7390@keyframes fade-up {
212229 transform : translateX (-50% );
213230 }
214231
215- .post-pager {
232+ .post-navigation {
216233 padding-left : 0 ;
217234 padding-right : 0 ;
218235 }
You can’t perform that action at this time.
0 commit comments