惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 司徒正美
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
腾讯CDC
WordPress大学
WordPress大学
爱范儿
爱范儿
GbyAI
GbyAI
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 聂微东
Google DeepMind News
Google DeepMind News
Recent Announcements
Recent Announcements
Latest news
Latest news
Last Week in AI
Last Week in AI
V2EX - 技术
V2EX - 技术
I
InfoQ
N
News | PayPal Newsroom
SecWiki News
SecWiki News
Microsoft Azure Blog
Microsoft Azure Blog
美团技术团队
T
Troy Hunt's Blog
H
Hacker News: Front Page
S
SegmentFault 最新的问题
TaoSecurity Blog
TaoSecurity Blog
V
Visual Studio Blog
Martin Fowler
Martin Fowler
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园_首页
S
Security @ Cisco Blogs
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
小众软件
小众软件
L
LangChain Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
T
Tor Project blog
L
LINUX DO - 热门话题
月光博客
月光博客
S
Schneier on Security
Y
Y Combinator Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
P
Proofpoint News Feed
Forbes - Security
Forbes - Security
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Hugging Face - Blog
Hugging Face - Blog
A
Arctic Wolf
Webroot Blog
Webroot Blog
博客园 - 叶小钗
F
Fortinet All Blogs
S
Securelist
AI
AI
B
Blog RSS Feed
Security Latest
Security Latest

星空下的YZY

【生活随笔】终于可以试一试new Bing了 指定日期网页自动变灰 【学习记录】微信小程序tabBar与自定义navigationBar踩坑记录 这小小破站(摸鱼)一周年啦 【个人记录参考】Vue3搭建项目 【学习记录】CSS动画 【随笔】将备案接入服务商转为腾讯云 正则表达式 【随笔】模拟退火 【随笔】博弈题基础回顾 live2d-widget(看板娘)修改及部署至服务器 【生活随笔】又是一年226,祝自己生日快乐 【杂记】各类零碎笔记(不定期更新) 使用JDBC操作数据库 Java读写txt文件 Hexo中使用ECharts动态图表尝试 【随笔】通过必应的工具发现别的网站未经允许的转载 【暂不公开】YZY的ACM模板整理-java版 更换Butterfly主题及其美化记录
友链朋友圈4.X.X前端适配尝试【基于店长Akilar的旧版方案】
星空下的YZY · 2022-02-08 · via 星空下的YZY

