From e5b2bf1704707e7d11cd63beab75a7a12a4c4721 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Fri, 6 Nov 2020 17:36:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20=E6=96=87=E7=AB=A0?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E9=A1=B5=E9=9D=A2=E4=B8=8E=E5=AE=9E=E9=99=85?= =?UTF-8?q?=E6=96=87=E7=AB=A0=E6=A0=87=E9=A2=98=E5=AE=BD=E5=BA=A6=E3=80=81?= =?UTF-8?q?=E6=96=87=E5=AD=97=E5=A4=A7=E5=B0=8F=E4=B8=80=E8=87=B4=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zhihu-Beautification.user.js | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/Zhihu-Beautification.user.js b/Zhihu-Beautification.user.js index e79dd27..2b903a3 100644 --- a/Zhihu-Beautification.user.js +++ b/Zhihu-Beautification.user.js @@ -1,8 +1,8 @@ // ==UserScript== // @name 知乎美化 -// @version 1.0.3 +// @version 1.0.4 // @author X.I.U -// @description 宽屏显示、屏蔽文章开头大图、文章编辑页面与实际文章宽度一致 +// @description 宽屏显示、隐藏文章开头大图、文章编辑页面与实际文章宽度一致 // @match *://www.zhihu.com/* // @match *://zhuanlan.zhihu.com/p/*/edit // @icon https://static.zhihu.com/static/favicon.ico @@ -35,7 +35,7 @@ if (menu_postimg){menu_postimg_ = "√";}else{menu_postimg_ = "×";} - menu_postimg_ID = GM_registerMenuCommand(`[ ${menu_postimg_} ] 屏蔽文章开头大图`, function(){menu_switch(menu_postimg,'xiu2_menu_postimg','屏蔽文章开头大图')}); + menu_postimg_ID = GM_registerMenuCommand(`[ ${menu_postimg_} ] 隐藏文章开头大图`, function(){menu_switch(menu_postimg,'xiu2_menu_postimg','隐藏文章开头大图')}); menu_feedBack_ID = GM_registerMenuCommand('反馈 & 建议', function () {window.GM_openInTab('https://github.com/XIU2/UserScript#xiu2userscript', {active: true,insert: true,setParent: true});}); } @@ -70,7 +70,7 @@ } `, style_2 = ` -/* 屏蔽在各列表中查看文章时开头显示的大图,不影响文章/专栏页面 */ +/* 隐藏在各列表中查看文章时开头显示的大图,不影响文章、专栏页面 */ .RichContent img.ArticleItem-image { display: none !important; } @@ -80,6 +80,11 @@ .PostEditor .RichText { min-width: 690px !important; } +/* 及标题输入框内的文字大小 */ +.WriteIndex-titleInput .Input { + min-width: 690px !important; + font-size: 24px; +} ` var style_Add = document.createElement('style'); if (menu_postimg) {