mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-25 12:23:44 +03:00
53 lines
818 B
SCSS
53 lines
818 B
SCSS
![]() |
.pagination .nav-links {
|
||
|
text-align: center;
|
||
|
|
||
|
.page-numbers {
|
||
|
background-color: #f9f9f9;
|
||
|
cursor: hand;
|
||
|
display: inline-block;
|
||
|
min-width: 2em;
|
||
|
padding: 8px;
|
||
|
|
||
|
&.next,
|
||
|
&.prev,
|
||
|
&.dots {
|
||
|
background: none;
|
||
|
font-size: 0.9em;
|
||
|
width: auto;
|
||
|
}
|
||
|
&.dots {
|
||
|
cursor: inherit;
|
||
|
}
|
||
|
|
||
|
@include breakpoint( 0, $ms-breakpoint ) {
|
||
|
&.prev,
|
||
|
&.next {
|
||
|
font-size: 0;
|
||
|
min-width: initial;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
&.prev:before,
|
||
|
&.next:after {
|
||
|
background-color: #f9f9f9;
|
||
|
display: inline-block;
|
||
|
font-size: ms( 0 );
|
||
|
line-height: 1.5;
|
||
|
min-width: 2em;
|
||
|
padding: 8px;
|
||
|
}
|
||
|
|
||
|
&.prev:before {
|
||
|
content: '\2039'; /* ‹ */
|
||
|
}
|
||
|
|
||
|
&.next:after {
|
||
|
content: '\203A'; /* › */
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
span.page-numbers {
|
||
|
background-color: #f7f7f7;
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
}
|