Skip to content

Commit d505db1

Browse files
committed
update
1 parent ffd04ca commit d505db1

2 files changed

Lines changed: 12 additions & 3 deletions

File tree

ZhihuEnhanced-Time.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name 知乎增强 - 置顶显示发布/编辑时间
3-
// @version 1.0.0
3+
// @version 1.0.1
44
// @description 回答和文章置顶显示发布时间、编辑时间
55
// @author X.I.U
66
// @match *://www.zhihu.com/*
@@ -202,7 +202,7 @@ function people()
202202
$(".QuestionInvitation-content").addClass("hide");
203203
$(".QuestionInvitation-content").hide();
204204

205-
$(".QuestionInvitation-title").html($(".QuestionInvitation-title").text()+'<span style="color:#8590A6;">(点击此处展开/折叠)</span>')
205+
$(".QuestionInvitation-title").html($(".QuestionInvitation-title").text()+'<span style="color: #8590a6;font-size: 14px;"> 展开/折叠</span>')
206206

207207
$(".Topbar").click(function(){
208208

ZhihuEnhanced-Widescreen.user.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,15 @@
1515

1616
(function() {
1717
var style_Add = document.createElement('style');
18-
style_Add.innerHTML = '.GlobalSideBar,.Question-sideColumn,.ContentLayout-sideColumn,.SearchSideBar{display:none;}.Topstory-mainColumn,.Question-mainColumn,.ContentLayout-mainColumn,.SearchMain{width: 1000px;}.ImageMessage-ImageView{z-index:999 !important;}';
18+
style_Add.innerHTML = `
19+
.GlobalSideBar,.Question-sideColumn,.ContentLayout-sideColumn,.SearchSideBar {
20+
display: none;
21+
}
22+
.Topstory-mainColumn,.Question-mainColumn,.ContentLayout-mainColumn,.SearchMain {
23+
width: 1000px;
24+
}
25+
.ImageMessage-ImageView {
26+
z-index: 999 !important;
27+
}`;
1928
document.head.appendChild(style_Add);
2029
})();

0 commit comments

Comments
 (0)