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/_journals.scss

76 lines
1.4 KiB
SCSS
Raw Normal View History

@import "../base/variables";
// 日志
.journals {
>.name {
font-size: 1.5rem;
font-weight: bold;
line-height: 2.2rem;
color: #262626;
}
>ul {
>li {
>.content {
font-size: 1rem;
color: #595959;
}
>.info {
display: flex;
justify-content: flex-end;
font-size: 0.75rem;
color: #8c8c8c;
2022-01-19 17:34:41 +08:00
}
}
}
// =========== 深色 ===========
@include darkmode {
>.name {
color: #dbdbdb;
}
>ul {
>li {
>.content {
color: #acacac;
}
2022-01-19 17:34:41 +08:00
>.info {
color: #7d7d7d;
}
}
}
}
2022-01-19 17:34:41 +08:00
// =========== 320px 设备 ===========
@media (max-width: 320px) {
>.name {
padding: 2.5% 0;
text-align: center;
}
>ul {
>li {
padding: 2.5% 0;
>.info {
padding: 1% 0;
}
}
}
}
2022-01-19 18:53:46 +08:00
// =========== 768px 设备 ===========
@media (min-width: 320px) and (max-width: 768px) {
>ul {
>li {
padding: 2.5% 0;
>.info {
padding: 1% 0;
}
}
}
}
}