pagination nav refactoring, only miss pages display in text

This commit is contained in:
2020-07-22 13:03:03 +02:00
parent 2c7b8004f5
commit def83059ed
4 changed files with 216 additions and 122 deletions
+8 -7
View File
@@ -472,7 +472,8 @@ section[role="main-content"]{
$w:3em;
width:$w; height:0;
margin-left:calc(100% - (#{$w} * 0.5));
&:before, &:after{
// &:before
&:after{
display: block;
position: absolute;
font-size: 0.630em;
@@ -483,13 +484,13 @@ section[role="main-content"]{
color: $bleuroi;
text-indent: $w + 0.5em;
}
&:before{
content:attr(data-num-prev);
border-bottom: 1px solid $bleuroilight;
bottom: 0.1em;
}
// &:before{
// content:attr(data-num-prev);
// border-bottom: 1px solid $bleuroilight;
// bottom: 0.1em;
// }
&:after{
content:attr(data-num);
content:attr(title);
border-top: 1px solid $bleuroilight;
top:0.1em;
}