forked from diff-usion/Awesome-Diffusion-Models
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
75 lines (61 loc) · 1.07 KB
/
style.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
/* Show it is fixed to the top */
body {
padding-top: 4.5rem;
}
/* sidebar */
.bd-sidebar {
-ms-flex-order: 0;
order: 0;
}
@media (min-width: 768px) {
@supports ((position:-webkit-sticky) or (position:sticky)) {
.bd-sidebar {
position: -webkit-sticky;
position: sticky;
top: 4.5rem;
z-index: 1000;
height: calc(100vh - 4.5rem)
}
}
}
/*
* Footer
*/
.blog-footer {
padding: 2rem 0;
color: #727272;
text-align: center;
background-color: #f9f9f9;
border-top: .05rem solid #e5e5e5;
}
.blog-footer p:last-child {
margin-bottom: 0;
}
/*
* flex
*/
.list-item-flex {
flex: 1;
overflow: hidden;
}
.list-item-flex .paper-main {
flex: 1;
word-break: break-word; /*重点加这句,换行*/
}
.list-item-flex .paper-date {
flex: 0 0 95px;
}
.paper-date-inner {
display: block;
}
.paper-date {
display: none;
}
@media (min-width: 768px) {
.paper-date-inner {
display: none;
}
.paper-date {
display: block;
}
}