原来我是使用冰老师的前端方案,但是前天晚上我看见友链朋友圈的版本已经更新到4.0.0了,于是我进行了更新,回来发现冰老师的方案不能用了,还好店长Akilar的前端方案还留着,但是有些布局和配色,跟我的博客不太搭(另外移动端我还是希望能看到作者的信息,以免标题党);更新时间显示的不是北京时间;另外今天下午我发现按文章生成时间排序的功能好像失效了。然后大佬好像还没出新方案,那么我干脆一不做二不休,自己动手改了🤣

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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
 @font-face {
font-family: 'SAOUI';
src: url("https://cdn.jsdelivr.net/npm/akilar-candyassets/fonts/SAOUI.ttf");
font-display: swap;
}
#fMessageBoard {
font-size: 20px;
background: rgba(249,249,249,0.8);
color: rgba(60,60,61,0.7);
border-radius: 5px;
font-weight: bolder;
box-shadow: 2px 2px 10px #888;
font-family: 'SAOUI' !important;
width: 90%;
max-width: 810px;
margin: auto;
height: 260px;
overflow: hidden;
}
#fMessageBoard .fUpdatedTime {
text-align: center;
height: 40px;
}
#fMessageBoard .fMessageItem {
background: rgba(207,207,207,0.8);
box-shadow: 0px 0px 15px #bcbcbc inset;
}
#fMessageBoard .fMessageItem .fItem {
height: 60px;
background: transparent;
display: flex;
}
#fMessageBoard .fMessageItem .fItem .fLabel {
padding: 0 3%;
align-self: center;
text-align: center;
width: 25%;
overflow: hidden;
}
#fMessageBoard .fMessageItem .fItem .fMeasureBar {
align-self: center;
text-align: center;
height: 20px;
width: 50%;
display: block;
background: rgba(117,117,117,0.6);
border-radius: 5px;
overflow: hidden;
display: block;
box-shadow: 2px 2px 5px rgba(21,21,21,0.6);
}
#fMessageBoard .fMessageItem .fItem .fMeasureBar .fMeasure {
display: block;
height: 20px;
text-align: center;
font-size: 12px;
}
#fMessageBoard .fMessageItem .fItem .fMessage {
align-self: center;
text-align: center;
padding: 0 3%;
width: 25%;
}
#fMessageBoard #switchRankBtn {
width: auto;
max-width: 250px;
height: 40px;
display: flex;
text-align: center;
margin: auto;
flex-direction: row;
flex-wrap: wrap;
align-content: space-around;
justify-content: space-around;
}
#fMessageBoard #switchRankBtn #rankByCreated {
font-size: 20px;
height: 30px;
width: 80px;
display: inline-block;
padding: 2px 5px;
}
#fMessageBoard #switchRankBtn #rankByUpdated {
font-size: 20px;
height: 30px;
width: 80px;
display: inline-block;
padding: 2px 5px;
}
#fMessageBoard #switchRankBtn input#switchRankMode[type=checkbox] {
display: none;
}
#fMessageBoard #switchRankBtn label#switchRank {
cursor: pointer;
text-indent: -9999px;
width: 40px;
height: 20px;
margin: 15px 0px;
background: #f39c39;
display: inline-block;
border-radius: 10px;
position: relative;
}
#fMessageBoard #switchRankBtn label#switchRank:after {
content: '';
position: absolute;
top: 2px;
left: 2px;
width: 16px;
height: 16px;
background: #fff;
border-radius: 8px;
transition: 0.3s;
}
#fMessageBoard #switchRankBtn label#switchRank:active:after {
width: 50px;
}
#fMessageBoard #switchRankBtn input#switchRankMode:checked + label {
background: #239eeb;
}
#fMessageBoard #switchRankBtn input#switchRankMode:checked + label:after {
left: calc(100% - 2px);
transform: translateX(-100%);
}
#fcircleMoreBtn {
width: 90%;
max-width: 810px;
height: 30px;
margin: auto;
background: rgba(249,249,249,0.8);
color: rgba(60,60,61,0.7);
box-shadow: 2px 2px 10px #888;
border-radius: 5px;
font-weight: bolder;
text-align: center;
display: flex;
flex-direction: column;
justify-content: space-around;
}
#fcircleContainer {
font-family: 'SAOUI' !important;
width: 100%;
max-width: 900px;
height: auto;
margin: auto;
}
#fcircleContainer a {
text-decoration: none;
}
#fcircleContainer a:hover {
text-decoration: none !important;
}
#fcircleContainer .fArticleItem {
margin: 20px 5%;
height: 150px;
display: flex;
background: rgba(249,249,249,0.8);
color: rgba(60,60,61,0.7);
border-radius: 5px;
font-weight: bolder;
box-shadow: 2px 2px 10px #888;
overflow: hidden;
}
#fcircleContainer .fArticleItem:hover {
color: rgba(0, 0, 0, 0.7);
transition: transform .3s;
webkit-transform: scale(1.3);
transform: scale(1.03)
}
#fcircleContainer .fArticleItem .fArticleAvatar {
width: 30%;
display: flex;
flex-direction: column;
}
#fcircleContainer .fArticleItem .fArticleAvatar .fAvatar {
align-self: center;
text-align: center;
height: 70%;
}

#fcircleContainer .fArticleItem .fArticleAvatar .fAvatar img {
width: 75px;
height: 75px;
margin: 15px 5px !important;
border-radius: 25px;
}
#fcircleContainer .fArticleItem .fArticleAvatar .fAvatar .img-alt.is-center {
display: none;
}
#fcircleContainer .fArticleItem .fArticleAvatar .fArticleAuthor {
width: 80%;
margin: 3px 0px;
align-self: center;
text-align: center;
transform: skewX(-10deg);
height: 40px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
#fcircleContainer .fArticleItem .fArticleMessage {
display: flex;
flex-direction: column;
width: 70%;
}
#fcircleContainer .fArticleItem .fArticleMessage a.fArticleTitle {
align-self: center;
text-align: center;
font-size: 20px;
line-height: 50px;
max-width: 80%;
padding: 0;
color: rgba(60,60,61,0.7);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
#fcircleContainer .fArticleItem .fArticleMessage a.fArticleTitle:hover:before {
position: fixed;
width: fit-content;
max-width: 80%;
margin: auto;
left: 0;
right: 0;
top: 20%;
border-radius: 10px;
text-align: center;
z-index: 100;
content: attr(data-title);
font-size: 20px;
color: #fff;
padding: 10px;
background-color: rgba(60,60,61,0.7);
white-space: break-spaces;
}
#fcircleContainer .fArticleItem .fArticleMessage .fArticleTime {
width: 100%;
height: 100px;
text-align: center;
display: flex;
}
#fcircleContainer .fArticleItem .fArticleMessage .fArticleTime .fArticleCreated {
width: 40%;
margin: 5% 0% 5% 10%;
text-align: center;
align-self: center;
padding: 15px 0;
}
#fcircleContainer .fArticleItem .fArticleMessage .fArticleTime .fArticleUpdated {
width: 40%;
margin: 5% 10% 5% 0%;
text-align: center;
align-self: center;
padding: 15px 0;
}
#fcircleContainer .fArticleItem .fArticleMessage .fArticleTime i:before {
margin-right: 5px;
}
@media screen and (max-width: 768px) {
#fMessageBoard {
font-size: 16px;
}
}
@media screen and (max-width: 400px) {

#fcircleContainer .fArticleItem .fArticleMessage .fArticleTime i {
display: none;
}
#fcircleContainer .fArticleItem .fArticleAvatar .fAvatar {
height: 70%;
}
#fMessageBoard {
font-size: 12px;
}
#fMessageBoard #switchRankBtn #rankByCreated {
font-size: 12px;
}
#fMessageBoard #switchRankBtn #rankByUpdated {
font-size: 12px;
}
#fcircleContainer .fArticleItem .fArticleAvatar {

}
#fcircleContainer .fArticleItem .fArticleAvatar .fArticleAuthor {
width: 100%;
}
#fcircleContainer .fArticleItem .fArticleMessage {
width: 70%;
}
#fcircleContainer .fArticleItem .fArticleMessage a.fArticleTitle:hover:before {
font-size: 16px;
}


