This repository has been archived on 2024-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
redemption/source/css/pages/_links.scss
7Wate 91bab4d153
refacotr(css): Refactor css for easy maintenance
1. Refactored CSS for robustness
2. Add dark-mode choose
3. Add sans and serif
2022-01-17 19:51:11 +08:00

49 lines
987 B
SCSS

@import "../base/variables";
// 友链
.links {
>ul {
padding: 0.625rem 0.1rem;
>.friend {
font-size: 1.5rem;
font-weight: bold;
line-height: 2.2rem;
padding: 0.5rem 0;
// 浅色
color: #262626;
// 深色
@include darkmode {
color: #dbdbdb;
}
}
>li {
display: flex;
justify-content: space-between;
font-size: 1rem;
padding-bottom: 0.3rem;
line-height: 1.5rem;
>a {
// 浅色
color: #595959;
&:hover {
color: #59595980;
}
// 深色
@include darkmode {
color: #dbdbdb;
&:hover {
color: #dbdbdb80;
}
}
}
}
}
}