148
|
1 // ==UserScript==
|
|
2 // @name Kakuyomu serif webfont
|
|
3 // @namespace https://nanaya.net
|
|
4 // @match https://kakuyomu.jp/works/*
|
149
|
5 // @version 1.0.1
|
148
|
6 // @description Use webfont for serif text in Kakuyomu
|
|
7 // @author nanaya
|
|
8 // @grant GM_addStyle
|
149
|
9 // @run-at document-start
|
148
|
10 // @downloadURL https://hg.nanaya.net/ec-userscripts/raw-file/tip/kakuyomu-serif-webfont.user.js
|
|
11 // ==/UserScript==
|
|
12
|
|
13 'use strict';
|
|
14
|
|
15 /* global GM_addStyle */
|
|
16 GM_addStyle(`
|
|
17 @import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap');
|
149
|
18 .widget-episodeBody.widget-episodeBody {
|
148
|
19 font-family: 'Noto Serif JP', serif;
|
|
20 }
|
|
21 `);
|