#fcircleContainer .fArticleItem {
height: 125px;
}
#fcircleContainer .fArticleItem .fArticleMessage a.fArticleTitle {
line-height: 5;
width: 100%;
height: 80%;
}
#fcircleContainer .fArticleItem .fArticleMessage .fArticleTime {
width: 100%;
height: 50px;
text-align: center;
display: flex;
}




}
@media screen and (max-width: 300px) {
#fMessageBoard .fUpdatedTime span.fLabel {
display: none;
}
#fMessageBoard .fMessageItem .fItem .fLabel {
width: 50%;
}
#fMessageBoard .fMessageItem .fItem meter.fMeasureBar {
display: none;
}
#fMessageBoard .fMessageItem .fItem .fMessage {
width: 50%;
}
#fMessageBoard span#rankByCreated {
display: none !important;
}
#fMessageBoard span#rankByUpdated {
display: none !important;
}



#fcircleContainer .fArticleItem .fArticleAvatar {
display: none;
}


#fcircleContainer .fArticleItem .fArticleMessage {
width: 100%;
}
}
[data-theme="dark"] #fMessageBoard {
background: rgba(21,21,21,0.7);
color: rgba(249,249,249,0.8);
box-shadow: 0px 0px 5px rgba(102,218,215,0.5);
}
[data-theme="dark"] #fMessageBoard .fMessageItem {
background: rgba(21,21,21,0.7);
box-shadow: 0px 0px 5px rgba(222,221,174,0.5) inset;
}
[data-theme="dark"] #fMessageBoard #switchRankBtn input#switchRankMode[type=checkbox] {
display: none;
}
[data-theme="dark"] #fMessageBoard #switchRankBtn label#switchRank {
background: #f39c39;
}
[data-theme="dark"] #fMessageBoard #switchRankBtn label#switchRank:after {
background: rgba(21,21,21,0.7);
}
[data-theme="dark"] #fMessageBoard #switchRankBtn input#switchRankMode:checked + label {
background: #239eeb;
}
[data-theme="dark"] #fcircleMoreBtn {
background: rgba(21,21,21,0.7);
color: rgba(249,249,249,0.8);
box-shadow: 2px 2px 5px rgba(102,218,215,0.5);
}
[data-theme="dark"] #fcircleMoreBtn:hover {
box-shadow: 0px 0px 2px rgba(102,218,215,0.5);
}
[data-theme="dark"] #fcircleContainer .fArticleItem {
background: rgba(21,21,21,0.7);
color: rgba(249,249,249,0.8);
box-shadow: 2px 2px 5px rgba(102,218,215,0.5);
}
[data-theme="dark"] #fcircleContainer .fArticleItem:hover {
box-shadow: 0px 0px 2px rgba(102,218,215,0.5);
}
[data-theme="dark"] #fcircleContainer .fArticleItem .fArticleMessage a.fArticleTitle {
color: rgba(249,249,249,0.8);
}
[data-theme="dark"] #fcircleContainer .fArticleItem .fArticleMessage a.fArticleTitle:hover:before {
color: rgba(60,60,61,0.7);
background-color: rgba(249,249,249,0.8);
}




.img-alt.is-center::before {content: "" !important;}
#article-container ul > li:not(.tab)::before {
top: unset !important;
width: unset !important;
height: unset !important;
border: unset !important;
border-radius: unset !important;
background: unset !important;
content: unset !important;
line-height: unset !important;
}
.social-share {
font-size: 0.85em !important;
}
.reward-item {
padding: 1rem .5rem 0 .5rem !important;
}
.post-reward .reward-main .reward-all {
display: inline-block;
margin: 0;
padding: 0 .5rem 1rem .5rem !important;
}
.post-reward .post-qr-code-desc {
margin-bottom: 0 !important;
}
.post-qr-code-img.entered.loaded {
display: unset !important;
margin: unset !important;
}
.wechat-qrcode .help p {
margin: unset !important;
}