refacotr(css): Refactor css for easy maintenance
1. Refactored CSS for robustness 2. Add dark-mode choose 3. Add sans and serif
This commit is contained in:
24
source/css/pages/layout/_pagenav.scss
Normal file
24
source/css/pages/layout/_pagenav.scss
Normal file
@@ -0,0 +1,24 @@
|
||||
// 分页
|
||||
.pagenav {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 2rem 0;
|
||||
|
||||
>a {
|
||||
text-decoration: none;
|
||||
margin: 0 2rem;
|
||||
color: #262626;
|
||||
|
||||
&:hover {
|
||||
color: #595959;
|
||||
}
|
||||
|
||||
@include darkmode {
|
||||
color: #b6b6b6;
|
||||
|
||||
&:hover {
|
||||
color: #434343;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user