/*
*
* 文章
* 按照顺序
* 1.默认
* 2.深色
* 3.媒体查询
*/
@import "../base/variables";
.post {
>.title {
>h1 {
>a {
letter-spacing: 0.0625rem;
font-size: 2rem;
line-height: 2rem;
color: #262626;
&:hover {
color: #26262680;
}
>.info {
display: flex;
border-bottom: 1px solid #d9d9d9;
margin-bottom: 1rem;
>span {
font-weight: 400;
font-size: 0.75rem;
color: #8c8c8c;
i {
position: relative;
top: 0.125rem;
// =========== 深色 ===========
@include darkmode {
color: #dbdbdb;
color: #dbdbdb80;
border-bottom: 1px solid #434343;
span {
color: #7d7d7d;
// =========== 移动端 ===========
@media (max-width: 870px) {
margin-top: 10%;
>.info{
flex-direction: column;
>span{
padding: 1% 1%;
// =========== 桌面端 ===========
@media (min-width: 870px){
margin-top: 4rem;
flex-direction: row;
margin: 0.25rem 0.25rem;