微信读书电脑版更改字体

您所在的位置:网站首页 微信支付界面的字体怎么改不了 微信读书电脑版更改字体

微信读书电脑版更改字体

2024-06-03 13:46:44| 来源: 网络整理| 查看: 265

微信读书电脑版,在网页上看书比手机上看舒服多了。最近又租校色仪校了一下显示器的色彩。只是微信读书 PC 版只能改字体大小,不能更改字体。于是写了一个 Tampermonkey 脚本,更改了几行 CSS,前景色和背景色参照 iBooks,字体也设定为楷体加粗。Mac OS + Firefox + Tampermonkey 测试通过。

// ==UserScript== // @name WeRead // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author Lonely // @match https://weread.qq.com/web/reader/* // @grant GM_addStyle // ==/UserScript== GM_addStyle("*{font-family: Kaiti,STKaiti,FangSong, SimSun; !important;}"); GM_addStyle(".readerTopBar{font-family: SourceHanSerifCN-Bold !important;}"); GM_addStyle(".bookInfo_title{font-family: SourceHanSerifCN-Bold !important;}"); GM_addStyle(".readerTopBar_title_link{font-family: SourceHanSerifCN-Bold; !important; font-weight:bold !important;}"); GM_addStyle(".readerTopBar_title_chapter{font-family: SourceHanSerifCN-Bold !important;}"); GM_addStyle(".wr_whiteTheme .renderTargetContainer .renderTargetContent .wr_readerImage_opacity {background-color: rgba(249,243,232,100) !important;}"); GM_addStyle(".wr_whiteTheme .renderTargetContainer .renderTargetContent .wr_readerBackground_opacity{background-color: rgba(249,243,232,100) !important;}"); GM_addStyle(".wr_readerBackground_opacity, .wr_readerImage_opacity {opacity: 0.2 !important;}"); GM_addStyle(".wr_whiteTheme .readerContent .app_content{background-color: rgba(249,243,232,100) !important;}"); GM_addStyle(".readerChapterContent{color: rgba(94,64,40,100) !important;}"); GM_addStyle(".readerChapterContent{font-weight: bold !important;}"); (function() { 'use strict'; // Your code here... })();

2021-08-05 修改版

