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

88 lines
1.6 KiB
SCSS
Raw Normal View History

/*
*
* 日志
*
* 按照顺序
* 1.默认
* 2.深色
* 3.媒体查询
*
*/
@import "../base/variables";
.journals {
>.name {
font-size: 1.5rem;
font-weight: bold;
line-height: 2.2rem;
color: #262626;
}
>ul {
>li {
>.content {
font-size: 1rem;
2022-01-21 11:25:35 +08:00
line-height: 1.5rem;
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
// =========== 移动端 ===========
@media (max-width: 870px) {
2022-01-19 21:24:32 +08:00
>.name {
padding: 2.5% 0;
text-align: center;
}
2022-01-19 18:53:46 +08:00
>ul {
>li {
padding: 2.5% 0;
>.info {
padding: 1% 0;
}
}
}
}
2022-01-19 21:24:32 +08:00
// =========== 桌面端 ===========
@media (min-width: 870px) {
2022-01-19 21:24:32 +08:00
>.name {
padding: 0.5rem 0;
}
>ul {
>li {
2022-09-14 19:47:11 +08:00
list-style-type: none;
2022-01-19 21:24:32 +08:00
padding: 1rem 0.1rem;
>.info {
padding: 1rem 0;
}
}
}
}
}