-
Notifications
You must be signed in to change notification settings - Fork 6
/
app.wxss
122 lines (105 loc) · 1.97 KB
/
app.wxss
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
@import './miniprogram_npm/weui-miniprogram/weui-wxss/dist/style/weui.wxss';
/**app.wxss**/
::-webkit-scrollbar {
width: 0;
height: 0;
color: transparent;
}
.sticky {
position: sticky;
top: 0;
}
.container {
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
padding: 0;
box-sizing: border-box;
}
.shadow {
border-radius: 4rpx;
box-shadow: 0 14rpx 0 0 rgba(0, 0, 0, 0.1);
background-color: white;
}
.ellipsis {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.index-post-item {
box-sizing: border-box;
width: 100%;
margin: 0 0 14rpx 0;
padding: 24rpx 32rpx;
}
.index-post-title {
display: block;
font-size: 30rpx;
word-wrap: break-word;
text-decoration: none;
font-weight: bold;
color: black;
}
.index-post-desc {
display: inline-block;
font-size: 24rpx;
margin: 20rpx 0;
color: #8a8a8a;
word-wrap: break-word;
display: -webkit-box;
overflow: hidden;
text-overflow: ellipsis;
white-space: normal !important;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.index-post-info {
display: inline-block;
font-size: 24rpx;
margin: 0;
color: #8a8a8a;
word-wrap: break-word;
overflow: hidden;
text-overflow: ellipsis;
white-space: normal !important;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.index-post-topic {
text-decoration: underline;
}
.index-post-title:hover {
color: #4caf50 !important;
}
.index-post-topic:hover {
color: #4caf50 !important;
}
.main_view {
display: flex;
flex-direction: row;
justify-content: space-around;
width: 100%;
height: 60rpx;
padding-top: 60rpx;
background-color: rgba(0, 0, 0, 0.1);
}
.befor {
width: 200rpx;
height: 1rpx;
background: #8a8a8a;
line-height: 60rpx;
}
.after {
width: 200rpx;
height: 1rpx;
background: #8a8a8a;
line-height: 60rpx;
}
.reason_txt {
position: relative;
margin-top: -20rpx;
color: #8a8a8a;
font-size: 26rpx;
}