// ==UserScript== // @name WeRead // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @author Lonely // @match https://weread.qq.com/web/reader/* // @grant GM_addStyle // ==/UserScript== /* 字体 */ GM_addStyle("*{font-family: '方正宋三简体',FZS3JW,SourceHanSerifCN-Medium,Kaiti,STKaiti,FangSong, SimSun; !important;}"); /* app_content */ GM_addStyle(".app_content{padding:0,100; !important;}"); /* 顶部工具栏 */ GM_addStyle(".readerTopBar{max-width:100%; font-family: SourceHanSerifCN-Bold !important;}"); /* 书标题 */ GM_addStyle(".readerTopBar_title .readerTopBar_title_link{font-family: SourceHanSerifCN-Bold; !important; font-weight:bold !important;}"); /* 当前章节标题 */ GM_addStyle(".readerTopBar_title .readerTopBar_title_chapter{font-family: SourceHanSerifCN-Bold !important;}"); /* 去书架查看 */ GM_addStyle(".readerTopBar_actions .addShelfItem{font-family: SourceHanSerifCN-Bold !important;}"); /* 背影色 */ GM_addStyle(".wr_whiteTheme .renderTargetContainer .renderTargetContent .wr_readerImage_opacity {background-color: rgba(249,243,232,100) !important;}"); GM_addStyle(".wr_whiteTheme .renderTargetContainer .renderTargetContent .wr_readerBackground_opacity{background-color: rgba(249,243,232,100) !important;}"); GM_addStyle(".wr_readerBackground_opacity, .wr_readerImage_opacity {opacity: 0.2 !important;}"); /* 配图不透明度 边框 */ GM_addStyle("img.wr_readerImage_opacity {opacity: 1.0 !important;border:5px solid #ccc; margin:5px; padding:5px;}"); GM_addStyle(".wr_whiteTheme .readerContent .app_content{background-color: rgba(249,243,232,100) !important;}"); GM_addStyle(".readerChapterContent{color: rgba(94,64,40,100) !important;}"); GM_addStyle(".readerChapterContent{font-weight: normal !important;}"); /* 笔记 */ GM_addStyle(".readerNotePanel .selectionListItem{border:5px solid #f00; font-family: '方正聚珍新仿简体';!important;}"); /* 目录 */ GM_addStyle(".readerCatalog h2.readerCatalog_bookInfo_title .readerCatalog_bookInfo_title_txt{font-family: '方正聚珍新仿简体',SourceHanSerifCN-Bold !important;}"); GM_addStyle(".readerCatalog ul.readerCatalog_list li.chapterItem span.chapterItem_text{font-family: '方正聚珍新仿简体',SourceHanSerifCN-Light !important;}"); GM_addStyle(".readerCatalog ul.readerCatalog_list li.chapterItem_current{border:5px solid #ccc; font-family: '方正聚珍新仿简体',SourceHanSerifCN-Bold !important;}"); GM_addStyle(".readerCatalog ul.readerCatalog_list li.chapterItem_current span.chapterItem_text{font-family: '方正聚珍新仿简体',SourceHanSerifCN-Bold !important;}"); /* 下一页 */ GM_addStyle(".readerFooter .readerFooter_button {font-family: SourceHanSerifCN-Bold !important;}"); (function() { 'use strict'; /* 100% 宽度 */ //document.getElementsByClassName("app_content")[0].style.width="100%"; //document.getElementsByClassName("app_content")[0].style.maxWidth="100%"; /* 顶部工具条 想要让它左右各有 100 的 margin 或 padding 但总不成功*/ //document.getElementsByClassName("readerTopbar")[0].style.width="100%"; //document.getElementsByClassName("readerTopbar")[0].style.maxWidth="100%"; /* 内容容器 */ //document.getElementsByClassName("renderTargetContainer")[0].style.width="100%"; //document.getElementsByClassName("renderTargetContainer")[0].style.maxWidth="100%"; /* 内容 */ //document.getElementsByClassName("renderTargetContent")[0].style.width="100%"; //document.getElementsByClassName("renderTargetContent")[0].style.maxWidth="100%"; })();



【本文地址】

公司简介

联系我们

今日新闻


点击排行

实验室常用的仪器、试剂和
说到实验室常用到的东西,主要就分为仪器、试剂和耗
不用再找了,全球10大实验
01、赛默飞世尔科技(热电)Thermo Fisher Scientif
三代水柜的量产巅峰T-72坦
作者:寞寒最近,西边闹腾挺大,本来小寞以为忙完这
通风柜跟实验室通风系统有
说到通风柜跟实验室通风,不少人都纠结二者到底是不
集消毒杀菌、烘干收纳为一
厨房是家里细菌较多的地方,潮湿的环境、没有完全密
实验室设备之全钢实验台如
全钢实验台是实验室家具中较为重要的家具之一,很多

推荐新闻


图片新闻

实验室药品柜的特性有哪些
实验室药品柜是实验室家具的重要组成部分之一,主要
小学科学实验中有哪些教学
计算机 计算器 一般 打孔器 打气筒 仪器车 显微镜
实验室各种仪器原理动图讲
1.紫外分光光谱UV分析原理:吸收紫外光能量,引起分
高中化学常见仪器及实验装
1、可加热仪器:2、计量仪器:(1)仪器A的名称:量
微生物操作主要设备和器具
今天盘点一下微生物操作主要设备和器具,别嫌我啰嗦
浅谈通风柜使用基本常识
 众所周知,通风柜功能中最主要的就是排气功能。在

专题文章

    CopyRight 2018-2019 实验室设备网 版权所有 win10的实时保护怎么永久关闭