commit6430e78c16Merge:5855527b13bbc3Author: Dillon <dillonzq@outlook.com> Date: Wed Feb 19 19:31:28 2020 +0800 Merge pull request #84 from dillonzq/fix/duplicated_typeit fix(typeit): fix duplicated typeit bug (#82) commitb13bbc368cAuthor: Dillon <dillonzq@outlook.com> Date: Wed Feb 19 19:25:49 2020 +0800 fix(typeit): fix duplicated typeit bug (#82) commit58555274f5Merge:16320fa02919a7Author: Dillon <dillonzq@outlook.com> Date: Wed Feb 19 18:59:21 2020 +0800 Merge pull request #83 from dillonzq/fix/social_link_href fix(social): fix social link bug (#81) commit02919a7d48Author: Dillon <dillonzq@outlook.com> Date: Wed Feb 19 18:55:40 2020 +0800 fix(social): fix social link bug (#81)
94 lines
1.5 KiB
SCSS
94 lines
1.5 KiB
SCSS
/** pagination **/
|
|
.pagination {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
list-style: none;
|
|
white-space: nowrap;
|
|
width: 100%;
|
|
padding: 1rem 0 0;
|
|
|
|
a {
|
|
-webkit-font-smoothing: antialiased;
|
|
font-size: .8rem;
|
|
color: #bfbfbf;
|
|
letter-spacing: .1rem;
|
|
font-weight: 700;
|
|
padding: 5px 5px;
|
|
text-decoration: none;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
li {
|
|
padding-bottom: 3px;
|
|
margin: 0 20px;
|
|
box-sizing: border-box;
|
|
position: relative;
|
|
display: inline;
|
|
|
|
&.disabled {
|
|
display: none;
|
|
}
|
|
|
|
&:hover a {
|
|
color: $pagination-link-hover-color;
|
|
}
|
|
|
|
.dark-theme &:hover a {
|
|
color: $pagination-link-hover-color-dark;
|
|
}
|
|
|
|
&:before,
|
|
&:after {
|
|
position: absolute;
|
|
content: "";
|
|
width: 0;
|
|
height: 3px;
|
|
background: $pagination-link-hover-color;
|
|
transition: 0.3s;
|
|
bottom: 0px;
|
|
}
|
|
|
|
.dark-theme &:before,
|
|
.dark-theme &:after {
|
|
background: $pagination-link-hover-color-dark;
|
|
}
|
|
|
|
&:before .active,
|
|
&:after .active {
|
|
width: 100%;
|
|
}
|
|
|
|
&:before {
|
|
left: 50%;
|
|
}
|
|
|
|
&:after {
|
|
right: 50%;
|
|
}
|
|
|
|
&:hover {
|
|
|
|
&:before,
|
|
&:after {
|
|
width: 50%;
|
|
}
|
|
}
|
|
|
|
&.active {
|
|
a {
|
|
color: $pagination-link-hover-color;
|
|
}
|
|
|
|
.dark-theme & a {
|
|
color: $pagination-link-hover-color-dark;
|
|
}
|
|
|
|
&:before,
|
|
&:after {
|
|
width: 60%;
|
|
}
|
|
}
|
|
}
|
|
}
|