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/layout/_comment.scss

67 lines
1.2 KiB
SCSS
Raw Normal View History

2022-01-19 17:34:41 +08:00
// 评论容器
.comment {
2022-01-19 17:34:41 +08:00
// =========== 移动端 ===========
@media (max-width: 870px) {
2022-02-09 17:45:14 +08:00
width: 99%;
2022-01-19 17:34:41 +08:00
margin: 5% 0;
}
2022-01-19 18:53:46 +08:00
2022-11-01 16:39:08 +08:00
// =========== 适配端 ===========
@media (min-width: 870px) and (max-width: 1440px) {
width: 71.8vw;
margin-top: 18.48vh;
padding-bottom: 7vh;
}
// =========== 桌面端 ===========
2022-11-01 16:39:08 +08:00
@media (min-width: 1440px){
2022-01-19 21:24:32 +08:00
margin-top: 2rem;
width: 61.8vw;
2022-01-19 21:24:32 +08:00
}
}
// 评论、首页按钮
.post-bottom-menu {
display: flex;
justify-content: space-around;
border-top: 1px solid #e7e7e7;
>a {
color: #262626;
&:hover {
color: #595959;
}
2022-01-19 17:34:41 +08:00
}
// =========== 深色 ===========
2022-01-19 17:34:41 +08:00
@include darkmode {
border-top: 1px solid #e7e7e7;
>a {
color: #b6b6b6;
2022-01-19 17:34:41 +08:00
&:hover {
color: #434343;
}
}
2022-01-19 18:53:46 +08:00
}
2022-01-19 21:24:32 +08:00
// =========== 移动端 ===========
@media (max-width: 870px) {
margin-top: 5%;
2022-01-19 18:53:46 +08:00
padding-top: 5%;
width: 80%;
2022-01-19 17:34:41 +08:00
}
2022-01-19 21:24:32 +08:00
// =========== 桌面端 ===========
@media (min-width: 870px){
2022-01-19 21:24:32 +08:00
padding-top: 2rem;
width: 77%;
2022-01-19 21:24:32 +08:00
}
2022-01-19 17:34:41 +08:00
}
2022-01-19 17:34:41 +08:00
.close {
display: none;
}