引入css

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
/* 首页文章&双栏设置 */
#recent-posts .recent-post-item {
height: 21rem;
flex-direction: column;
margin-bottom: 20px;
}

#recent-posts .recent-post-item:not(:first-child) {
margin-top: unset;
}

#recent-posts>.recent-post-item .post_cover.right {
order: unset;
-webkit-order: unset;
-ms-flex-order: unset;
-o-box-ordinal-group: unset;
-moz-box-ordinal-group: unset;
-webkit-box-ordinal-group: unset;
}

@media screen and (min-width: 769px) {
#recent-posts {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}

#recent-posts .recent-post-item {
width: calc(50% - .5rem);
}
}

#recent-posts>.recent-post-item .post_cover {
position: relative;
height: 75%;
width: 100%;
}

#recent-posts>.recent-post-item>.recent-post-info {
height: 25%;
width: 100%;
padding: .6rem .8rem;
position: relative;
display: flex;
flex-direction: column;
justify-content: space-between;
}

#recent-posts>.recent-post-item>.recent-post-info>.article-title {
order: -1;
-webkit-order: -1;
-ms-flex-order: -1;
-o-box-ordinal-group: -1;
-moz-box-ordinal-group: -1;
-webkit-box-ordinal-group: -1;
}



#recent-posts>.recent-post-item>.recent-post-info>.article-meta-wrap {
color: var(--font-color);
margin: 0;
white-space: nowrap;
display: flex;
justify-content: space-between;
}

#recent-posts>.recent-post-item>.recent-post-info>.article-meta-wrap>.article-meta a {
color: var(--font-color);
padding: .3em;
border-radius: .4em;
}

#recent-posts>.recent-post-item>.recent-post-info>.article-meta-wrap>.article-meta.categories {
border-radius: .4em;
backdrop-filter: var(--backdrop-filter);
background: var(--lee-maskbg);
-webkit-transition: all .3s ease-in-out;
-moz-transition: all .3s ease-in-out;
-ms-transition: all .3s ease-in-out;
-o-transition: all .3s ease-in-out;
transition: all .3s ease-in-out;
}

#recent-posts>.recent-post-item>.recent-post-info>.article-meta-wrap>.article-meta.categories:hover {
background: var(--main);
-webkit-box-shadow: var(--main-shadow);
-moz-box-shadow: var(--main-shadow);
-ms-box-shadow: var(--main-shadow);
-o-box-shadow: var(--main-shadow);
box-shadow: var(--main-shadow);
}

#recent-posts>.recent-post-item>.recent-post-info>.article-meta-wrap>.article-meta.categories:hover a {
color: var(--second);
}