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

96 lines
1.9 KiB
SCSS
Raw Normal View History

@import "../base/variables";
// 友链
.links {
>ul {
>.friend {
font-size: 1.5rem;
font-weight: bold;
line-height: 2.2rem;
color: #262626;
}
>li {
display: flex;
justify-content: space-between;
font-size: 1rem;
padding-bottom: 0.3rem;
line-height: 1.5rem;
>a {
color: #595959;
&:hover {
color: #59595980;
}
2022-01-19 17:34:41 +08:00
}
}
}
// =========== 深色 ===========
@include darkmode {
>ul {
>.friend {
color: #dbdbdb;
}
2022-01-19 17:34:41 +08:00
>li {
>a {
color: #dbdbdb;
&:hover {
color: #dbdbdb80;
}
}
}
2022-01-19 17:34:41 +08:00
}
}
// =========== 320px 设备 ===========
@media (max-width: 320px) {
>ul {
padding: 2.5% 1%;
>.friend {
padding: 2.5% 0;
text-align: center;
}
>li {
justify-content: center;
padding-bottom: 1%;
}
}
}
2022-01-19 18:53:46 +08:00
// =========== 768px 设备 ===========
@media (min-width: 320px) and (max-width: 768px) {
>ul {
padding: 2.5% 1%;
>.friend {
padding: 2.5% 0;
}
>li {
padding-bottom: 1%;
}
}
}
2022-01-19 21:24:32 +08:00
// =========== 2048px 设备 ===========
@media (min-width: 768px) and (max-width: 2048px) {
>ul {
padding: 0.625rem 0.1rem;
>.friend {
padding: 0.5rem 0;
}
>li {
padding-bottom: 0.3rem;
}
}
}
}